import java.lang.*;
public class velocity2{
public static void main(String [] args){
double u=5, a=3.5, s=2, v=0;
v=Math.sqrt(u*u+2*a*s);
System.out.println("Velocity is="+v);
}
}
public class velocity2{
public static void main(String [] args){
double u=5, a=3.5, s=2, v=0;
v=Math.sqrt(u*u+2*a*s);
System.out.println("Velocity is="+v);
}
}
No comments:
Post a Comment