Solved

Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

casi 2 años ago

Solved

Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

casi 2 años ago

Solved

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

casi 2 años ago

Solved

Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

casi 2 años ago

Solved

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

casi 2 años ago

Solved

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

casi 2 años ago

Solved

Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

casi 2 años ago

Solved

Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

casi 2 años ago

Solved

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

casi 2 años ago

Solved

Inner product of two vectors
Find the inner product of two vectors.

casi 2 años ago

Solved

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

casi 2 años ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

casi 2 años ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

casi 2 años ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

casi 2 años ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

casi 2 años ago

Solved

Find max
Find the maximum value of a given vector or matrix.

casi 2 años ago

Submitted

Knight's Tour
Functions to complete an open knight's tour on an N*N chessboard

Solved

Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

casi 2 años ago

Solved

Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

casi 2 años ago

Solved

Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

casi 2 años ago

Solved

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

casi 2 años ago

Solved

Array of Ones
Create a 100 X 100 array of ones.

casi 2 años ago

Solved

casi 2 años ago

Solved

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

casi 2 años ago

Solved

Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

casi 2 años ago

Solved

Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

casi 2 años ago

Solved

Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

casi 2 años ago

Solved

Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

casi 2 años ago

Submitted

Freely Rotating Chain
Freely rotating chain model in two dimensions