summaryrefslogtreecommitdiff
path: root/3673/CH1/EX1.a.4
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH1/EX1.a.4')
-rw-r--r--3673/CH1/EX1.a.4/Example_a_1_4.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3673/CH1/EX1.a.4/Example_a_1_4.sce b/3673/CH1/EX1.a.4/Example_a_1_4.sce
new file mode 100644
index 000000000..d0cbe6d93
--- /dev/null
+++ b/3673/CH1/EX1.a.4/Example_a_1_4.sce
@@ -0,0 +1,16 @@
+//Example 1_4 page no:22
+clc;
+I3=2;
+I6=6;
+V2=12;
+V3=6;
+V=20
+I4=I3+I6;
+V4=4*I4;
+V=V4-V2;
+Vs=V4-V;
+Vin=-(30-V-V3);
+P4=V4*I6;//dependent power source
+disp(Vs,"the voltage Vs is (in V)");
+disp(Vin,"the voltage Vin is (in V)");
+disp(P4,"the power provided by dependent source is (in W)");