Gelöst


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

etwa 4 Jahre vor

Gelöst


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

etwa 4 Jahre vor

Gelöst


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

etwa 4 Jahre vor

Gelöst


Convert degrees to radians
Given input in degrees, output to radians

etwa 4 Jahre vor

Gelöst


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

etwa 4 Jahre vor

Gelöst


square root
Find the square root (y) of an input (x).

etwa 4 Jahre vor

Gelöst


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

etwa 4 Jahre vor

Gelöst


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

etwa 4 Jahre vor

Gelöst


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

etwa 4 Jahre vor

Gelöst


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

etwa 4 Jahre vor

Gelöst


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

etwa 4 Jahre vor

Gelöst


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

etwa 4 Jahre vor

Gelöst


Golden ratio
Calculate the golden ratio. Hint: phi^2 = phi + 1.

etwa 4 Jahre vor

Gelöst


Spherical Volume
Calculate the volume of a sphere.

etwa 4 Jahre vor

Gelöst


Energy of an object
Calculate the total mechanical energy of an object. Total Energy= Potential energy + Kinetic energy P.E.=m*g*h K.E.=1/2...

etwa 4 Jahre vor

Gelöst


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

etwa 4 Jahre vor

Gelöst


cube of number
find cube of number

etwa 4 Jahre vor

Gelöst


square root
Find square root of given number

etwa 4 Jahre vor

Gelöst


square of a number
find square of a given number

etwa 4 Jahre vor

Gelöst


Squares inside a square!

etwa 4 Jahre vor

Gelöst


Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250

etwa 4 Jahre vor

Gelöst


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

etwa 4 Jahre vor

Gelöst


Square root of a number
Write a code that will output the square root of x.

etwa 4 Jahre vor

Gelöst


Area of the yellow shaded region

etwa 4 Jahre vor

Gelöst


Flow rate in a pipe

etwa 4 Jahre vor

Gelöst


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

etwa 4 Jahre vor

Gelöst


Laws of motion 6

etwa 4 Jahre vor

Gelöst


Laws of motion 5

etwa 4 Jahre vor

Gelöst


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

etwa 4 Jahre vor

Gelöst


Laws of motion 3

etwa 4 Jahre vor

Mehr laden