summaryrefslogtreecommitdiff
path: root/3875/CH1/EX1.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3875/CH1/EX1.3
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3875/CH1/EX1.3')
-rw-r--r--3875/CH1/EX1.3/1_3.txt2
-rw-r--r--3875/CH1/EX1.3/Ex1_3.sce21
2 files changed, 23 insertions, 0 deletions
diff --git a/3875/CH1/EX1.3/1_3.txt b/3875/CH1/EX1.3/1_3.txt
new file mode 100644
index 000000000..c564134cb
--- /dev/null
+++ b/3875/CH1/EX1.3/1_3.txt
@@ -0,0 +1,2 @@
+Amplitude of oscillation = 1.26e-02 m
+Phase relative to the applied force is = 161.6 degree \ No newline at end of file
diff --git a/3875/CH1/EX1.3/Ex1_3.sce b/3875/CH1/EX1.3/Ex1_3.sce
new file mode 100644
index 000000000..55cb9d52e
--- /dev/null
+++ b/3875/CH1/EX1.3/Ex1_3.sce
@@ -0,0 +1,21 @@
+clc ;
+clear ;
+m=0.1 // mass in kg
+K=100 //spring constant in N/m
+c=1 //resistive force in Nsm^-1
+F0=2 //force in N
+omega=50 //frequency in rad/s
+
+//calculation
+
+omega_n=sqrt(K/m) //in rad/s
+r=omega/omega_n
+delta_st=F0/K //in m
+damp_ratio=c/(2*m*omega_n)
+A=delta_st/(sqrt((1-r^2)^2+(2*r*damp_ratio)^2))
+tan_phi=(2*r*damp_ratio)/(1-r^2) //in degree
+phi=180+atand(tan_phi) //converting degree to postive form
+
+mprintf("Amplitude of oscillation = %1.2e m\n",A)
+mprintf("Phase relative to the applied force is = %1.1f degree",phi)
+//The answers vary due to round of errors