Java Programming
The time period of a simple pendulum is given by the formula :
write a program to calculate the time period of a simple pendulum by taking length and acceleration due to gravity (g) as input :
Answers
Answered by
5
int g=Integer.parseInt (br.readLine ());
int l=Integer.parseInt (br.readLine ());
t=2×3.14×Math.pow(l/g,1/2);
System.out.print (t);
aftab91825:
but pai ka value 22/7 dena hai
Similar questions