Computer Science, asked by maitooamreshkumar, 6 months ago

Write the following expression in Java : T=2.pier.(Square root of L divided by G for quotient)​

Answers

Answered by BrainlyProgrammer
1

Answer:

Java expression for:

t = 2.\pi. \sqrt{ \frac{l}{g} }

_______

Statement:-

t=2*(Math.PI)*(Math.sqrt(l/g));

_________

Math.PI :- Used for π

Math.sqrt() :- Used for finding square root

Answered by anindyaadhikari13
1

Correct Question:-

➡ Write a Java expression for T=2π√(l/g)

Answer:-

The Java expression will be,

double T=2*Math.PI*Math.sqrt(l/g);

Note:-

  1. Math.PI contains the value of pi.
  2. Math.sqrt() is used to calculate the square root of a number.
Similar questions