diff options
Diffstat (limited to '1316/CH2/EX2.8/example2_8.sce')
-rw-r--r-- | 1316/CH2/EX2.8/example2_8.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/1316/CH2/EX2.8/example2_8.sce b/1316/CH2/EX2.8/example2_8.sce new file mode 100644 index 000000000..38bc4c129 --- /dev/null +++ b/1316/CH2/EX2.8/example2_8.sce @@ -0,0 +1,22 @@ +//Chapter 2
+//Example 2.8
+//Page 66
+
+clear;
+clc;
+
+R1 = 1000.00;
+R2 = 1000.00;
+R3 = 605.00;
+R4 = 500.00;
+V =10.00;
+
+//Finding Unknown Potential
+printf("Here simply we use the equation to solve for Vx \n")
+
+//Calculation of Vx
+x = -[(V*R3)/(R3+R1)]+[(V*R4)/(R4+R2)]
+printf("Vx = %f V \n",x)
+
+
+printf("The negative sign tells us the polarity of the voltage , Vx.Since Vx numerically \n substracts from Va,we see that its positive terminal must be connected to pointa in figure \n")
|