Solved


to the 2 all elements
to the 2 all elements

10 months ago

Solved


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

10 months ago

Solved


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

10 months ago

Solved


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

10 months ago

Solved


Draw a '0' in a one matrix!

10 months ago

Solved


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

10 months ago

Solved


Temperature Conversion 2

10 months ago

Solved


Temperature Conversion 1

10 months ago

Solved


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

10 months ago

Solved


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

10 months ago

Solved


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.

10 months ago

Solved


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

10 months ago

Solved


Spherical Volume
Calculate the volume of a sphere.

10 months ago

Solved


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

10 months ago

Solved


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.

10 months ago

Solved


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

10 months ago

Solved


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

10 months ago

Solved


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

10 months ago

Solved


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

10 months 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?

10 months ago

Solved


Total energy

10 months ago

Solved


Potential energy calculation

10 months ago

Solved


Kinetic energy calculation

10 months ago

Solved


Laws of motion 2

10 months ago

Solved


Laws of motion 3

10 months ago

Solved


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

10 months ago

Solved


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

10 months ago

Solved


Laws of motion 6

10 months ago

Solved


Easy Sequences 10: Sum of Cumsums of Fibonacci Sequence
The function F(n) is defined as the set of Fibonacci numbers from the first up to the n-th. S(n) is the result of applying to F,...

10 months ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

10 months ago

Load more