Studying Mechanical Engineering at Manisa Celal Bayar University.

Number:170301002

Solved

Area of a circle

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

6 months ago

Solved

Area of a Square

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

6 months ago

Solved

Volume of a sphere given its surface area

You just measured its surface area, that is the input.

6 months ago

Solved

Divide by 4

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

6 months ago

Solved

Times 5

Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

6 months ago

Solved

Times 10

Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

6 months ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

6 months ago

Solved

Sum all integers from 1 to 2^n

Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

7 months ago

Solved

Area of a triangle

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

7 months ago

Solved

Mid-term report

You just got your mid-term report, but it's full of ones and twos :(. So before you give it to your parents, you change it, in o...

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

7 months ago

Solved

Volume of Spherical Shell

In three-dimensional space, a spherical shell can be constructed from two concentric spheres. Determine the volume of a spheric...

7 months ago

Solved

How long does it take to run a bath?

Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

7 months ago

Solved

Find the volume of cone

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

7 months ago

Solved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

7 months ago

Solved

Return the first and last character of a string

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

7 months ago

Solved

MPS to MPH

Given the speed in miles per second, find the speed in miles per hour.

7 months ago

Solved

Transpose

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

7 months ago

Solved

Wrapping the Tower of Pisa

The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

7 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

7 months ago

Solved

surface of a spherical planet

you just discovered its circumference, that is the input.

7 months ago

Solved

Reverse the vector

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

7 months ago