Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • $\begingroup$ really like your answer +1 :) $\endgroup$ Commented Feb 29, 2016 at 12:32
  • $\begingroup$ @ubpdqn thank you! I couldn't decide whether FindRoot or NSolve was a better way to go, but it was easy enough to get NSolve to return both values so I went with it. Sometimes it will spit back an error about exact/inexact values, but it still gave an answer so I slapped Quiet on there. $\endgroup$ Commented Feb 29, 2016 at 12:37