Risolto


Momentum Calculation
A shopping cart of mass 'm1' is traveling with velocity 'u' and collides with a second shopping cart of mass 'm2.' The two shopp...

quasi 4 anni fa

Risolto


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

quasi 4 anni fa

Risolto


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Converts numbers into characters
Converts numbers into characters

quasi 4 anni fa

Risolto


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Sum of first n positive integers
Given n, find the sum of first n positive integers Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these terms is 55

quasi 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]

quasi 4 anni fa

Risolto


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

quasi 4 anni fa

Risolto


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

quasi 4 anni fa

Risolto


Sum sum!!!
Sum the numbers from 1 to n

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Mile to Kilometer
x is mile and y is km

quasi 4 anni fa

Risolto


Volume of Cylinder
Find the volume of a cylinder

quasi 4 anni fa

Risolto


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

quasi 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

quasi 4 anni fa

Risolto


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

quasi 4 anni fa

Risolto


Find the max element of the array
Find the max element of the array

quasi 4 anni fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

quasi 4 anni fa

Risolto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

quasi 4 anni fa

Risolto


to the 2 all elements
to the 2 all elements

quasi 4 anni fa

Risolto


the average value of the elements
Calculate the average value of the elements in the array

quasi 4 anni fa

Risolto


Double all elements in the array
Duplicate all elements in the array

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


Create a vector
Create a vector from 0 to n by intervals of 2.

quasi 4 anni fa

Carica altro