A résolu


Create an anti-identity matrix
Create an anti-identity matrix of given dimension. Examples n = 2 A = [0 1; 1 0] n = 3 A = [0 0 1; 0 1 0; 1 0 0...

presque 5 ans il y a

A résolu


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

presque 5 ans il y a

A résolu


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

presque 5 ans il y a

A résolu


Convert from Base 10 to base 5
Convert the input number from base 10 into base 5: for example: if a(in base 10)= 5 then a(in base 5)= 10

presque 5 ans il y a

A résolu


Tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

presque 5 ans il y a

A résolu


Number Puzzle - 119

presque 5 ans il y a

Problème


Number Puzzle - 119

presque 5 ans il y a | 1 | 23 solveurs

A résolu


Number Puzzle - 118

presque 5 ans il y a

Problème


Number Puzzle - 118

presque 5 ans il y a | 1 | 19 solveurs

A résolu


Draw a '4' in a zero matrix!

presque 5 ans il y a

A résolu


Draw a '6' in a zero matrix!

presque 5 ans il y a

A résolu


Draw a '9' in a zero matrix!

presque 5 ans il y a

A résolu


Draw a '7' in a zero matrix!

presque 5 ans il y a

A résolu


Draw a '8' in a zero matrix!

presque 5 ans il y a

A résolu


Draw a '5' in a zero matrix!

presque 5 ans il y a

A résolu


Draw a '3' in a zero matrix!

presque 5 ans il y a

A résolu


Draw a '1' in a zero matrix!

presque 5 ans il y a

A résolu


Sum of series VIII

presque 5 ans il y a

A résolu


Sum of series IX

presque 5 ans 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)

presque 5 ans il y a

A résolu


easy problem
Find the last element of the array

presque 5 ans il y a

A résolu


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

presque 5 ans 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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


Draw a '0' in a one matrix!

presque 5 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

presque 5 ans il y a

A résolu


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

presque 5 ans il y a

A résolu


Converts numbers into characters
Converts numbers into characters

presque 5 ans il y a

Charger plus