solution for implicit function with boundary condition

asked 8 years ago

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Hello everyone I have a equation of

xsin(θ0)+ycos(θ0)+Cy0asin(((xcos(θ0)ysin(θ0))+Cx0)/Wavelength2π)==0

which is the graph of asin(x/Wavelength2π)

translate Cx0,Cy0 and turn θ degree

Now I want to find the value of y for every x

and the boundary condition is -5<x&lt;5 and="" -2<y&lt;2<="" p="">

I only need numerical solution So I write(for example)

xxx=1
solve([xxx*sin(theta0)+yy*cos(theta0)+Cy0-a*sin(((xxx*cos(theta0)-yy*sin(theta0))+Cx0)/Wavelength*2*pi)==0],yy)

but it only give me

yy == -1591171550/11651589*sin(-8742223/40728696*pi + 1674841/89990759*pi*yy) - 2736327944741683/32059067495364

This is not what I need How can I solve it?

Preview: (hide)