How do I make a particle system follow a function?

I want to make the player press on the screen somewhere and the an existing particle system should then draw a mathematical graphical function like f(x)=-x²+10 (or any other number, depending on where the click is), starting at the players position so you can see the trajectory. But I cannot find an answer anywhere on how to do this. All I can do with the particle system is make it follow the mous or changin the shape, but the shape hasn’t got the option to follow a curve or function like pattern.

You need a raycast, with compare tags were wich function is placed. The ray instantiates the particle system. You cant make the shape looks like a number. You need to create a Texture for each, and assign it do differen particle systems.