summaryrefslogtreecommitdiff
path: root/3673/CH2/EX2.a.13/Example_a_2_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH2/EX2.a.13/Example_a_2_13.sce')
-rw-r--r--3673/CH2/EX2.a.13/Example_a_2_13.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3673/CH2/EX2.a.13/Example_a_2_13.sce b/3673/CH2/EX2.a.13/Example_a_2_13.sce
new file mode 100644
index 000000000..46ed9c8fb
--- /dev/null
+++ b/3673/CH2/EX2.a.13/Example_a_2_13.sce
@@ -0,0 +1,14 @@
+//Example 2_13 page no:97
+clc;
+delta=[1.08,-0.75,
+ -4.75,5.75];
+delta1=[-6.25,-0.75,
+ 21.25,5.75];
+delta2=[1.08,-6.25,
+ -4.75,21.25];
+V1=det(delta1)/det(delta);
+V2=det(delta2)/det(delta);
+Vx=V1+5-V2;
+disp(V1,"the voltage V1 is");
+disp(V2,"the voltage V2 is");
+disp(Vx,"the voltage across 4 ohm resistor is (in V)");