I know the definition of intersection multiplicity in algebraic geometry. However, I think it is possible to define it for some sort of non-algebraic functions such as $y=\sin x$.

>How to define this?