#include <math.h>
#include <stdio.h>
Functions | |
double | f (double x) |
The function whose roots are to be computed. | |
double | fd (double x) |
The derivative of f. | |
int | main () |
Launch Newton's method. |
Make sure to compile with '-lm' for trigonometric functions.
double f | ( | double | x | ) |
The function whose roots are to be computed.
double fd | ( | double | x | ) |
The derivative of f.
int main | ( | ) |
Launch Newton's method.
Algorithm Development Kit 1.0