A résolu


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

8 mois il y a

A résolu


Area Conversion 2

8 mois il y a

A résolu


Energy Conversion 2

8 mois il y a

A résolu


Energy Conversion 1

8 mois il y a

A résolu


Area Conversion 1

8 mois il y a

A résolu


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

8 mois il y a

A résolu


Temperature Conversion 2

8 mois il y a

A résolu


Temperature Conversion 1

8 mois il y a

A résolu


Mass Conversion 2

8 mois il y a

A résolu


Mass Conversion 1

8 mois il y a

A résolu


Given a number N, find the smallest prime P>N
Given a number N, find the smallest prime P greater than N. For example: If N=10 then P=11. If N=13 then P=17.

8 mois il y a

A résolu


area of an annulus
Given the diameter d of the inner circle of the annulus. Given length z of a chord of the outer circle of the annulus. This chor...

8 mois il y a

A résolu


Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

8 mois il y a

A résolu


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

8 mois il y a

A résolu


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

8 mois il y a

A résolu


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

8 mois il y a

A résolu


Spherical Volume
Calculate the volume of a sphere.

8 mois il y a

A résolu


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

8 mois il y a

A résolu


Total energy

8 mois il y a

A résolu


Kinetic energy calculation

8 mois il y a

A résolu


Laws of motion 6

8 mois il y a

A résolu


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

8 mois il y a

A résolu


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

8 mois il y a

A résolu


Laws of motion 3

8 mois il y a

A résolu


Laws of motion 2

8 mois il y a

A résolu


Laws of motion 1

8 mois il y a

A résolu


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

8 mois il y a

A résolu


Find the palindrome
Given the string a, find the longest palindromic sub-string b. So when a = 'xkayakyy'; you should return b = 'kayak';

8 mois il y a

A résolu


Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

8 mois il y a

A résolu


Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...

8 mois il y a

Charger plus