Thanks for that. My main problem is that I want to take my calculated values of x, fx, and gradx and use it to calculate their next values. The value of x should converge using this method, however...
Type: Posts; User: zeb1d1ah
Thanks for that. My main problem is that I want to take my calculated values of x, fx, and gradx and use it to calculate their next values. The value of x should converge using this method, however...
I finally got this working, many thanks to those who contributed! My understanding of c is starting to increase!
Thanks,
Z
Hello I am trying to programme c to use the newton raphson method to evaluate roots of an equation.
My code is as follows:
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
double test(double );
double a;
a=0.4+(8039.0/25000);
int main()
{
double y_value[100];
double x_value[100];
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
double test(double );
int a;
a=0.4+(8039/25000);
int main()
{
double y_value[100];
double x_value[100];
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
double result(double );
int main()
{
double y_value[100];
double x_value[100];
int n1;
int a;
insert
int main()
{
double y_value[100];
double x_value[100];
int n1;
int a;
File*excel data;
Hello,
I am trying to solve an equation using c programming. Basically I need to write a program that calulates solutions to the equation for a range of values of x, where x >0. I am new to c...