0% found this document useful (0 votes)
16 views3 pages

Numerical Analysis Assignments Spring 2023

1. Use Newton-Raphson and fixed point methods to solve various nonlinear systems of equations, finding roots near given initial values with a specified number of iterations. 2. The document provides 14 problems involving nonlinear equations and systems to solve using numerical methods like Newton-Raphson and fixed point. Initial values, number of iterations, and estimates of error are required. 3. The problems cover a range of nonlinear functions, both individual equations and systems, to practice applying numerical methods to locate real roots.

Uploaded by

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

Numerical Analysis Assignments Spring 2023

1. Use Newton-Raphson and fixed point methods to solve various nonlinear systems of equations, finding roots near given initial values with a specified number of iterations. 2. The document provides 14 problems involving nonlinear equations and systems to solve using numerical methods like Newton-Raphson and fixed point. Initial values, number of iterations, and estimates of error are required. 3. The problems cover a range of nonlinear functions, both individual equations and systems, to practice applying numerical methods to locate real roots.

Uploaded by

Ghaida mohamed
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Cairo University Faculty of Engineering

Main-Stream Spring 2023


MTH 2134 Numerical Analysis

Assignment 6
Non-linear system

1. Use Newton - Raphson method to find a solution for the following two non linear
equations 𝒙 𝐜𝐨𝐬 𝒚 = 𝟏 and 𝒚 + 𝐬𝐢𝐧 𝒙 = 𝟎. 𝟕. Start with (1.5 , 0.7) and stop after two
iterations.

2. Use Newton's method to evaluate one real root for the following non- linear
equation x 2 + 2 y 2 = 3 & 3x = cos y near (0.2 , 0.8), stop after 2 iterations.

3. Rearrange the following system in a form suitable for the fixed point iterative
method and locate the root near (0.6,0.6).
x − sinh y = 0
.
2 y − cosh x = 0
Stop after four iterations and get your relative error.

4. Use Newton method to solve the system e x + xy = 1 & sin( xy) + x + y = 1 Start with
(0.1 , 0.9) and stop after two iterations, then find the relative error for your solution.

x − sinh( y ) = 0
5. For the system
2 y − cosh( x) = 0
Solve using Newton's method near (0.6 , 0.6) and stop after two iterations.

6. Use Newton-Raphson’s method to solve the following non-linear system of equations


with initial conditions (0.9 , 1.9)T
𝟐𝒚 + 𝐥𝐧 𝒙 = 𝟒
𝒙 − 𝟐𝒙𝒚 + 𝒚𝟐 = 𝟏
𝟐

Perform only 2 iterations. Estimate the percentage of approximate error.

7. Use Newton-Raphson’s method to solve the following non-linear system of equations


with initial conditions (0.9 , 5.1)T
𝟑𝒙𝟐 + 𝐥𝐧 𝒚 = 𝟒. 𝟔
𝒆−𝒙 − 𝒙𝒚 = −𝟐. 𝟑
Perform only 2 iterations. Estimate the percentage of approximate error.

8. Indicate which of the following functions is suitable for finding a real root of the
nonlinear system of equations below, using fixed point method, Why?
xy − cos y = −1 & xe y + y 2 = 2 near (1.9 , 0.1):
cos y − 1
a) x = (2 − y 2 )e − y & y=
x
cos y − 1  2 − y2 
b) x = & y = ln 
y  x 
cos y − 1
c) x = & y = 2 − xe y
y
d) x = (2 − y 2 )e − y & y = cos −1 ( xy + 1)
9. Consider the following nonlinear system of equations:
𝐜𝐨𝐬𝐡−𝟏 𝒙 + 𝒆𝒕 = 𝟐. 𝟔𝟏 and 𝟑 𝐬𝐢𝐧 𝒙𝒚 + 𝒚𝟐 = 𝟐. 𝟑 near (𝟏. 𝟐 , 𝟎. 𝟔)
Are the following equations the proper choice when using Fixed point method?
𝒙 = 𝐜𝐨𝐬𝐡(𝟐. 𝟔𝟏 − 𝒆𝒚 ) and 𝒚 = √𝟐. 𝟑 − 𝟑 𝐬𝐢𝐧 𝒙𝒚
Explain why.

10. Use Fixed Point method to find a real root for the following system of nonlinear
equation near (0.25,0.25)
𝟓𝒙𝟐 − 𝒚𝟐 = 𝟎 and 𝒚 − 𝟎. 𝟐𝟓 𝐬𝐢𝐧 𝒙 − 𝟎. 𝟐𝟓 𝐜𝐨𝐬 𝒚 = 𝟎
Check the conditions of convergence. Stop after 2 iterations. Comment on your
results.

11. Find the solution of the nonlinear system of equations:


