summaryrefslogtreecommitdiff
path: root/3835/CH4/EX4.2/Ex4_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3835/CH4/EX4.2/Ex4_2.sce')
-rw-r--r--3835/CH4/EX4.2/Ex4_2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3835/CH4/EX4.2/Ex4_2.sce b/3835/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..9e41ffa41
--- /dev/null
+++ b/3835/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,18 @@
+clear
+//
+//given
+vm=155
+omega=377
+//case a
+t=(2*3.14)/(omega)
+printf("\n t= %e sec",t)
+//case b
+f=1/(t)
+printf("\n f= %e Hz",f)
+//case c
+v=109.60 //rms value
+//at t=0 -77.5=155*sin(ang)
+//therefore, ang=-0.5236 rad
+ang=-0.5236
+t=ang/omega
+printf("\n t= %e sec",t)