Message Boards Message Boards

0
|
3200 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

Solve function: All solutions in a limited region

Posted 9 years ago

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

POSTED BY: Chris Smith
2 Replies
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}}
POSTED BY: Frank Kampas
Posted 9 years ago

Thank you! That worked out just fine!!!

POSTED BY: Chris Smith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract