blob: 876e060dd7c9bc75488e899c6c0ef802dffc944d (
plain)
1
2
3
4
5
6
7
8
|
clc
// Given that
m = 100 // mass of particle in gm
// Sample Problem 9 on page no. 7.25
printf("\n # PROBLEM 9 # \n")
n = (1 / (2 * %pi)) * sqrt(10 / m) // by using given formula
printf("\n Standard formula used \n n = (1 / (2 * pi)) * sqrt(10 / m). \n")
printf("\n Frequency = %f Hz.",n)
|