문제를 풀었습니다


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

7일 전

문제를 풀었습니다


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Input...

7일 전

문제를 풀었습니다


Pi Digit Probability
Assume that the next digit of pi constant is determined by the historical digit distribution. What is the probability of next di...

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


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.

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


Total energy

7일 전

문제를 풀었습니다


Kinetic energy calculation

7일 전

문제를 풀었습니다


Laws of motion 1

7일 전

문제를 풀었습니다


Laws of motion 2

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


How long do each of the stages of the rocket take to burn?
A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

7일 전

문제를 풀었습니다


Area Conversion 1

7일 전

문제를 풀었습니다


Mass Conversion 1

7일 전

문제를 풀었습니다


Energy Conversion 2

7일 전

문제를 풀었습니다


Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

7일 전

문제를 풀었습니다


Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

7일 전

문제를 풀었습니다


Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

7일 전

문제를 풀었습니다


Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

7일 전

문제를 풀었습니다


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

7일 전

문제를 풀었습니다


Potential energy calculation

7일 전

문제를 풀었습니다


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

7일 전

문제를 풀었습니다


Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

7일 전

더 보기