summaryrefslogtreecommitdiff
path: root/343/CH1/EX1.11/ex1_11.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /343/CH1/EX1.11/ex1_11.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '343/CH1/EX1.11/ex1_11.sce')
-rwxr-xr-x343/CH1/EX1.11/ex1_11.sce13
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