Feeds
已解决
Finding perimeter of a rectangle
A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.
3 years 前
已解决
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
3 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
3 years 前
已解决
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
3 years 前
已解决
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
3 years 前
已解决
What percentage?
Calculate the output c as the percentage of a on b for given a and b.
3 years 前
已解决
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
3 years 前
已解决
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
3 years 前
已解决
Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.
3 years 前
已解决
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
3 years 前
已解决
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
3 years 前
已解决
Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...
3 years 前
已解决
Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.
3 years 前
已解决
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
3 years 前
已解决
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
3 years 前






