Computer Science, asked by aadityabsingh81, 7 months ago

Write a program in JAVA for the following:

To calculate and display acceleration (a) for the given final velocity(v), initial velocity (u) and
time(t)
Hint: a=(v-u)/t

Plz do not spam or write the wrong answer. First answer gets marked Brainliest

Answers

Answered by itsgagan
0

Answer:

v² - u² = 2as

Where,

v = final velocity

u = initial velocity

a = acceleration

s = distance

As we need to find the final velocity, where initial velocity, acceleration and distances are inputted, the formula will be moulded as :

v² = 2as + u²

v = √(2as + u²)

And we import Math library to access the sqrt() function that helps in computing the square root operation.

Similar questions