summaryrefslogtreecommitdiff
path: root/671/CH4/EX4.1/4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '671/CH4/EX4.1/4_1.sce')
-rwxr-xr-x671/CH4/EX4.1/4_1.sce5
1 files changed, 5 insertions, 0 deletions
diff --git a/671/CH4/EX4.1/4_1.sce b/671/CH4/EX4.1/4_1.sce
new file mode 100755
index 000000000..f71274753
--- /dev/null
+++ b/671/CH4/EX4.1/4_1.sce
@@ -0,0 +1,5 @@
+Iav=1/(2*%pi)*integrate('20*sin(wt)','wt',%pi/3,%pi)
+disp(Iav)
+
+Irms=sqrt(1/(2*%pi)*integrate('(20*sin(wt))^2','wt',%pi/3,%pi))
+disp(Irms) \ No newline at end of file