summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.26
diff options
context:
space:
mode:
Diffstat (limited to '1184/CH2/EX2.26')
-rwxr-xr-x1184/CH2/EX2.26/Ex2_26.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1184/CH2/EX2.26/Ex2_26.sce b/1184/CH2/EX2.26/Ex2_26.sce
new file mode 100755
index 000000000..39ca7c4fd
--- /dev/null
+++ b/1184/CH2/EX2.26/Ex2_26.sce
@@ -0,0 +1,13 @@
+//Example 2-26,Page No - 82
+
+clear
+clc
+
+Vpeak =3
+f=48*10^3
+
+fifth_harmonic = 5*f
+Vrms=(4/3.14)*(3/5)*0.707
+
+printf('The frequency of the fifth harmonic is %.1f Khz',fifth_harmonic/10^3)
+printf('\n The RMS voltage of the fifth harmonic is %.2f',Vrms)