1 2 3 4 5 6 7 8 9
//Example 1_13 page no:30 clc; I1=10; I2=15' R1=20; R2=10; R3=5; V=(I1+I2)/((1/20)+(1/10)+(1/5));//voltage calculation disp(V,"the voltage across 10 ohm resistor is (in V)");