write a program to find or calculate the value of t using given formula T= 2r√l/g in Java program
Answers
Answered by
0
Answer:
import java.lang.Math;
public class Main
{
public static void main(String[] args) {
int r = 15 , l = 20 , g = 36;
double var = (2*r*(Math.sqrt(l)));
double T = var / g;
System.out.println("T is " + T);
}
}
Explanation:
Similar questions