summaryrefslogtreecommitdiff
path: root/3875/CH1/EX1.1/Ex1_1.sce
blob: e017a533aa38603f1622ee0050bda257d14995bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc ;
clear ;
m=100*10^-3 //flat disc mass in kg
t=60 //time period of  oscillation in sec
omega=10 //frequency in Hz

//Calculation
damp_omega=log(2)/60 //amplitude of damped oscillator for A/C = 1/2 in rad/s
c= 2*m*damp_omega
tau= 1/damp_omega

mprintf("Resistive force = %0.2e newton-s/meter \n",c)
mprintf("Relaxation time = %2.2f s",tau) //The answer provided in the textbook is wrong.