Resuelto


Row sum

casi 2 años hace

Resuelto


Row avg

casi 2 años hace

Resuelto


Factorial

casi 2 años hace

Resuelto


find the height

casi 2 años hace

Resuelto


PIN code

casi 2 años hace

Resuelto


F.R.I.E.N.D.S

casi 2 años hace

Resuelto


Find the sum of all integers in a given matrix
Finding sum of all integers in a given matrix

casi 2 años hace

Resuelto


Divide pi
Divide pi by x!

casi 2 años hace

Resuelto


Draw the symbol '+'
Draw '+' in an x-by-x matrix (where x is odd and x >3) Example: x = 5 y = [0 0 1 0 0 0 0 1 0 0 1 1 1 1 1 0 ...

casi 2 años hace

Resuelto


Summation of integers

casi 2 años hace

Resuelto


square of a number
find square of a given number

casi 2 años hace

Resuelto


Odd row
Create a row 'y' with odd numbers where the potential maximum number is given by 'x' and the space between them by 'm'. The firs...

casi 2 años hace

Resuelto


Power Numbers
Find the n-th power of m.

casi 2 años hace

Resuelto


Sort in descending order.

casi 2 años hace

Resuelto


area

casi 2 años hace

Resuelto


Simple equation: Annual salary
Given an hourly wage, compute an annual salary

casi 2 años hace

Resuelto


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

casi 2 años hace

Resuelto


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

casi 2 años hace

Resuelto


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

casi 2 años hace

Resuelto


Square a Number
Given an input x, return y, which is equal to the square of x.

casi 2 años hace

Resuelto


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

casi 2 años hace

Resuelto


What is Sum Of all elements of Matrix
Given the matrix x, return the sum of all elements of matrix. Example: Input x = [ 1 2 0 0 0 0 6 9 3 3 ] ...

casi 2 años hace

Resuelto


length of a vector
Find twice the length of a given vector.

casi 2 años hace

Resuelto


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

casi 2 años hace

Resuelto


Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.

casi 2 años hace

Resuelto


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

casi 2 años hace

Resuelto


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

casi 2 años hace

Resuelto


01 - Scalar variables
Create the following variables: <<http://samle.dk/STTBDP/Assignment1_1.png>>

casi 2 años hace

Resuelto


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

casi 2 años hace

Resuelto


Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...

casi 2 años hace

Cargar más