Solved

subtraction of two nos
given a and b, subtract and give the answer

1 year ago

Solved

lb to kilogram
convert lb to kilogram units, easy

1 year ago

Solved

Transpose the Matrix
Transpose the given matrix, e.g. x=[a b;c d] transpose of x = [a c;b d]

1 year ago

Solved

Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...

1 year ago

Solved

Divide pi
Divide pi by x!

1 year ago

Solved

square root
Find square root of given number

1 year ago

Solved

Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

1 year ago

Solved

Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

1 year ago

Solved

Multiply pi
Multiply pi with x!

1 year ago

Solved

Square root of number
Square root of given number.

1 year ago

Solved

row removal
Consider a matrix and remove the first row of the matrix.

1 year ago

Solved

Hardy-Ramanujan number
Find the first Hardy-Ramanujan number.

1 year ago

Solved

Flipping a Matrix
Flipping matrix up and down. If a central row is exists, leave it, and flip remaining rows. Example Mat = magic(3) ...

1 year ago

Solved

Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

1 year ago

Solved

Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

1 year ago

Solved

Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

1 year ago

Solved

Calculate the volume of the cube.
Example n = 3; a = volume(n); a = 27

1 year ago

Solved

create a square matrix
create a [n*n] matrix. example: mat(4)= [ 1 4 9 16 4 4 9 16 9 9 ...

1 year ago

Solved

Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

1 year ago

Solved

Sort rows of a matrix
Sort rows of matrix A in an ascending order according to the last column Example input: A = [1 2 3;7 8 9;4 5 6]; Exam...

1 year ago

Solved

Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

1 year ago

Solved

Power The Product
EXAMPLE: INPUT x=10 & y=10 OUTPUT z=1000000 or, INPUT x=2 & y=3 OUTPUT z= 216 you just need to calculate the product first...

1 year ago

Solved

sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

1 year ago

Solved

Calculate the number of elements in a matrix.
Calculate the number of elements in a matrix.

1 year ago

Solved

Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

1 year ago

Solved

Sum two matrices
Take two incoming matrices, and sum them

1 year ago

Solved

Convert radians to degrees.

1 year ago

Solved

Ohm's Law
Well its Ohm's law... So V = IR! I will give two of the three values, such as V and I or I and R and you have to return th...

1 year ago

Solved