Risolto


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.

circa 4 anni fa

Risolto


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...

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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 =...

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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...

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

circa 4 anni fa

Risolto


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...

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


cube of number
find cube of number

circa 4 anni fa

Risolto


square root
Find square root of given number

circa 4 anni fa

Risolto


square of a number
find square of a given number

circa 4 anni fa

Risolto


Squares inside a square!

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


Area of the yellow shaded region

circa 4 anni fa

Risolto


Flow rate in a pipe

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


Laws of motion 6

circa 4 anni fa

Risolto


Laws of motion 5

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


Laws of motion 3

circa 4 anni fa

Carica altro