diff options
Diffstat (limited to '3673/CH2/EX2.a.15/Example_a_2_15.sce')
-rw-r--r-- | 3673/CH2/EX2.a.15/Example_a_2_15.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3673/CH2/EX2.a.15/Example_a_2_15.sce b/3673/CH2/EX2.a.15/Example_a_2_15.sce new file mode 100644 index 000000000..34112eb2c --- /dev/null +++ b/3673/CH2/EX2.a.15/Example_a_2_15.sce @@ -0,0 +1,15 @@ +//Example 2_15 page no:99
+clc;
+A=[12,6,-5,
+ -1,1,0,
+ 0,0,1]
+B=[4,
+ 5,
+ -2];
+X=inv(A)*B;
+I1=X(1);
+I2=X(2);
+V2=2*I1;
+P4=4*I2;
+disp(V2,"the voltage across 2 ohm resistor is (in V)");
+disp(P4,"the power delivered by 4V source is (in W)");
|