Resuelto


Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...

14 días hace

Resuelto


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

15 días hace

Resuelto


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

15 días hace

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

17 días hace

Resuelto


Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

17 días hace

Resuelto


Laws of motion 6

17 días hace

Resuelto


Laws of motion 5
Calculate the force is u are given mass and acceleration.

17 días hace

Resuelto


Converts numbers into characters
Converts numbers into characters

17 días hace

Resuelto


to the 2 all elements
to the 2 all elements

17 días hace

Resuelto


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

17 días hace

Resuelto


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

17 días hace

Resuelto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

17 días hace

Resuelto


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

17 días hace

Resuelto


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

17 días hace

Resuelto


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

17 días hace

Resuelto


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

17 días hace

Resuelto


Total energy

18 días hace

Resuelto


Potential energy calculation

18 días hace

Resuelto


Kinetic energy calculation

18 días hace

Resuelto


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

18 días hace

Resuelto


Laws of motion 3

18 días hace

Resuelto


Laws of motion 2

18 días hace

Resuelto


Laws of motion 1

18 días hace

Resuelto


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

18 días hace

Resuelto


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

18 días hace

Resuelto


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

18 días hace

Resuelto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

19 días hace

Resuelto


Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

19 días hace

Resuelto


Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

19 días hace

Resuelto


Sum of series VIII

19 días hace

Cargar más