Find the sequence
Find the nth number of a sequence. Check the test suite to determine the sequence.
* hint: it is closely related to familiar ...
5 years ago
Solved
Ugly numbers - 02
Ugly numbers are those whose prime factors are 2, 3 or 5.
find the nth ugly number.
n.b. unlike the previous problem,trivi...
5 years ago
Solved
Ugly numbers - 01
Ugly numbers are those whose prime factors are 2, 3 or 5.
find the nth ugly number.
5 years ago
Solved
Periodic Table II 101.
Given the symbol of an element, return its atomic number. This is the continuation of <http://www.mathworks.com/matlabcentral/co...
5 years ago
Solved
Periodic Table 101.
Given the atomic number (z), answer the symbol for that particular element of the <http://en.wikipedia.org/wiki/Periodic_table/ ...
continuous compounding
what's the present value of having 100 dollars after n years given a continuously compounded rate i ? keep only 2 decimals pleas...
Schwarzschild radius
Compute the <http://en.wikipedia.org/wiki/Schwarzschild_radius Schwarzschild radius> for objects of mass m (kg). Use c = 299,792...
5 years ago
Solved
Sky full of stars - 02
draw an isosceles triangle with asterisks of size n. For example, for n=6
' * '
' *** '
' **...
5 years ago
Solved
Sky full of stars - 01
Draw a right triangle with asterisks of size n. For example, for n=5
'* '
'** '
'*** '
'**** '
...
5 years ago
Solved
Sky full of stars - 03
draw the following pattern with asterisks. For example, for n=6
'************'
'***** *****'
'**** ****'
...
Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...