Just do display(plot(...)) or swap the calls around so that plot is called last and to println(newton(...)) to print the result to the REPL?
Just do display(plot(...)) or swap the calls around so that plot is called last and to println(newton(...)) to print the result to the REPL?