summaryrefslogtreecommitdiff
path: root/1271/CH7/EX7.7/example7_7.sce
blob: 853629f682bbfa6055db161dc19338585826e557 (plain)
1
2
3
4
5
6
7
8
9
clc 
// Given that
k = 16 // stiffness constant of spring n/m
m = 1 // mass of particle in kg
// Sample Problem 7 on page no. 7.24
printf("\n # PROBLEM 7 # \n")
n = sqrt(k / m) / (2 * %pi)
printf("\n Standard formula used \n n = sqrt(k / m) / (2 * pi).\n")
printf("\n natural frequency = %f Hz.",n)