Math, asked by diyab0416, 11 months ago

Write a program in java to find velocity of a moving object based on v^2=u^2+2as
(in a most easiest way)

Answers

Answered by HarshRaj2885
4

just write all the default syntax

and the declare variable according to the logic below

v=Math.sqrt(u*u+2*a*s);


diyab0416: kk
diyab0416: do we use double v=Math.sqrt(u*u+2*a*s)
diyab0416: or just
diyab0416: Math. sqrt(u*u+2*a*s)
diyab0416: v=Math. sqrt(u*u+2*a*s)
HarshRaj2885: first one is correct
diyab0416: kk
diyab0416: tysm
diyab0416: output came
diyab0416: ty
Similar questions