blob: 01e7683f84eae3b4718471259f4c1ab879f7c7bd (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 6.3 // Period of Oscillation
clc;
clear;
//given data :
l=1;// length of pendulum in m
m=1;// mass of pendulum in kg
g=9.8;//acceleration of gravity in m/s2
T=2*%pi*sqrt(l/g);//time period
disp(T,"Period of Oscillation in sec")
|