summaryrefslogtreecommitdiff
path: root/371/CH2/EX2.1/2_1_sci.sce
diff options
context:
space:
mode:
Diffstat (limited to '371/CH2/EX2.1/2_1_sci.sce')
-rwxr-xr-x371/CH2/EX2.1/2_1_sci.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/371/CH2/EX2.1/2_1_sci.sce b/371/CH2/EX2.1/2_1_sci.sce
new file mode 100755
index 000000000..f815a4d08
--- /dev/null
+++ b/371/CH2/EX2.1/2_1_sci.sce
@@ -0,0 +1,6 @@
+//chapter 2:THE DEVICE
+//Example 2.1
+ Vpiv=1500;//peak inverse voltage//
+ V=415;//main supply//
+ Vf=Vpiv/(sqrt(2)*V);//voltage safety factor//
+printf('value of voltage safety factor=%fv',Vf); \ No newline at end of file