Solved


Draw a '6' in a zero matrix!

8 months ago

Solved


Draw a '9' in a zero matrix!

8 months ago

Solved


Draw a '7' in a zero matrix!

8 months ago

Solved


Draw a '8' in a zero matrix!

8 months ago

Solved


Draw a '5' in a zero matrix!

8 months ago

Solved


Draw a '3' in a zero matrix!

8 months ago

Solved


Draw a '2' in a zero matrix!

8 months ago

Solved


Draw a '1' in a zero matrix!

8 months ago

Solved


Volume Pillar
Calculate the volume of a pillar with radius l and heigth ar.

8 months ago

Solved


Convert radians to degrees
Given input in radians, output to degrees

8 months ago

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

8 months ago

Solved


Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

8 months ago

Solved


Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...

8 months ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

8 months ago

Solved


Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>

8 months ago

Solved


Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...

8 months ago

Solved


Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...

8 months ago

Solved


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

8 months ago

Solved


De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

8 months ago

Solved


Quote Doubler
Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

8 months ago

Solved


Total energy

8 months ago

Solved


Potential energy calculation

8 months ago

Solved


Kinetic energy calculation

8 months ago

Solved


Laws of motion 6

8 months ago

Solved


Laws of motion 5
Calculate the force is u are given mass and acceleration.

8 months ago

Solved


Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.

8 months ago

Solved


Laws of motion 3

8 months ago

Solved


Laws of motion 2

8 months ago

Solved


Laws of motion 1

8 months ago

Solved


Roll the Dice!
Description Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. Example [x1,x2] = rollDice(...

8 months ago

Load more