Geometry parametrization

Hei, i have this situation of a bridge slab:

And I need to parametrize the shape of the geometry in a way that the upper edge line curves for certain length and user can apply input list different amplitudes(for example every 0.5m) to be like this:

Here is the definition: (9.3 KB)