Compute the elevation at any point on a vertical curve from the grade and curve length.
输入前坡 g₁、后坡 g₂、曲线长 L 与距起点距离 x,求相对高程 y。