summaryrefslogtreecommitdiff
path: root/3648/CH13/EX13.2/Ex13_2.sce
blob: 3086dc841d3866d304723ac2e61dae58583b53b1 (plain)
1
2
3
4
5
6
7
8
//Example 13_2
clc();
clear;
//To find the frequency of the vibrations
spring=24.5       //Units in N/m
m=2      //Units in Kg
f=(1/(2*%pi))*sqrt(spring/m)        //Units in Hz
printf("The frequency of vibrations is f=%.2f Hz",f)