Mode Gelap

Recent in Fashion

Best Seller Books

Gravity Fall

  • Problem Description

    Create a program that determines how quickly an object is traveling when it hits the ground. The user will enter the height from which the object is dropped in meters (m).

    Because the object is dropped its initial speed is 0m/s. Assume that the acceleration due to gravity is 9.8m/s. 

    vf =squareroot(vi+2ad) 

    You can use the formula given above to compute the final speed, vf , when the initial speed, vi , acceleration, a, and distance, d, are known
  • CODING ARENA
  • import math
    a=int(input())
    ans=math.sqrt(2*9.8*a)
    print("The object will hit the ground at",round(ans,2),"m/s")

  • Test Case 1

    Input (stdin)
    45

    Expected Output
    The object will hit the ground at 29.7 m/s
  • Test Case 2

    Input (stdin)
    148

    Expected Output
    The object will hit the ground at 53.86 m/s

Subscribe Our Newsletter

avatar
"By speaking behind my back, it means that you respect my existence enough not to act in front of my face."

Related Posts

0 Comment

Post a Comment

Article Top Ads

Parallax Ads

Article Center Ads

Article Bottom Ads