summaryrefslogtreecommitdiff
path: root/343/CH1/EX1.58
diff options
context:
space:
mode:
Diffstat (limited to '343/CH1/EX1.58')
-rwxr-xr-x343/CH1/EX1.58/ex_58.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/343/CH1/EX1.58/ex_58.sce b/343/CH1/EX1.58/ex_58.sce
new file mode 100755
index 000000000..e4730b9a5
--- /dev/null
+++ b/343/CH1/EX1.58/ex_58.sce
@@ -0,0 +1,11 @@
+V1=4; //Assigning values to parameters
+R1=2;
+I1=1;
+R2=1;
+R3=3;
+I2=3;
+I1a=V1/(R1+R2); //Considering the current flow due to 4V voltage source
+I1b=(I2*R1)/(R1+R2); //Considering the current flow due to 3A current source
+I1c=(I1*R1)/(R2+R1); //Considering the current flow due to 1A current source
+I=I1a+I1b+I1c;
+disp("Amperes",I,"Current in 1 Ohm resistor using Superposition principle"); \ No newline at end of file