summaryrefslogtreecommitdiff
path: root/1370/CH1/EX1.22/chapter1_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '1370/CH1/EX1.22/chapter1_22.sce')
-rwxr-xr-x1370/CH1/EX1.22/chapter1_22.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1370/CH1/EX1.22/chapter1_22.sce b/1370/CH1/EX1.22/chapter1_22.sce
new file mode 100755
index 000000000..58271380f
--- /dev/null
+++ b/1370/CH1/EX1.22/chapter1_22.sce
@@ -0,0 +1,13 @@
+//example1.22
+clc
+disp("The arrangment is shown in the fig 1.92")
+disp("P2=(I^2)*R2")
+disp("Therefore, 16= (2^2)*R2")
+r=16/4
+disp(r,"R2(in ohm)=")
+v=4*2
+disp(v,"V2(in ohm)=I*R2=")
+v=2*6
+disp("V3(in V)=I*R3=")
+v=4+8+12
+disp(v,"V(in V)=V1+V2+V3=")