Solved


Area of a circle
Find the value for area of the circle if diameter is given

5 years ago

Solved


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

5 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

5 years ago

Solved


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

5 years ago

Solved


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

5 years ago

Solved


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

5 years ago

Solved


Add two numbers
Add two numbers (For beginners)

5 years ago

Solved


Replace odd number in given matrix by zero
Replace the odd numbers in a given matrix with zero. Example A = [ 17 24 1 8 15 23 5 7 ...

5 years ago

Solved


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

5 years ago

Solved


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

5 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

5 years ago

Solved


Add a, b, c to get d

5 years ago

Solved


Round to nearest integer

5 years ago

Solved


2X MULTIPLIER

5 years ago

Solved


Find the area of a square

5 years ago

Solved


multiply by 7

5 years ago

Solved


Multiply by 14

5 years ago

Solved


Subtract two numbers

5 years ago

Solved


10% Discount

5 years ago

Solved


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

5 years ago

Solved


Size

5 years ago

Solved


Find the minimum element of the matrix
Example: If x = [3 9; 5 2] then y = 2

5 years ago

Solved


Add 2 Vectors

5 years ago

Solved


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

5 years ago

Solved


How many apples
You have x apples I take from you y apples now how many apples you have ?

5 years ago

Solved


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

5 years ago

Solved


Volume of a sphere

5 years ago

Solved


Square
square root of x

5 years ago

Load more