How to fit the shape of a block on a curve

Hi, 

i am working on an esquisse 2D on SolidWorks 2016.

I need to understand how to distort a shape to fit it on an equation-driven curve.

In the example below, if I draw a rectangle and a curve just below it, how can I reshape the rectangle to fit the curve, including the distorsions involved by the curve ? 

At the end, the rectangle looks like a thick curve. 

I need to do it to a block (assembly of rectangle).

Is it feasible ? 

Thank for your help