summaryrefslogtreecommitdiff
path: root/2075/CH5/EX5.7/pe5_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2075/CH5/EX5.7/pe5_7.sce')
-rwxr-xr-x2075/CH5/EX5.7/pe5_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2075/CH5/EX5.7/pe5_7.sce b/2075/CH5/EX5.7/pe5_7.sce
new file mode 100755
index 000000000..07c36f13c
--- /dev/null
+++ b/2075/CH5/EX5.7/pe5_7.sce
@@ -0,0 +1,11 @@
+//example 5.7
+clc; funcprot(0);
+// Initialization of Variable
+Vi=350;//voltage
+f=100;//frequency
+Rf=10000;//resistance
+Ri=520;
+//calculation
+Vp=(1+(Rf/Ri))*Vi*2^.5;
+disp(Vp/1000,"load voltage in V:")
+clear()