summaryrefslogtreecommitdiff
path: root/995/CH4/EX4.4/Ex4_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '995/CH4/EX4.4/Ex4_4.sce')
-rwxr-xr-x995/CH4/EX4.4/Ex4_4.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/995/CH4/EX4.4/Ex4_4.sce b/995/CH4/EX4.4/Ex4_4.sce
new file mode 100755
index 000000000..98c9013e2
--- /dev/null
+++ b/995/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,7 @@
+//Ex:4.4
+clc;
+clear;
+close;
+V_rms=240;//in Volts
+V_pk=1.414*V_rms;
+printf("Peak voltage of %d V RMS voltage = %f V",V_rms,V_pk); \ No newline at end of file