diff options
Diffstat (limited to '3673/CH2/EX2.a.4/Example_a_2_4.sce')
-rw-r--r-- | 3673/CH2/EX2.a.4/Example_a_2_4.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3673/CH2/EX2.a.4/Example_a_2_4.sce b/3673/CH2/EX2.a.4/Example_a_2_4.sce new file mode 100644 index 000000000..6ba2f684a --- /dev/null +++ b/3673/CH2/EX2.a.4/Example_a_2_4.sce @@ -0,0 +1,12 @@ +//Example 2_4 page no:88
+clc;
+A=[1.25,-0.75,
+ -4.75,5.75];
+B=[-12.5,
+ 42.5];
+X=inv(A)*B;
+Va=X(1);
+Vb=X(2);
+I10=(Va-Vb+10)/4;
+P=10*I10;
+disp(P,"the power supplied by 10V source is (in W)");
|