Skip to content
UPEEC

555 Timer Frequency

Easy#engineering#electronics· solved by 0 · time limit 2.0 s

In astable mode a 555 timer oscillates at f=1.44(R1+2R2)Cf = \frac{1.44}{(R_1 + 2R_2)C} with duty cycle D=R1+R2R1+2R2×100%D = \frac{R_1 + R_2}{R_1 + 2R_2} \times 100\%. Print ff in Hz (2 decimals) and DD in percent (1 decimal).

Input

R1R_1 (Ω), R2R_2 (Ω), CC (µF).

Output

ff and DD.

Constraints

1≤R1,R2≤1071 \le R_1, R_2 \le 10^7, 10−4≤C≤10410^{-4} \le C \le 10^4

Sample 1

Input

1000 10000 10

Output

6.86 52.4

Sample 2

Input

10000 10000 1

Output

48.00 66.7

Sign in or join free to run and submit your solution.