0% found this document useful (0 votes)
42 views2 pages

NMCE Lab

The document provides instructions to write algorithms and C++ programs to solve systems of linear equations and integrals using Gauss elimination, Gauss-Jordan elimination, Jacobi iteration, Gauss-Seidel iteration, Newton-Raphson method, and Simpson's and trapezoidal rules. It gives 4 systems of linear equations to solve with the first 4 methods and an integral to evaluate with the last 2 methods.

Uploaded by

girishmurgod
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views2 pages

NMCE Lab

The document provides instructions to write algorithms and C++ programs to solve systems of linear equations and integrals using Gauss elimination, Gauss-Jordan elimination, Jacobi iteration, Gauss-Seidel iteration, Newton-Raphson method, and Simpson's and trapezoidal rules. It gives 4 systems of linear equations to solve with the first 4 methods and an integral to evaluate with the last 2 methods.

Uploaded by

girishmurgod
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Write algorithm & C++ program for Gauss Elimination method and solve the given

equation using the code.


10𝑥1 − 𝑥2 + 2𝑥3 = 4
𝑥1 + 10𝑥2 − 𝑥3 = 3
2𝑥1 + 3𝑥2 + 20𝑥3 = 7

Write algorithm & C++ program for Gauss Jordan Elimination method and solve
the given equation using the code.
𝑥1 + 𝑥2 + 𝑥3 = 6
3𝑥1 + 3𝑥2 + 4𝑥3 = 20
2𝑥1 + 𝑥2 + 3𝑥3 = 13

Write algorithm & C++ program for Jacobi Iteration method and solve the given
equation using the code. Use error limit as 0.0001
4𝑥1 + 𝑥2 + 𝑥3 = 2
𝑥1 + 5𝑥2 + 2𝑥3 = −6
𝑥1 + 2𝑥2 + 3𝑥3 = −4

Write algorithm & C++ program for Gauss Seidel Iteration method and solve the
given equation using the code. Use error limit as 0.0001
2𝑥1 − 𝑥2 + 0𝑥3 = 7
−𝑥1 + 2𝑥2 − 𝑥3 = 1
0𝑥1 − 𝑥2 + 2𝑥3 = 1
Write algorithm & C++ program for Newton Rapson method and solve the given
equation using the code. Use error limit as 0.0001
𝑓(𝑥) = 𝑥 3 − 5𝑥 + 1 = 0

Write algorithm & C++ program for Simpson and Trapezoidal rule (method) and
find the integral value of given equation using the code. Take n=6
2
∫ (4𝑥 3 − 5𝑥 2 + 6𝑥 + 9)𝑑𝑥
1

You might also like