While in his circuits class, Oscar was asked to build the following circuit:
That is:
And then he was asked to measure the voltage $$$V_r(t)$$$ in the resistor, by varing all the parameters. To accomplish that, he will use the oscilloscope available in the electronic lab to graph the value of $$$V_r(t)$$$ with respect to time (in seconds). He noticed some amazing pattern: $$$V_r(t)$$$ tends to stabilize at the value of the voltage input $$$V$$$ after some few seconds of oscillation, no matter what are the values of $$$R,L,C$$$ (but they must satisfy $$$L \lt 4R^2 C$$$), as shown in the graph below (the graph corresponds to the sample test case):
Oscar doesn't like at all that this behaviour tends to overshot and undershot the voltage $$$V_r(t)$$$ because that's bad in many daily-life applications (for example, in analog filters it can damage all the electronic elements due to the excesive voltage). He also doesn't have many resistors, inductors nor capacitors in his toolbox to experiment, so he asks you to find the minimum and maximum values for $$$V_r(t)$$$ and the time at which they ocurr before it stabilizes, without having to build physically the circuit.
In the only line of input there are four space-separated real numbers: $$$V$$$, $$$R$$$, $$$L$$$ and $$$C$$$, the parameters of the circuit described above. It is guaranteed that $$$1 \leq V \leq 20$$$, $$$0.1 \leq R, L, C \leq 20$$$ and $$$L \lt 4R^2 C$$$.
Print two lines of output, each with two real numbers:
The absolute or relative error of the answers should not exceed $$$10^{-6}$$$.
6 3.7 0.3 0.2
0.348848049 4.430980248 1.129139119 6.926100394
Here is a quick remainder about how circuits work:
| Name |
|---|


