Gelöst


Row sum

mehr als 2 Jahre vor

Gelöst


Row avg

mehr als 2 Jahre vor

Gelöst


Factorial

mehr als 2 Jahre vor

Gelöst


find the height

mehr als 2 Jahre vor

Gelöst


PIN code

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


Divide pi
Divide pi by x!

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


Summation of integers

mehr als 2 Jahre vor

Gelöst


square of a number
find square of a given number

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


Power Numbers
Find the n-th power of m.

mehr als 2 Jahre vor

Gelöst


Sort in descending order.

mehr als 2 Jahre vor

Gelöst


area

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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.

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Gelöst


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

mehr als 2 Jahre vor

Mehr laden