blob: bf03a209a4184c96ad2cb747fc5adeb9d3f2ddcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc
clear
//INPUT DATA
L=1;//Length of pendulum in m
B=0.05;//Width of pendulum in m
//CALCULATIONS
k=sqrt((L^2+B^2)/12);//Radius of gyration in m
D=((L/2)-k)*100;//distance of point of minimum time period from one end in cm
//OUTPUT
mprintf('The minimum time period is obtained at %3.2f cm',D)
|