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.

Required fields*

3
  • I think indeed that for plotting, obsession with Newton iteration as in my answer is a bit irrelevant as only 5 decimal places is already precise enough. But out of curioosity could you give Lua conversion of the code in my answer? (Sadly I did only explicitly the case of e^x = mx in your notations). I am unable to do it myself. Commented 17 hours ago
  • 2
    @user691586 I updated my answer to include Newton’s method. Choosing a suitable initial guess required a bit more care, but everything works. Commented 15 hours ago
  • +1. I've taken the liberty of editing your code to insert meta instructions to highlight the Lua code chunks. Feel free to revert. Commented 7 hours ago