summaryrefslogtreecommitdiff
path: root/3594/CH15/EX15.6/Ex15_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3594/CH15/EX15.6/Ex15_6.sce')
-rw-r--r--3594/CH15/EX15.6/Ex15_6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3594/CH15/EX15.6/Ex15_6.sce b/3594/CH15/EX15.6/Ex15_6.sce
new file mode 100644
index 000000000..4e62ef86d
--- /dev/null
+++ b/3594/CH15/EX15.6/Ex15_6.sce
@@ -0,0 +1,18 @@
+//to find the amplitude if the period of the applied force coincided with the natural period of vibration of the system
+clc
+//given
+m=20//lb
+k=50//lb/in
+F=30//lb
+w=50//sec^-1
+g=32.2//ft/s^2
+d=m/k
+x=F/k//extension of the spring
+b=g*12/d
+a=(b/30.02)^(1/2)//from equation 15.28
+D=1/((1-w^2/b)^2+a^2*w^2/b^2)^(1/2)
+Af=D*x//amplitude of forced vibration
+D=(b/a^2)^(1/2)//At resonance
+A=D*x//amplitude at resonance
+printf("\nAmplitude of forced vibrations = %.3f in\nAmplitude of the forced vibrations at resonance = %.2f in",Af,A)
+