Community Profile

# Alexandria Ziegler

Last seen: alrededor de 1 mes ago Active since 2021

#### Content Feed

View by

Solved

Area of square
Find the area of a square whose diagonal length is given as x.

alrededor de 1 mes ago

Solved

Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

alrededor de 1 mes ago

Solved

Determine the square root
Determine the square root of the value the user has entered, n.

alrededor de 1 mes ago

Solved

Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

alrededor de 1 mes ago

Solved

Sum the rows
Sum the rows of the given matrix. Example x = [ 1 2 3 4 ] y = [ 3 7 ]

alrededor de 1 mes ago

Solved

Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

alrededor de 1 mes ago

Solved

Square a Number
Given an input x, return y, which is equal to the square of x.

alrededor de 1 mes ago

Solved

Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

alrededor de 1 mes ago

Solved

Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

alrededor de 1 mes ago

Solved

Max of a Vector
Write a function to return the max of a vector

alrededor de 1 mes ago

Solved

Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

alrededor de 1 mes ago

Solved

Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

alrededor de 1 mes ago

Solved

Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

alrededor de 1 mes ago

Solved

Area of rhombus
Calculate the rhombus area

alrededor de 1 mes ago

Solved

Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

alrededor de 1 mes ago

Solved

Calculate the sum of two numbers. Example input = [2 3] output = 5

alrededor de 1 mes ago

Solved

Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

alrededor de 1 mes ago

Solved

length of a vector
Find twice the length of a given vector.

alrededor de 1 mes ago

Solved

Concatenate two strings
Its very easy. Just concatenate two strings.

alrededor de 1 mes ago

Solved

Find max
Find the maximum value of a given vector or matrix.

alrededor de 1 mes ago

Solved

Create the equation: y=(3x)^2+(5x)+35 and compute y for various values of x

alrededor de 1 mes ago

Solved

prime test
find largest 2 digit prime number

alrededor de 1 mes ago

Solved

Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

alrededor de 1 mes ago

Solved

Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

alrededor de 1 mes ago

Solved

Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

alrededor de 1 mes ago

Solved

Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

alrededor de 1 mes ago

Solved

Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2

alrededor de 1 mes ago

Solved

Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

alrededor de 1 mes ago

Solved

calculate the length of matrix
input 1 array, calculate the length

alrededor de 2 meses ago

Solved

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

alrededor de 2 meses ago