Solved


find radius of cone
if Slant height of Cone(I)& hight of Cone(H) given then find radius of the Cone(R) for example I=5,h=4 then the ans R=3;

1 year ago

Solved


Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

1 year ago

Solved


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

1 year ago

Solved


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

1 year ago

Solved


Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.

1 year ago

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

1 year ago

Solved


Area of a rectangle
FInd the area of a rectangle with a length L and width W. Round to the nearest integer.

1 year ago

Solved


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

1 year ago

Solved


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

1 year ago

Solved


Find the slope of a line that passes through two vectors
Given two vectors p1 and p2, return the slope of a line that passes through p1 and p2. Examples: Input [p1,p2] = deal([0,1],[...

1 year ago

Solved


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

1 year ago

Solved


Add the positive numbers
Add only the positive numbers of x example: x = [-2 -1 0 1 2 3] the positive numbers are: 1 2 3, so their sum is 6

1 year ago

Solved


Find cross product of 2 vectors
Find cross product of 2 vectors

1 year ago

Solved


Area of square
Find the area of a square whose diagonal length is given as x.

1 year ago

Solved


Kinetic Energy
Given the mass m and velocity v of an object, determine its <http://en.wikipedia.org/wiki/Kinetic_energy kinetic energy>.

1 year ago

Solved


Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon. Remember the area of pentagon is calculate ...

1 year ago

Solved


A times B
A times B

1 year ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

1 year ago

Solved


Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

1 year ago

Solved


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

1 year ago

Solved


Roll the Dice!
Description Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. Example [x1,x2] = rollDice(...

1 year ago

Solved


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

1 year ago

Solved


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

1 year ago

Solved


Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...

1 year ago

Solved


find the value

1 year ago

Solved


square of a number
find square of a given number

1 year ago

Solved


easy problem
Find the last element of the array

1 year ago

Solved


size

1 year ago

Solved


Size

1 year ago

Solved


row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.

1 year ago

Load more