From linear to exponential PWM output

Can you post the output of the function?
What are the values used in the function??