summaryrefslogtreecommitdiff
path: root/3204/CH24/EX24.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3204/CH24/EX24.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '3204/CH24/EX24.1')
-rw-r--r--3204/CH24/EX24.1/Ex24_1.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3204/CH24/EX24.1/Ex24_1.sce b/3204/CH24/EX24.1/Ex24_1.sce
new file mode 100644
index 000000000..8d0d7ed9e
--- /dev/null
+++ b/3204/CH24/EX24.1/Ex24_1.sce
@@ -0,0 +1,17 @@
+// Initilization of variables
+f=1/6 // oscillations/second
+x=8 // cm // distance from the mean position
+// Calculations
+omega=2*%pi*f
+// Amplitude is given by eq'n
+r=sqrt((25*x^2)/16) // cm
+// Maximum acceleration is given as,
+a_max=(%pi/3)^2*10 // cm/s^2
+// Velocity when it is at a dist of 5 cm (assume s=5 cm) is given by
+s=5 // cm
+v=omega*sqrt(r^2-s^2) // cm/s
+// Results
+clc
+printf('(a) The amplitude of oscillation is %f cm \n',r)
+printf('(b) The maximum acceleration is %f cm/s^2 \n',a_max)
+printf('(c) The velocity of the particle at 5 cm from mean position is %f cm/s \n',v)