i have this function f(x)= e^X-3X^2

I need to write a computer program that find all three roots by the use of newton raphson method and option of finding a root by use of fixed point iteration.

this is all i came up with so far..

i need help...

```
#include <iostream.h>
#include<iomanip>
#include<math.h>
using namespace std;
//(&f) (x) reference to function f(x)//
//(fdiv)(x) reference to function f'(x)//
double x;
double func_1;
doublefdiv_1;
//............................................................//
//test function
double func_1(double x)
{
return (e^x-3x^2);
//f(x)=e^x-3x^2=0
}
double fdiv_1(double x)
{
return (e^x-6x);
// f'(x)=e^x-6x
```

i dont know if i am starting the program right.. i need help on how to start the program