解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


Laws of motion 6

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


Converts numbers into characters
Converts numbers into characters

2ヶ月 前

解決済み


to the 2 all elements
to the 2 all elements

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


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

2ヶ月 前

解決済み


Total energy

3ヶ月 前

解決済み


Potential energy calculation

3ヶ月 前

解決済み


Kinetic energy calculation

3ヶ月 前

解決済み


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

3ヶ月 前

解決済み


Laws of motion 3

3ヶ月 前

解決済み


Laws of motion 2

3ヶ月 前

解決済み


Laws of motion 1

3ヶ月 前

解決済み


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

3ヶ月 前

解決済み


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

3ヶ月 前

解決済み


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

3ヶ月 前

解決済み


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.

3ヶ月 前

解決済み


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

3ヶ月 前

解決済み


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?

3ヶ月 前

解決済み


Sum of series VIII

3ヶ月 前

さらに読み込む