blob: 4c0636b100fc8341d51d808e9714cc5475c08021 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// SAMPLE PROBLEM 8/7
clc;funcprot(0);
// Given data
rbar=0.9;// m
k_o=0.95;// The radius of gyration in m
g=9.81;// The acceleration due to gravity in m/s^2
// Calculation
tau=2*%pi*sqrt(k_o^2/(g*rbar));// The period for small oscillations about the pivot in s
printf("\nThe period for small oscillations about the pivot,tau=%1.2f s",tau);
|