Showing posts with label Numerical Methods. Show all posts
Showing posts with label Numerical Methods. Show all posts

Friday, July 14, 2017

Numerical methods

C++ program for curve fitting of linear and exponential equation For linear: #include<iostream> using namespace std; class datacalc { private:     float sumxsq,sumxy,sumx,sumy;     float valuex[50],valuey[50];     float a,b;     int i,n; public:     void getdata()     {         cout<<"enter the no. of data to input:";      ...