You are on page 1of 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