解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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年以上 前

解決済み


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

1年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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年以上 前

解決済み


A times B
A times B

1年以上 前

解決済み


Sum two matrices
Take two incoming matrices, and sum them

1年以上 前

解決済み


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年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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

1年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


find the value

1年以上 前

解決済み


square of a number
find square of a given number

1年以上 前

解決済み


easy problem
Find the last element of the array

1年以上 前

解決済み


size

1年以上 前

解決済み


Size

1年以上 前

解決済み


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

1年以上 前

さらに読み込む