Solved


Row sum

2 years ago

Solved


Row avg

2 years ago

Solved


Factorial

2 years ago

Solved


find the height

2 years ago

Solved


PIN code

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


Divide pi
Divide pi by x!

2 years ago

Solved


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

2 years ago

Solved


Summation of integers

2 years ago

Solved


square of a number
find square of a given number

2 years ago

Solved


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

2 years ago

Solved


Power Numbers
Find the n-th power of m.

2 years ago

Solved


Sort in descending order.

2 years ago

Solved


area

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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.

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Load more