ut+1/2at² java program
Answers
Answered by
2
Answer:
import java.util.*;
class phy
{
public static void main()
{
Scanner sc=new Scanner(System.in);
int u,t,a;
System.out.println("Enter the values");
u=sc.nextInt();
t=sc.nextInt();
a=sc.nextInt();
int s=u*t+1/2*a*Math.pow(t,2);
System.out.println(s);
}
}
Answered by
1
Answer:
(u * t) + ( 1/2 * a * t * t).
Explanation:
ut+1/2at^2 in java program
So,
(u * t) + ( 1/2 * a * t * t)
Similar questions
English,
1 month ago
Sociology,
2 months ago
Physics,
2 months ago
World Languages,
9 months ago
Physics,
9 months ago