Solved

Add two numbers

Calculate the sum of two numbers. Example input = [2 3] output = 5

5 months ago

Solved

Volume of a box

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

5 months ago

Solved

find the surface area of a cube

given cube side length x, find the surface area of the cube, set it equal to y

5 months ago

Solved

Square Rooting a Number

This MATLAB Cody exercise requires you to take a number x, square root it, and get y

5 months ago

Solved

Square root

Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

5 months ago

Solved

Divide by 4

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

5 months ago

Solved

Divide by 4

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

5 months ago

Solved

The Piggy Bank Problem

Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

5 months ago

Solved

Find the volume of cone

Find the volume of cone, when given radius(r) and height(h).

5 months ago

Solved

Find the area of a triangle

Given a triangle with a base b and height h, return the triangle area.

5 months ago

Solved

Isothermal Expansion

Given the initial pressure and volume of an ideal gas, calculate the new volume, given the new pressure. Hint: <https://en.wi...

5 months ago

Solved

Finding perimeter of a rectangle

A rectangle has a length of x centimeters and a width of w centimeters. Find the perimeter.

5 months 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. <<https://imgur...

5 months ago

Solved

Area of a Square

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

5 months ago

Solved

Area of a triangle

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

5 months ago

Solved

Area of a Square

Given the length x of the side of a regular square, find the area of the square, A.

5 months ago

Solved

Getting the indices from a vector

This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

5 months ago

Solved

Return the first and last characters of a character array

Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

5 months ago

Solved

Number of 1s in a binary string

Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

5 months ago