Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

9 months ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

9 months ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

9 months ago

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

9 months ago

Solved


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

9 months ago

Solved


Spherical Volume
Calculate the volume of a sphere.

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

9 months ago

Solved


area of an annulus
Given the diameter d of the inner circle of the annulus. Given length z of a chord of the outer circle of the annulus. This chor...

9 months ago

Solved


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

9 months ago

Solved


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

9 months ago

Solved


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

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

9 months ago

Solved


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

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

9 months ago

Solved


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

9 months ago

Solved


Find the max element of the array
Find the max element of the array

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

10 months ago

Solved


to the 2 all elements
to the 2 all elements

10 months ago

Solved


Double all elements in the array
Duplicate all elements in the array

10 months ago

Solved


Total energy

10 months ago

Solved


Potential energy calculation

10 months ago

Solved


Kinetic energy calculation

10 months ago

Solved


Laws of motion 1

10 months ago

Solved


Laws of motion 2

10 months ago

Solved


Laws of motion 3

10 months ago

Solved


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

10 months ago

Solved


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

10 months ago

Solved


Laws of motion 6

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

10 months ago

Solved


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

10 months ago

Load more