summaryrefslogtreecommitdiff
path: root/2075/CH4/EX4.3
diff options
context:
space:
mode:
Diffstat (limited to '2075/CH4/EX4.3')
-rwxr-xr-x2075/CH4/EX4.3/pe4_3.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2075/CH4/EX4.3/pe4_3.sce b/2075/CH4/EX4.3/pe4_3.sce
new file mode 100755
index 000000000..1e131c86e
--- /dev/null
+++ b/2075/CH4/EX4.3/pe4_3.sce
@@ -0,0 +1,13 @@
+//example 4.3
+clc; funcprot(0);
+// Initialization of Variable
+Rl=10;
+V=12;
+Vl=5;
+//calculation
+Pl=Vl^2/Rl;
+I=Vl/Rl;
+Ps=V*I;
+Pic=Ps-Pl;
+disp(Pic,"power delivered in watt:")
+clear()