#P65. 练12.4计算并联电阻的阻值
练12.4计算并联电阻的阻值
Description
For resistors with resistances and , the formula for calculating the equivalent resistance in parallel is:
Input the resistance values of two resistors as floating-point numbers. Output the equivalent resistance in parallel, rounded to 2 decimal places.
Input Format
Input consists of two floating-point numbers representing the resistance values of the two resistors, separated by a space.
Output Format
Output the equivalent resistance in parallel, rounded to 2 decimal places.
Sample
1 20.67