i just found out its using the switch function, so please ignore my ignorance
Type: Posts; User: GCobbz
i just found out its using the switch function, so please ignore my ignorance
im trying to set the accuracy of an output by a value which is input.
ive got the number coded in etc, and im trying to determine how many numbers should appear after the decimal place.
atm i...
i used the old fashioned, change all the %f -> %lf so the code actually makes some sense ;)
right, i fixed it and it works incase anyone cares its now
#include<math.h>
#include<stdio.h>
double func(double x);
double deriv(double x);
double func(double x)
would love to but i gotta use this silly newton-raphson method :(
thanks for the support :o
im new to this, and im a physics student with this leet programming course to attempt, thanks thou :)
hi im a retard and i cant get this to work any of you super chaps can help would be appreciated my code is
#include<math.h>
#include<stdio.h>
double func(double x);
double deriv(double x);
...