Risolto


Determine if the number is divisible by 5 or not
Given a number, return true if it is divisble by 5

5 mesi fa

Risolto


Find the number of primes leq than input
Given an integer n, determine the number of primes less than or equal to n.

5 mesi fa

Problema


Find the number of primes leq than input
Given an integer n, determine the number of primes less than or equal to n.

5 mesi fa | 3 | 27 risolutori

Risolto


How many rectangles in a grid ?
How many rectangles are there in an m × n grid ? For example, if m=1 & n=2, we have 3 rectangles.

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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.

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

5 mesi fa

Risolto


Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not coun...

5 mesi fa

Risolto


Make roundn function
Make roundn function using round. x=0.55555 y=function(x,1) y=1 y=function(x,2) y=0.6 y=function(x,3) ...

5 mesi fa

Risolto


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

5 mesi fa

Risolto


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

5 mesi fa

Risolto


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

5 mesi fa

Risolto


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


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

5 mesi fa

Risolto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

5 mesi fa

Risolto


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

5 mesi fa

Risolto


Area Conversion 2

5 mesi fa

Risolto


Area Conversion 1

5 mesi fa

Risolto


Mass Conversion 2

5 mesi fa

Risolto


Mass Conversion 1

5 mesi fa

Risolto


Temperature Conversion 3

5 mesi fa

Risolto


Temperature Conversion 2

5 mesi fa

Carica altro