where:
d = sight distance for safe stopping distance in feet
V = the velocity in miles per hour
g = percent of grade (in decimal form) divided by 100