A résolu


Converts numbers into characters
Converts numbers into characters

8 jours il y a

A résolu


to the 2 all elements
to the 2 all elements

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


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

8 jours il y a

A résolu


Total energy

9 jours il y a

A résolu


Potential energy calculation

9 jours il y a

A résolu


Kinetic energy calculation

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

9 jours il y a

A résolu


Laws of motion 3

9 jours il y a

A résolu


Laws of motion 2

9 jours il y a

A résolu


Laws of motion 1

9 jours il y a

A résolu


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

9 jours il y a

A résolu


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

9 jours il y a

A résolu


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

9 jours il y a

A résolu


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.

9 jours il y a

A résolu


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

9 jours il y a

A résolu


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?

9 jours il y a

A résolu


Sum of series VIII

9 jours il y a

A résolu


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

9 jours il y a

A résolu


Convert from Fahrenheit to Celsius
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsi...

9 jours il y a

A résolu


Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)

10 jours il y a

A résolu


Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

10 jours il y a

A résolu


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

10 jours il y a

A résolu


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

10 jours il y a

A résolu


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

10 jours il y a

Charger plus