summaryrefslogtreecommitdiff
path: root/1523/CH1/EX1.5/1_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1523/CH1/EX1.5/1_5.sce')
-rwxr-xr-x1523/CH1/EX1.5/1_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1523/CH1/EX1.5/1_5.sce b/1523/CH1/EX1.5/1_5.sce
new file mode 100755
index 000000000..c7da8df56
--- /dev/null
+++ b/1523/CH1/EX1.5/1_5.sce
@@ -0,0 +1,14 @@
+//Basic Circuit Concepts
+//pg no-1.12
+//example 1.5
+I1=2/5;
+printf("I1=2/5= %2f Ampere", I1)
+I2=4/8;
+printf("\nI2=4/8= %2f Ampere", I2)
+printf("\nPotential difference between points x and y = Vxy = Vx-Vy")
+printf("\nWriting KVL equations for the path x to y")//Writing KVL equation from x to y
+printf("\nVs+3*I1+4-3*I2-Vy=0")
+printf("\nVs+3*(0.4) + 4- 3*(0.5) -Vy = 0")
+printf("\nVs+3*I1+4-3*I2-Vy = 0")
+printf("\nVx-Vy = -3.7")
+printf("\nVxy = -3.7V") \ No newline at end of file