particle system control with slider

how i control particle system rate over time to slider.

i try this = Unity - Scripting API: ParticleSystem.EmissionModule.rateOverTime

but not successful

no clue
absolutely no idea in the slightest