Hey all! I'm trying to write a code for the Newton Raphson method in C.

I'm very new to coding and can't figure out how to make a loop to change my x0 into x1 for the next iteration.

Any help is appreciated! Thank you!