summaryrefslogtreecommitdiff
path: root/1511/CH2/EX2.42/ex2_42.sce
diff options
context:
space:
mode:
Diffstat (limited to '1511/CH2/EX2.42/ex2_42.sce')
-rwxr-xr-x1511/CH2/EX2.42/ex2_42.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1511/CH2/EX2.42/ex2_42.sce b/1511/CH2/EX2.42/ex2_42.sce
new file mode 100755
index 000000000..35330439f
--- /dev/null
+++ b/1511/CH2/EX2.42/ex2_42.sce
@@ -0,0 +1,12 @@
+// Example 2.42 page no-128
+clear
+clc
+
+V=30 //V
+R=2000 //Ohm
+I=V/R
+Iz=0.025 //A
+It=Iz+I
+Rs=200
+Vmax=V+Rs*It
+printf("Vrmax = %d V",Vmax)