diff options
Diffstat (limited to '343/CH1/EX1.11/ex1_11.sce')
-rwxr-xr-x | 343/CH1/EX1.11/ex1_11.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/343/CH1/EX1.11/ex1_11.sce b/343/CH1/EX1.11/ex1_11.sce new file mode 100755 index 000000000..5212ccae1 --- /dev/null +++ b/343/CH1/EX1.11/ex1_11.sce @@ -0,0 +1,13 @@ +Itot=12; //Assigning values to parameters
+R1=4;
+R2=12;
+R3=6;
+Req=1/((1/R1)+(1/R2)+(1/R3)); //Equivalent resistance
+V=Itot*Req;
+I1=V/R1;
+I2=V/R2;
+I3=V/R3;
+disp("Volts",V,"Potential Difference across the parallel circuit");
+disp("Amperes",I1,"Current through 4 Ohm resistor")
+disp("Amperes",I2,"Current through 12 Ohm resistor")
+disp("Amperes",I3,"Current through 6 Ohm resistor")
\ No newline at end of file |