Share your repls and programming experiences

← Back to all posts
#WEEKLY yay math
h
Lord_Poseidon (156)

Any polynomial with no more than two complex roots will work. This program uses Newton's Approximation method. Julia because it's built for numerical calculations.

https://en.wikipedia.org/wiki/Newton%27s_method

I actually wrote comments in the code this time. That's new

This only took more than 10 lines because I went beyond the scope of the challenge.

Commentshotnewtop
AmazingMech2418 (661)

It's kind of funny that you put comments in the code this time and I didn't. LOL! I decided to use a full lexer and parser to include combining like terms and stuff...

Lord_Poseidon (156)

@AmazingMech2418 so im not the only person to overdo things. Good to know