Write a computer program to calculate the minimum length of a vertical curve connecting two known
grades g1 and g2, which must clear an underground utility (in case of a sag curve) by a known distance C.
The user should supply the program with the design speed, station and elevation of the P.I., and the
grades g1 and g2.
Also, the program should provide the clearance C, the critical point, the detailing of the vertical curve at
the intervals (stations) to be provided by the user. A plot of the vertical curve should be also provided.
Make sure to build up a user friendly and interactive.
what equation is used? ............................................................................................................................................................