C++ Homework Help

Main menu

Forums

C++ Tutorial


www.cpp4u.com > C++ Source Code > Math

Math

Math
Web-pages
QUADRATIC -
This Program takes the coefficients (a,b,c) of a quadratic equation ax²+bx+c as inputs and outputs the resultant roots.

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 -
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 -
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 -
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 -
C# Author ALI RAZA SHAIKH

Gauss Seidal -
Solution of euation by Gauss Seidal C# Author FIDA HUSSAIN

Gauss Jordon -
Solution of equation by Gauss-Jordan C# Author FIDA HUSSAIN

Fixed Point Iteration -
Solution of euation by Fixed Point Iteration C# Author FIDA HUSSAIN

Bisection -
C# Author FIDA HUSSAIN

Lagrangian-Polynomial -
Solution of euation by Lagrangian-Polynomial C# Author FIDA HUSSAIN

Modified-False Position -
solution of equation C# Author FIDA HUSSAIN

Newton-Raphson -
C# Author FIDA HUSSAIN

Equation Solver -
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 -
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 -
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 -
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 -
A C++ Program to coumputes and displays the factorial of the given number ( using Recursive Algorithm ).

Matrix Multiplication. -
A C++ Program to Multiply two Matrices. Author:Muhammad Tahir Shahzad

matrix Multiplication using Divide and Conquer Strategy -
A C++ Program to computes the product of two matrices of size 4x4 using Divide and Conquer Strategy. Author:Muhammad Tahir Shahzad

Matrix Multiplication -
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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 -
"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 ] -
"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 -
"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 -
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


Top Categories