Hi all
I just finished my simpson 3/8 rule program. But I'd like to modify it.
The program should stop when a given precision is reached...Without the
if clause the programm calculates the...
Type: Posts; User: Matts
Hi all
I just finished my simpson 3/8 rule program. But I'd like to modify it.
The program should stop when a given precision is reached...Without the
if clause the programm calculates the...
finally it works, thx for your support!
Matts
void newtonRaphson(double eps,int *pn2,double **a)
{
//variable declaration
// array: every calculated value is stored into it
double *b = 0;
int array_size = 10;
a = (double*)...
I more or less sure that it is wrong like that. But now I have a pointer but I should give my function an address so that it can manipulate it ..
double *array is a variable that holds a pointers...
ok thx.
so I declare: double *array
but can I fill in its address in the function like that?
newtonRaphson(eps,&n2,&array);
hi thx for the answers.
my issue is to store the values in the array variable and not intoa .. so I have to do it still your way? (@quzah)
void newtonRaphson(double eps,int *,double *);
int...
Hi.
I'm working on a program that implements several numerical methods.
This is the function for the Newton-Raphson method. I'd like to give the funcion the precison, number of steps, and an array...
It doesn't work either. The result is still: 3265920
Hi guys
I'm working on the issue to understand pointers and addresses in c programming.
Unfortunately I don't see the problem here. For a c programmer my question should be easy to response :)
...