Find the multiple

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?

This document requires an HTML5-compliant browser.
f(x)

App generated by Geometry Expressions