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

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

alrededor de 1 mes 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...

alrededor de 1 mes 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:...

alrededor de 1 mes 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...

alrededor de 1 mes hace

Resuelto


Laws of motion 6

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


Converts numbers into characters
Converts numbers into characters

alrededor de 1 mes hace

Resuelto


to the 2 all elements
to the 2 all elements

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes 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;...

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


Total energy

alrededor de 1 mes hace

Resuelto


Potential energy calculation

alrededor de 1 mes hace

Resuelto


Kinetic energy calculation

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes hace

Resuelto


Laws of motion 3

alrededor de 1 mes hace

Resuelto


Laws of motion 2

alrededor de 1 mes hace

Resuelto


Laws of motion 1

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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...

alrededor de 1 mes 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.

alrededor de 1 mes hace

Resuelto


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

alrededor de 1 mes 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?

alrededor de 1 mes hace

Resuelto


Sum of series VIII

alrededor de 1 mes hace

Cargar más