Solved

Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

bijna 4 jaar ago

Solved

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

bijna 4 jaar ago

Solved

read and return the following word. 'M M A TTTTTTTTTL A BBB ' 'MM MM A A T L ...

ongeveer 4 jaar ago

Solved

Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

meer dan 5 jaar ago

Solved

Plus x: A first program
_Solve this problem in Mathwork's online Cody system._ Write a statement that assigns y with 5 plus x. Ex: If input x = 2,...

bijna 6 jaar ago

Solved

Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

bijna 6 jaar ago

Solved

Arithmetic array operations

bijna 6 jaar ago

Solved

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

bijna 6 jaar ago

Solved

Circle area using pi
Write a statement that assigns circleArea with the circle's area given circleRadius. Use the built-in mathematical constant pi. ...

bijna 6 jaar ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

meer dan 6 jaar ago

Solved

Assigning a sum
* Write a statement that assigns numCoins with numNickels + numDimes.

meer dan 6 jaar ago

Solved

Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...

meer dan 6 jaar ago

Solved

Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

meer dan 6 jaar ago

Solved

2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...

bijna 7 jaar ago

Solved

Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

meer dan 8 jaar ago

Problem

Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

meer dan 8 jaar ago | 2 | 317 solvers

Solved

Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

meer dan 8 jaar ago

Solved

Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

meer dan 8 jaar ago

Solved

Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

meer dan 8 jaar ago

Solved

Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

meer dan 8 jaar ago

Solved

The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

meer dan 8 jaar ago

Solved

Find the position of first minimum value in an integer array with numbers
If x = [2 6 4 9 10 3 1 5 1] the the output should be 7, because the first minimum value (1) lies at the 7th position.

meer dan 8 jaar ago

Solved

surface of a spherical planet
you just discovered its circumference, that is the input.

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar 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...

meer dan 8 jaar ago

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

meer dan 8 jaar 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...

meer dan 8 jaar ago

Solved

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

meer dan 8 jaar ago