𝒙 + 𝟑 𝐥𝐨𝐠(𝒙) − 𝒚𝟐 = 𝟎
𝟐𝒙𝟐 − 𝒙𝒚 − 𝟓𝒙 = −𝟏
near (𝟑. 𝟒 , 𝟐. 𝟐) using Newton-Raphson’s method. Stop after 2 iterations. Estimate
the percentage of approximate error.

12. Find one real root for the nonlinear equation: 𝒙 + 𝐜𝐨𝐬 𝒙𝟐 = 𝟎. 𝟕𝟕 near 𝒙 = 𝟏. 𝟕
using Newton-Raphson’s method. Stop after 3 iterations. Estimate the percentage of
approximate error.

13. Find the solution of the nonlinear system of equations:


𝟓𝒙 + 𝒆𝟐𝒙 − 𝟑𝒚 = −𝟖. 𝟏𝟑
𝟑 𝐜𝐨𝐬𝐡 𝒙 − 𝒙𝒚 + 𝟐𝒚 = 𝟖. 𝟑𝟖
near (– 𝟎. 𝟔 , 𝟏. 𝟕𝟓) using Newton-Raphson’s method. Stop after2 iterations.
Estimate the percentage of approximate error.
𝟏 𝟐𝒚+𝟑 𝐜𝐨𝐬𝐡 𝒙
Are the equations, 𝒙 = 𝟐 𝐥𝐧(𝟑𝒚 − 𝟓𝒙) − 𝟖. 𝟏𝟑 and 𝒚= − 𝟖. 𝟑𝟖 ,
𝒙
considered a suitable choice for fixed point method? Justify your answer.

14. Find the solution of the nonlinear system of equations:


𝒙 𝐥𝐧 𝒚 − 𝟐𝒚 = −𝟏. 𝟓𝟖𝟎𝟗
𝟑𝒙𝟐 𝒚 − 𝟒𝒙 = 𝟒𝟏. 𝟏𝟐𝟓
near (𝟒 , 𝟏) using Newton-Raphson’s method. Stop after2 iterations.
Estimate the percentage of approximate error.

Common questions

Powered by AI

Newton-Raphson uses derivative information via the Jacobian matrix, making it faster but more complex and sensitive to initial conditions. It requires invertible Jacobians, while Fixed Point relies on simpler iteration without derivatives, only requiring convergence checks like contraction mappings, though it may converge more slowly .

The Jacobian matrix consists of partial derivatives that provide local linear approximations of the system. Its determinant must be non-zero to ensure the matrix is invertible, allowing the update step X_{n+1} = X_n - J^{-1}F(X_n) to be valid. For the given system, evaluate these near the initial guess to ensure proper guidance of iterations .

Rearrange the system as x = cosh(y) and y = sinh(x). For the fixed point iteration method, ensuring the system is in such a form is crucial because it needs to satisfy convergence conditions like the contractive mapping principle. For convergence, the derivatives of each function with respect to its variable must be less than one in absolute terms over the region of interest .

Choosing a poor initial estimate can lead to divergence or cycling, especially if the Jacobian evaluated at that point is nearly singular. This is due to the approximations made in transforming the non-linear system into a linear one using Taylor's series expansion. A poor choice may also converge very slowly .

To apply the Newton-Raphson method for the given equations, begin by defining the functions as F1(x, y) = xcos(y) - 1 and F2(x, y) = y + sin(x). Compute the Jacobian matrix at the initial point (1.5, 0.7) to find the partial derivatives: J = [∂F1/∂x, ∂F1/∂y; ∂F2/∂x, ∂F2/∂y]. Calculate these derivatives to get numerical values .

The suitability depends on the contractiveness of these rearrangements. Each equation must ensure convergence by having a derivative less than one in magnitude. Evaluate the partial derivatives in their respective ranges. If they do not satisfy this, the method may diverge or oscillate .

The critical considerations include the selection of an appropriate form, such as isolating x and y in terms of each other. Check the convergence by verifying if the magnitude of the derivatives of the rearranged system is less than 1. If these conditions are met, the method is expected to converge; otherwise, a divergent behavior might be observed even after just two iterations .

Start by writing the system of equations in vector form F(x) = 0. Compute the Jacobian matrix at (0.9, 5.1) and use it to perform two iterations: X_{n+1} = X_n - J^{-1}F(X_n). To estimate the error, calculate the relative change ||X_{n+1} - X_n||/||X_{n+1}|| between successive solutions .

The starting point (0.9, 1.9) directly influences convergence speed and accuracy. Ideally, it should be close to the actual root while ensuring the Jacobian remains non-singular. An unsuitable starting point may lead to slow convergence or divergence, affecting the efficiency of the method .

The suitability relies on ensuring that the system forms a contractive mapping. This requires each function's derivative with respect to its own variable (partial derivative) to be less than one in magnitude across the intended range of iteration. If either derivative is not less than one, convergence is not guaranteed .

You might also like