Main menu
Forums
C++ Tutorial
::Introduction
::Basics of C++ ::Control structures ::Compound Data Types ::C style functions in C++ ::Object Oriented Programming ::The Standard Template Library (STL) |
www.cpp4u.com > C++ Source Code > MathMathMathWeb-pages QUADRATIC - http://apurvaslair.50g.com/cpp/files/beginner/quadratic.zip
This Program takes the coefficients (a,b,c) of a quadratic equation ax²+bx+c as inputs and outputs the resultant roots. straightlines1.zip - http://www.cpp4u.com/files/programlair/straightlines1.zip
This mathematical program calculates the various variables invovled in the calculations of the equation of a straight line in the order ax² + 2hxy + by² = 0. All the conventions employed by the program are explained within the program itself. Author Anish Pasari straightlines2.zip - http://www.cpp4u.com/files/programlair/straightlines2.zip
This is another mathematical program which calculates any of the variables invovled in the calculations of the equation of a straight line in the order ax² + 2hxy + by² + 2gx + 2fy + c = 0. All conventions are explained within the program itself. Author Anish Pasari
mathop.zip - http://www.cpp4u.com/files/programlair/mathop.zip
This is a header file which performs various mathematical operations. You will have to copy it to the \\Include directory of your compiler to be able to use it. The exact functions as well as their use have been explained within the header file itself. Author Apurva Mehta
quadratic.zip - http://www.cpp4u.com/files/programlair/quadratic.zip
This Program takes the coefficients (a,b,c) of a quadratic equation ax²+bx+c as inputs and outputs the resultant roots. Author Apurva Mehta
Solving NonLinear Equations - http://www.cpp4u.com/files/progdize2/NA_ALIRAZA.zip
C# Author ALI RAZA SHAIKH Gauss Seidal - http://www.cpp4u.com/files/progdize2/Gauss-Seidel.zip
Solution of euation by Gauss Seidal C# Author FIDA HUSSAIN
Gauss Jordon - http://www.cpp4u.com/files/progdize2/Gauss-Jordan.zip
Solution of equation by Gauss-Jordan C# Author FIDA HUSSAIN
Fixed Point Iteration - http://www.cpp4u.com/files/progdize2/Fixed-Point-Iteration.zip
Solution of euation by Fixed Point Iteration C# Author FIDA HUSSAIN
Bisection - http://www.cpp4u.com/files/progdize2/Bisection.zip
C# Author FIDA HUSSAIN
Lagrangian-Polynomial - http://www.cpp4u.com/files/progdize2/Lagrangian-Polynomial.zip
Solution of euation by Lagrangian-Polynomial C# Author FIDA HUSSAIN Modified-False Position - http://www.cpp4u.com/files/progdize2/Modified-False-Position.zip
solution of equation C# Author FIDA HUSSAIN
Newton-Raphson - http://www.cpp4u.com/files/progdize2/Newton-Raphson.zip
C# Author FIDA HUSSAIN
Equation Solver - http://www.cpp4u.com/files/ai/Equation_Solver-1.zip
These program can solve first and second degree polynomial equation. It evens works when the roots are complex numbers(when delta is a negative value).By: Gonzales Cenelia Integer Test - http://www.cpp4u.com/files/ai/Very_Preci1304709132002-1.zip
Sometimes we need a way to test the user input to know if it is an integer, i have seen many algorythm for doing this,but a lot of them are incomplete since they only check to see if the input contain the numeric values from 0 to 9 if so it is said that the input is a number.Here you will fine a more precise way to test the user input for knowing if it is an integer. If you like this code,please vote for it ! written by Gonzales Cenelia.
Breaking Numbers - http://www.cpp4u.com/files/ai/Breaking18059810152004-1.zip
this code can be use for breaking numbers.An example of it: lets say that a user enter "561365" as input, the program will put every single digits of this number into an array.So later you can do any manipulation that requires to use this number's digits.By: Gonzales Cenelia Matrix Operations - http://www.cpp4u.com/files/vivekpatel/matrix.zip
Matrix Operation program is develped by considering three basic and most useful matrix operation such as Addition, Subtraction and Multiplication...with these basic understanding user can developed all other operations by applying their logic. Auther Vivek Patel
Factorial of anumber - http://cpp4u.com/files/MTS/Algorithms/ALGO-01.zip
A C++ Program to coumputes and displays the factorial of the given number ( using Recursive Algorithm ).
Matrix Multiplication. - http://cpp4u.com/files/MTS/Algorithms/ALGO-04.zip
A C++ Program to Multiply two Matrices. Author:Muhammad Tahir Shahzad
matrix Multiplication using Divide and Conquer Strategy - http://cpp4u.com/files/MTS/Algorithms/ALGO-07.zip
A C++ Program to computes the product of two matrices of size 4x4 using Divide and Conquer Strategy. Author:Muhammad Tahir Shahzad
Matrix Multiplication - http://cpp4u.com/files/MTS/Algorithms/ALGO-08.zip
A C++ Program to computes the product of two matrices of size 4x4 using Strassen's Algorithm (Improved Divide and Conquer Strategy). Author:Muhammad Tahir Shahzad
Matrices Operations - http://cpp4u.com/files/MTS/data-structures/DS-01.zip
"A C++ Program to show the Multiplication, Addition, Subtraction, Sorting, Transpose, Searching and Merging of two Matrices.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Nth term of the fibonacci serie - http://cpp4u.com/files/MTS/data-structures/DS-35.zip
"A C++ Program that computes the Nth term of the fibonacci series and also print the series upto the Nth term.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
factorial of the given number - http://cpp4u.com/files/MTS/data-structures/DS-36.zip
"A C++ Program that reads a numbers , then coumputes and displays the factorial of the given number.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Gauss Elimination Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-01.zip
"A C++ Program to read a Linear System of Equations, then evaluate it by using Gauss Elimination Method and display the result.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
LU-Decomposition Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-02.zip
"A C++ Program to read a Linear System of Equations, then evaluate it by using LU-Decomposition Method and display the result.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Jacobi Iterative Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-03.zip
"A C++ Program to read a Linear System of Equations, then evaluate it by using Jacobi Iterative Method and display the result.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Guass-Seidel Iterative Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-04.zip
"A C++ Program to read a Linear System of Equations, then evaluate it by using Guass-Seidel Iterative Method and display the result.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Bisection Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-05.zip
"A C++ Program to read a Non-Linear equation in one variable, then evaluate it using Bisection Method and display its kD accurate root.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
False-Position Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-06.zip
"A C++ Program to read a Non-Linear equation in one variable, then evaluate it using False-Position Method and display its kD accurate root.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Modified False-Position Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-07.zip
"A C++ Program to read a Non-Linear equation in one variable, then evaluate it using Modified False-Position Method and display its kD accurate root.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Newton-Raphson Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-08.zip
"A C++ Program to read a Non-Linear equation in one variable, then evaluate it using Newton-Raphson Method and display its kD accurate root.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Secant Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-09.zip
"A C++ Program to read a Non-Linear equation in one variable, then evaluate it using Secant Method and display its kD accurate root.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Simple Itrative Method - http://cpp4u.com/files/MTS/numerical_analysis/NA-10.zip
"A C++ Program to read a Non-Linear equation in one variable, then evaluate it using Simple Itrative Method [ or Fixed-Point Method ] and display its kD accurate root.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Display the Difference Table - http://cpp4u.com/files/MTS/numerical_analysis/NA-11.zip
"A C++ Program to read a Non Linear Function [ or function values at different points ], then construct and display the Difference Table. Also read Difference Operators [ Shift, Forward and Backward Operators ], compute and diplay their values.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Lagranges's Formula - http://cpp4u.com/files/MTS/numerical_analysis/NA-12.zip
"A C++ Program to construct Lagranges's Formula from the given distinct data points and estimate the value of the function at the given points.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Divided Difference Table - http://cpp4u.com/files/MTS/numerical_analysis/NA-13.zip
"A C++ Program to construct and display Divided Difference Table from the given distict data points.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Newton's Divided Difference Interpolation Formula - http://cpp4u.com/files/MTS/numerical_analysis/NA-14.zip
"A C++ Program to construct Newton's Divided Difference Interpolation Formula from the given distict data points and estimate the value of the function at the given points.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Newton's Forward Difference Interpolation Formula - http://cpp4u.com/files/MTS/numerical_analysis/NA-15.zip
"A C++ Program to construct Newton's Forward Difference Interpolation Formula from the given distict equally spaced data points and estimate the value of the function at the given points.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Newton's Backward Difference Interpolation Formula - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-16.zip
"A C++ Program to construct Newton's Backward Difference Interpolation Formula from the given distict equally spaced data points and estimate the value of the function at the given points.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Cubic Spline - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-17.zip
"A C++ Program to determine whether the given function is a Cubic Spline or not.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Natural Cubic Spline Interpolant - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-18.zip
"A C++ Program to to construct Natural Cubic Spline Interpolant from the given data.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Clamped Cubic Spline Interpolant - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-19.zip
"A C++ Program to to construct Clamped Cubic Spline Interpolant from the given data.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
First Derivative of the function at the given points - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-20.zip
"A C++ Program to estimate the value of First Derivative of the function at the given points from the given data using Backward Difference Formula and Forward Difference Formula of Order One.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Central Difference Formula of Order Two - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-21.zip
"A C++ Program to estimate the value of First Derivative of the function at the given points from the given data using Central Difference Formula of Order Two.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Central Difference Formula of Order Four - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-22.zip
"A C++ Program to estimate the value of First Derivative of the function at the given points from the given data using Central Difference Formula of Order Four.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Central Difference Formula of Order Two - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-12.zip
"A C++ Program to estimate the value of Second Derivative of the function at the given points from the given data using Central Difference Formula of Order Two.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Central Difference Formula of Order Four - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-24.zip
"A C++ Program to estimate the value of Second Derivative of the function at the given points from the given data using Central Difference Formula of Order Four.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Third Derivative of the function - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-25.zip
"A C++ Program to estimate the value of Third Derivative of the function at the given points from the given data using Central Difference Formula of Order Two.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Third Derivative of the function - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-26.zip
"A C++ Program to estimate the value of Third Derivative of the function at the given points from the given data using Central Difference Formula of Order Four.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Fourth Derivative of the function - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-27.zip
"A C++ Program to estimate the value of Fourth Derivative of the function at the given points from the given data using Central Difference Formula of Order Two.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Fourth Derivative of the function - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-28.zip
"A C++ Program to estimate the value of Fourth Derivative of the function at the given points from the given data using Central Difference Formula of Order Four.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Trapezoidal Rule - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-29.zip
"A C++ Program to estimate the Integral value of the function at the given point from the given data using Trapezoidal Rule.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Simpson's 1/3 Rule - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-30.zip
"A C++ Program to estimate the Integral value of the function at the given point from the given data using Simpson's 1/3 Rule.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Romberg Method - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-31.zip
"A C++ Program to estimate the Integral value of the function at the given point from the given data using Romberg Method.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Gussian Quadrature Rule - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-32.zip
"A C++ Program to to estimate the Integral value of a given function using Gussian Quadrature Rule.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Euler's Method - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-33.zip
"A C++ Program to estimate the Differential value of the function at the given point from the given data using Euler's Method.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Mid-Point Method - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-34.zip
"A C++ Program to estimate the Differential value of the function at the given point from the given data using Mid-Point Method.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Euler-Trapezoidal Rule [ Predictor-Corrector Scheme ] - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-35.zip
"A C++ Program to estimate the Differential value of a given function at given point from given data using Euler-Trapezoidal Rule [ Predictor-Corrector Scheme ].Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Runge-Kutta Methods - http://www.cpp4u.com/files/MTS/numerical_analysis/NA-36.zip
"A C++ Program to estimate the Differential value of a given function at given point from given data using Runge-Kutta Methods.Author:Muhammad Tahir Shahzad
URL www.wol.net.pk/mtshome
TurboC"
Blitz++ a C++ class library - http://www.oonumerics.org/blitz/
Blitz++ is a C++ class library for scientific computing which provides performance on par with Fortran 77/90. It uses template techniques to achieve high performance. The current versions provide dense arrays and vectors, random number generators, and small vectors and matrices. |
Links
C++ creator
www.cplusplus.com www.cppreference.com www.cprogramming.com www.bloodshed.net gcc.gnu.org cplus.about.com Top Categories
|