The equivalent resistance of series and parallel connections of two resistances are given by the formula: (a) R1 = r1 + r2 (Series)
(b) R2 = (r1 * r2) / (r1 + r2) (Parallel)
Write a program to input the value of r1 and r2. Calculate and display the output of the equivalent resistance as per User's choice.
only a java program. ....
Share
0 Replies