The purple curve is sin(X)The grey curve is tan(x)The blue curve is f(x)The red curve is f(x)*sin(x)Can you alter the definition of f(x) so that the red curve lies on top of the grey curve?

App generated by Geometry Expressions