summaryrefslogtreecommitdiff
path: root/3636/CH11/EX11.7/Ex11_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH11/EX11.7/Ex11_7.sce')
-rw-r--r--3636/CH11/EX11.7/Ex11_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3636/CH11/EX11.7/Ex11_7.sce b/3636/CH11/EX11.7/Ex11_7.sce
new file mode 100644
index 000000000..769cae52b
--- /dev/null
+++ b/3636/CH11/EX11.7/Ex11_7.sce
@@ -0,0 +1,11 @@
+clear;
+clc;
+VBB=24 //in V
+r1=3 //in k-ohm
+r2=5 //in k-ohm
+
+//Calculation
+n=r1/(r1+r2)
+VP=(n*VBB)+0.7
+
+mprintf("peak-point voltage= %1.1f V",VP)