I have a function BesselJ[1, X] = BesselJ[0, Y] and I need to solve Y for a range of X and then use Y in a different equation. Z(X) = Y + const*X
I was only able to use ContourPlot to plot the first function but I want to create [X,Y] pair and then use loop to compute Z(X). I tried both NDSolve and Solve but they don't seem to be working for these special function.
Thanks
I have no idea why you need to use
NDsolvefor as there is no differential equations here. And no body uses loops in Mathematica :) UseFindRootto find the root and then plot the functionz[x]. I usedxas the guess where to start root search from when solving foryinBesselJ[1, x] == BesselJ[0, y]since one has to pick a point. Fee free to change this if you think there should be a better guess to use.