Hello,
basically I want Mathematica to calculate the first 5 solutions for a periodical function. I want either the function to only be defined in a region e.g. 0 to 10, or the Solve[] function to return 5 possible solutions in a region between 0 to 10.
How can I solve this task?
This is the function: 0.6 == (Sin[2 * Pi * d * n/[Lambda]])^2 * (Sin[2 * [Beta]])^2
And I want the first 5 possible solution beginning at zero.
Thanks for your help
In[5]:= Solve[{Sin[\[Pi] x] == 0, 0 <= x <= 10}, x] Out[5]= {{x -> 0}, {x -> 1}, {x -> 2}, {x -> 3}, {x -> 4}, {x -> 5}, {x -> 6}, {x -> 7}, {x -> 8}, {x -> 9}, {x -> 10}}
Thank you! That worked out just fine!!!