diff options
Diffstat (limited to '3588/CH10/EX10.1')
-rw-r--r-- | 3588/CH10/EX10.1/EX10_1.sav | bin | 0 -> 23200 bytes | |||
-rw-r--r-- | 3588/CH10/EX10.1/EX10_1.sce | 21 |
2 files changed, 21 insertions, 0 deletions
diff --git a/3588/CH10/EX10.1/EX10_1.sav b/3588/CH10/EX10.1/EX10_1.sav Binary files differnew file mode 100644 index 000000000..b44b19fee --- /dev/null +++ b/3588/CH10/EX10.1/EX10_1.sav diff --git a/3588/CH10/EX10.1/EX10_1.sce b/3588/CH10/EX10.1/EX10_1.sce new file mode 100644 index 000000000..aa12a0a1d --- /dev/null +++ b/3588/CH10/EX10.1/EX10_1.sce @@ -0,0 +1,21 @@ +//Clearing console +clc +clear + +//Intializing variables +mg = 20 +k = 25 +g = 386.4 + +//Calculating circular frequency +w = sqrt(k*g/mg) + +//Solving for constants in equation of motion +fi = acosd(0/w) +C = (2.3-0.8)/sind(fi) + +//Circular frequency in Hz +f = w/(2*%pi) + +printf('\nResults\n') +printf('\nCircular Frequency =%fHz\n Amplitude =%fin\n Phase Angle =%fdegree',f,C,fi) |