Solved


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 days ago

Solved


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 days ago

Solved


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 days ago

Solved


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 days ago

Solved


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 days ago

Solved


Laws of motion 6

17 days ago

Solved


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

17 days ago

Solved


Converts numbers into characters
Converts numbers into characters

17 days ago

Solved


to the 2 all elements
to the 2 all elements

17 days ago

Solved


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

17 days ago

Solved


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

17 days ago

Solved


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 days ago

Solved


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

17 days ago

Solved


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

17 days ago

Solved


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

17 days ago

Solved


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

17 days ago

Solved


Total energy

18 days ago

Solved


Potential energy calculation

18 days ago

Solved


Kinetic energy calculation

18 days ago

Solved


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

18 days ago

Solved


Laws of motion 3

18 days ago

Solved


Laws of motion 2

18 days ago

Solved


Laws of motion 1

18 days ago

Solved


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 days ago

Solved


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 days ago

Solved


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 days ago

Solved


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.

18 days ago

Solved


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

18 days ago

Solved


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?

18 days ago

Solved


Sum of series VIII

18 days ago

Load more