Shape current through coil
The voltage on L is the first derivative of the current. So, if know what current you need, then find the first derivative and you will have the voltage on the coil. 
The voltage on the resistance is by Ohm's law: Ur=Ir*R, where Ir = IL (because they are serially connected.
The sum of these two voltages will give you the input voltage you need to apply in order to get the needed current.


Another approach is to simply make a model of the needed schematic and play with it:







simulate this circuit &ndash; Schematic created using CircuitLab