Risolto


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;

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


A times B
A times B

oltre un anno fa

Risolto


Sum two matrices
Take two incoming matrices, and sum them

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


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.

oltre un anno fa

Risolto


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

oltre un anno fa

Risolto


find the value

oltre un anno fa

Risolto


square of a number
find square of a given number

oltre un anno fa

Risolto


easy problem
Find the last element of the array

oltre un anno fa

Risolto


size

oltre un anno fa

Risolto


Size

oltre un anno fa

Risolto


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

oltre un anno fa

Carica altro