A résolu


Row sum

plus de 2 ans il y a

A résolu


Row avg

plus de 2 ans il y a

A résolu


Factorial

plus de 2 ans il y a

A résolu


find the height

plus de 2 ans il y a

A résolu


PIN code

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Divide pi
Divide pi by x!

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Summation of integers

plus de 2 ans il y a

A résolu


square of a number
find square of a given number

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


Power Numbers
Find the n-th power of m.

plus de 2 ans il y a

A résolu


Sort in descending order.

plus de 2 ans il y a

A résolu


area

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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.

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

A résolu


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

plus de 2 ans il y a

Charger plus