SlideShare una empresa de Scribd logo
1 de 3
BRACKETING METHODS<br />Determine the real roots of f(x) = -0.5x2 + 2.5x + 4.5:<br />Graphically<br />Using the quadratic formula<br />Using three iterations of the bisection method to determine the highest root. Employ initial guesses of xt = 5 and xu = 10. Compute the estimated error Ɛa and the true error Ɛt after each iteration<br />Locate the first nontrivial root of                  sin x = x3, where x is in radians. Use a graphical technique and bisection with the initial interval from 0.5 to 1. Perform the computation until Ɛa is less Ɛs = 2%. Also perform an error check by substituting your final answer into the original equation.<br />A beam is loaded as shown in figure. Use the bisection method to solve for the position inside the beam where there is no moment.<br />100100lb/ft<br />4’3’2’3’<br />Determine the real root of f(x)=5x3-5x2+6x-2:<br />Graphically<br />Using bisection to locate the root. Employ initial guesses of xt=0 and xu=1 and iterate until the estimated error Ɛa falls below a level of Ɛs=10%.<br />Determine the positive real root of ln(x4)=0.7 (a) graphically, (b) using three iterations of the bisection method, with initial guesses of xl=0.5 and xu=2, and (c) using three iterations of the false-position method, with the same initial guesses as in (b).<br />Find the positive square root of 18 using the false-position method to within Ɛs=0.5%. Employ initial guesses of xl=4 and xu=5.<br />OPEN METHODS<br />Determine the real roots of         f(x)=-1+5.5x-4x2+0.5x3: (a) graphically and (b) using the Newton-Raphson method to within Ɛs=0.01%.<br />Determine the roots of the following simultaneous nonlinear equations using (a) fixed-point iteration and (b) the Newton-Raphson method:<br />y=-x2+x+0.75<br />y+5xy=x2<br />employ initial guesses of x = y = 1.2 and discuss the results. <br />A mass balance for a pollutant in a well mixed lake can be written as<br />V dcdt=W-Qc-kVc<br />Given the parameter values V=1x106m3 /yr, W=1x106g/yr, and k=0.25m0.5/g0.5/yr, use the modified secant method to solve for the steady-state concentration. Employ an initial guess of c=4g/m3 and δ=0.5. Perform three iteration. <br />The “divide and average” method, an old-time method for approximating the square root of any positive number a, can be formulated as<br />x=x+a/x2<br />Prove that this is equivalent to the Newton-Raphson algorithm.<br />Locate the first positive root of<br />F(x) = sin x + cos (1+x2) – 1<br />Where x is in radians. Use four iterations of the secant method with initial guesses of (a) xi-1=1.0 and xi=3.0 (b) xi-1= 1.5 and xi=2.5 to locate the root. (d) Use the graphical method to explain your results.<br />Determine the real root of x3.5 = 80, with the modified secant method to within εs= 0.1% using an initial guess of xo= 3.5 and δ= 0.01<br />GAUSS ELIMINATION<br />Use Gauss elimination to solve:<br />8x1+2x2-2x3=-2<br />10x1+2x2+4x3=4<br />12x1+2x2+2x3=6<br />Employ partial pivoting and check your answers by substituting them into the original equations.<br />Given the system of equations<br />-3x2+7x3=2<br />X1+2x2-x3=3<br />5x1-2x2=2<br />Compute the determinant<br />Use Cramer’s rule to solve for the x’s.<br />Use Gauss elimination with partial pivoting to solve for the x’s. <br />Substitute your results back into the original equations to check your solution.<br />Use Gauss-Jordan elimination to solve:<br />2x1+x2-x3=-38<br />-5x1-x2+2x3=-34<br />3x1+x2-x3=-20<br />Do not employ pivoting. Check your answers by substituting them into the original equations.<br />Develop, debug, and test a program in either a high-level language or macro language of you choice to multiply two matrices-that is [X]=[Y][Z], where [Y] is m by n and [Z] is n by p.<br />LU DECOMPOSITION AND MATRIX INVERSION<br />Solve the following system of equations using LU decomposition with partial pivoting:<br />2x1 – 6x2 – x3 = - 38<br />-3x1 – x2 +7x3 = -34<br />-8x1 + x2 – 2x3 = -20<br />Determine the total flops as a function of the number of equations n for the (a) decomposition, (b) forward-substitution, and (c) back substitution phases of the LU decomposition version of Gauss elimination.<br />Use LU decomposition to determine the matrix inverse for the following system. Do not use a pivoting strategy, and check your results verifying that [A][A]-1=[I].<br />10X1 + 2X2 – X3 = 27<br />-3X1 – 6X2 + 2X3 = -61.5<br />X1 + X2 + 5X3 = -21.5<br />Use iterative refinement techniques to improve x1=2, x2=-3 and x3=8, which are approximate solutions of<br />2x1 + 5x2 + x3 = -5<br />6x1 + 2x2 + x3 = 12<br />x1 + 2x2 + x3 = 3<br />Let the function be defined on the interval [0,2] as follows:<br />F(x) =ax + b,  0<=x<=1<br />Cx + d,  1<=x<=2<br />Determine the constants a, b, c and d so that the function f satisfies the following:<br />F(0)=f(2)=1<br />F is continuous on the entire interval<br />a + b = 4<br />Source: <br />NUMERICAL METHODS FOR ENGINEERS<br />Fifth Edition<br />Steven C. Chapra<br />Raymond P. Canale<br />Mc Graw Hill<br />
Problems 2
Problems 2

Más contenido relacionado

La actualidad más candente

Derivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 ruleDerivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 ruleHapPy SumOn
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10Yasser Ahmed
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equationsRifat Rahamatullah
 
The Definite Integral
The Definite IntegralThe Definite Integral
The Definite IntegralSilvius
 
Applied numerical methods lec4
Applied numerical methods lec4Applied numerical methods lec4
Applied numerical methods lec4Yasser Ahmed
 
5.6 solving exponential and logarithmic equations
5.6 solving exponential and logarithmic equations5.6 solving exponential and logarithmic equations
5.6 solving exponential and logarithmic equationsstevenhbills
 
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULANUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULAKHORASIYA DEVANSU
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationAinul Islam
 
Hso201 a solutions to practice problem set 3-2015-16-ii
Hso201 a solutions to practice problem set 3-2015-16-iiHso201 a solutions to practice problem set 3-2015-16-ii
Hso201 a solutions to practice problem set 3-2015-16-iiOm Prakash Bankolia
 
Open newton cotes quadrature with midpoint derivative for integration of al...
Open newton   cotes quadrature with midpoint derivative for integration of al...Open newton   cotes quadrature with midpoint derivative for integration of al...
Open newton cotes quadrature with midpoint derivative for integration of al...eSAT Journals
 
NUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSNUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSGOWTHAMGOWSIK98
 
Hso201 a practice problem set 3-2015-16-ii
Hso201 a practice problem set 3-2015-16-iiHso201 a practice problem set 3-2015-16-ii
Hso201 a practice problem set 3-2015-16-iiOm Prakash Bankolia
 
Lecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcLecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcRiyandika Jastin
 
Numerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleNumerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleVARUN KUMAR
 
Estadistica Aplicada
Estadistica AplicadaEstadistica Aplicada
Estadistica Aplicadakarenmnn30
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Syed Ahmed Zaki
 
Trapezoidal Method IN Numerical Analysis
Trapezoidal Method IN  Numerical AnalysisTrapezoidal Method IN  Numerical Analysis
Trapezoidal Method IN Numerical AnalysisMostafijur Rahman
 
Area Under the Curve
Area Under the CurveArea Under the Curve
Area Under the Curvealexbeja
 

La actualidad más candente (20)

Derivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 ruleDerivation of Simpson's 1/3 rule
Derivation of Simpson's 1/3 rule
 
Trapezoidal rule
Trapezoidal ruleTrapezoidal rule
Trapezoidal rule
 
Es272 ch3b
Es272 ch3bEs272 ch3b
Es272 ch3b
 
Applied numerical methods lec10
Applied numerical methods lec10Applied numerical methods lec10
Applied numerical methods lec10
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
The Definite Integral
The Definite IntegralThe Definite Integral
The Definite Integral
 
Applied numerical methods lec4
Applied numerical methods lec4Applied numerical methods lec4
Applied numerical methods lec4
 
5.6 solving exponential and logarithmic equations
5.6 solving exponential and logarithmic equations5.6 solving exponential and logarithmic equations
5.6 solving exponential and logarithmic equations
 
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULANUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
NUMERICAL INTEGRATION : ERROR FORMULA, GAUSSIAN QUADRATURE FORMULA
 
MATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and IntegrationMATLAB : Numerical Differention and Integration
MATLAB : Numerical Differention and Integration
 
Hso201 a solutions to practice problem set 3-2015-16-ii
Hso201 a solutions to practice problem set 3-2015-16-iiHso201 a solutions to practice problem set 3-2015-16-ii
Hso201 a solutions to practice problem set 3-2015-16-ii
 
Open newton cotes quadrature with midpoint derivative for integration of al...
Open newton   cotes quadrature with midpoint derivative for integration of al...Open newton   cotes quadrature with midpoint derivative for integration of al...
Open newton cotes quadrature with midpoint derivative for integration of al...
 
NUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONSNUMERICAL INTEGRATION AND ITS APPLICATIONS
NUMERICAL INTEGRATION AND ITS APPLICATIONS
 
Hso201 a practice problem set 3-2015-16-ii
Hso201 a practice problem set 3-2015-16-iiHso201 a practice problem set 3-2015-16-ii
Hso201 a practice problem set 3-2015-16-ii
 
Lecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etcLecture 04 newton-raphson, secant method etc
Lecture 04 newton-raphson, secant method etc
 
Numerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal RuleNumerical Integration: Trapezoidal Rule
Numerical Integration: Trapezoidal Rule
 
Estadistica Aplicada
Estadistica AplicadaEstadistica Aplicada
Estadistica Aplicada
 
Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)Presentation on Numerical Method (Trapezoidal Method)
Presentation on Numerical Method (Trapezoidal Method)
 
Trapezoidal Method IN Numerical Analysis
Trapezoidal Method IN  Numerical AnalysisTrapezoidal Method IN  Numerical Analysis
Trapezoidal Method IN Numerical Analysis
 
Area Under the Curve
Area Under the CurveArea Under the Curve
Area Under the Curve
 

Similar a Problems 2

Newton-Raphson Iteration marths 4 ntsm
Newton-Raphson Iteration marths 4 ntsmNewton-Raphson Iteration marths 4 ntsm
Newton-Raphson Iteration marths 4 ntsmNemish Bhojani
 
Maths iii quick review by Dr Asish K Mukhopadhyay
Maths iii quick review by Dr Asish K MukhopadhyayMaths iii quick review by Dr Asish K Mukhopadhyay
Maths iii quick review by Dr Asish K MukhopadhyayDr. Asish K Mukhopadhyay
 
Jacobi iterative method
Jacobi iterative methodJacobi iterative method
Jacobi iterative methodLuckshay Batra
 
Newton Raphson method for load flow analysis
Newton Raphson method for load flow analysisNewton Raphson method for load flow analysis
Newton Raphson method for load flow analysisdivyanshuprakashrock
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlabsheetslibrary
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equationsZunAib Ali
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlabZunAib Ali
 
Appendex b
Appendex bAppendex b
Appendex bswavicky
 
MVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsMVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsElvis DOHMATOB
 
Differential Equations Assignment Help
Differential Equations Assignment HelpDifferential Equations Assignment Help
Differential Equations Assignment HelpMaths Assignment Help
 

Similar a Problems 2 (20)

Newton-Raphson Iteration marths 4 ntsm
Newton-Raphson Iteration marths 4 ntsmNewton-Raphson Iteration marths 4 ntsm
Newton-Raphson Iteration marths 4 ntsm
 
Quadrature
QuadratureQuadrature
Quadrature
 
Maths iii quick review by Dr Asish K Mukhopadhyay
Maths iii quick review by Dr Asish K MukhopadhyayMaths iii quick review by Dr Asish K Mukhopadhyay
Maths iii quick review by Dr Asish K Mukhopadhyay
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Jacobi iterative method
Jacobi iterative methodJacobi iterative method
Jacobi iterative method
 
Newton Raphson method for load flow analysis
Newton Raphson method for load flow analysisNewton Raphson method for load flow analysis
Newton Raphson method for load flow analysis
 
Lecture6
Lecture6Lecture6
Lecture6
 
Lesson 7
Lesson 7Lesson 7
Lesson 7
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 
Appendex b
Appendex bAppendex b
Appendex b
 
MVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priorsMVPA with SpaceNet: sparse structured priors
MVPA with SpaceNet: sparse structured priors
 
Calculus Homework Help
Calculus Homework HelpCalculus Homework Help
Calculus Homework Help
 
Calculus Assignment Help
Calculus Assignment HelpCalculus Assignment Help
Calculus Assignment Help
 
Quadratic equations
Quadratic equationsQuadratic equations
Quadratic equations
 
Differential Equations Assignment Help
Differential Equations Assignment HelpDifferential Equations Assignment Help
Differential Equations Assignment Help
 
NUMERICAL METHODS
NUMERICAL METHODSNUMERICAL METHODS
NUMERICAL METHODS
 
2_Simplex.pdf
2_Simplex.pdf2_Simplex.pdf
2_Simplex.pdf
 
AJMS_389_22.pdf
AJMS_389_22.pdfAJMS_389_22.pdf
AJMS_389_22.pdf
 

Más de Marcela Carrillo (13)

Punto fijo
Punto fijoPunto fijo
Punto fijo
 
Metodos abiertos
Metodos abiertosMetodos abiertos
Metodos abiertos
 
Metodo de biseccion
Metodo de biseccionMetodo de biseccion
Metodo de biseccion
 
Plantilla metodos
Plantilla metodosPlantilla metodos
Plantilla metodos
 
Problems
ProblemsProblems
Problems
 
Problems
ProblemsProblems
Problems
 
Presentación1
Presentación1Presentación1
Presentación1
 
Taller de refuerzo
Taller de refuerzoTaller de refuerzo
Taller de refuerzo
 
Taller respuestas o1
Taller respuestas o1Taller respuestas o1
Taller respuestas o1
 
Ejercicios en clase_resuelto
Ejercicios en clase_resueltoEjercicios en clase_resuelto
Ejercicios en clase_resuelto
 
Summary of Matrixes (Spanish Version)
Summary of Matrixes (Spanish Version)Summary of Matrixes (Spanish Version)
Summary of Matrixes (Spanish Version)
 
Chapra english
Chapra englishChapra english
Chapra english
 
Direct Methods For The Solution Of Systems Of
Direct Methods For The Solution Of Systems OfDirect Methods For The Solution Of Systems Of
Direct Methods For The Solution Of Systems Of
 

Problems 2

  • 1. BRACKETING METHODS<br />Determine the real roots of f(x) = -0.5x2 + 2.5x + 4.5:<br />Graphically<br />Using the quadratic formula<br />Using three iterations of the bisection method to determine the highest root. Employ initial guesses of xt = 5 and xu = 10. Compute the estimated error Ɛa and the true error Ɛt after each iteration<br />Locate the first nontrivial root of sin x = x3, where x is in radians. Use a graphical technique and bisection with the initial interval from 0.5 to 1. Perform the computation until Ɛa is less Ɛs = 2%. Also perform an error check by substituting your final answer into the original equation.<br />A beam is loaded as shown in figure. Use the bisection method to solve for the position inside the beam where there is no moment.<br />100100lb/ft<br />4’3’2’3’<br />Determine the real root of f(x)=5x3-5x2+6x-2:<br />Graphically<br />Using bisection to locate the root. Employ initial guesses of xt=0 and xu=1 and iterate until the estimated error Ɛa falls below a level of Ɛs=10%.<br />Determine the positive real root of ln(x4)=0.7 (a) graphically, (b) using three iterations of the bisection method, with initial guesses of xl=0.5 and xu=2, and (c) using three iterations of the false-position method, with the same initial guesses as in (b).<br />Find the positive square root of 18 using the false-position method to within Ɛs=0.5%. Employ initial guesses of xl=4 and xu=5.<br />OPEN METHODS<br />Determine the real roots of f(x)=-1+5.5x-4x2+0.5x3: (a) graphically and (b) using the Newton-Raphson method to within Ɛs=0.01%.<br />Determine the roots of the following simultaneous nonlinear equations using (a) fixed-point iteration and (b) the Newton-Raphson method:<br />y=-x2+x+0.75<br />y+5xy=x2<br />employ initial guesses of x = y = 1.2 and discuss the results. <br />A mass balance for a pollutant in a well mixed lake can be written as<br />V dcdt=W-Qc-kVc<br />Given the parameter values V=1x106m3 /yr, W=1x106g/yr, and k=0.25m0.5/g0.5/yr, use the modified secant method to solve for the steady-state concentration. Employ an initial guess of c=4g/m3 and δ=0.5. Perform three iteration. <br />The “divide and average” method, an old-time method for approximating the square root of any positive number a, can be formulated as<br />x=x+a/x2<br />Prove that this is equivalent to the Newton-Raphson algorithm.<br />Locate the first positive root of<br />F(x) = sin x + cos (1+x2) – 1<br />Where x is in radians. Use four iterations of the secant method with initial guesses of (a) xi-1=1.0 and xi=3.0 (b) xi-1= 1.5 and xi=2.5 to locate the root. (d) Use the graphical method to explain your results.<br />Determine the real root of x3.5 = 80, with the modified secant method to within εs= 0.1% using an initial guess of xo= 3.5 and δ= 0.01<br />GAUSS ELIMINATION<br />Use Gauss elimination to solve:<br />8x1+2x2-2x3=-2<br />10x1+2x2+4x3=4<br />12x1+2x2+2x3=6<br />Employ partial pivoting and check your answers by substituting them into the original equations.<br />Given the system of equations<br />-3x2+7x3=2<br />X1+2x2-x3=3<br />5x1-2x2=2<br />Compute the determinant<br />Use Cramer’s rule to solve for the x’s.<br />Use Gauss elimination with partial pivoting to solve for the x’s. <br />Substitute your results back into the original equations to check your solution.<br />Use Gauss-Jordan elimination to solve:<br />2x1+x2-x3=-38<br />-5x1-x2+2x3=-34<br />3x1+x2-x3=-20<br />Do not employ pivoting. Check your answers by substituting them into the original equations.<br />Develop, debug, and test a program in either a high-level language or macro language of you choice to multiply two matrices-that is [X]=[Y][Z], where [Y] is m by n and [Z] is n by p.<br />LU DECOMPOSITION AND MATRIX INVERSION<br />Solve the following system of equations using LU decomposition with partial pivoting:<br />2x1 – 6x2 – x3 = - 38<br />-3x1 – x2 +7x3 = -34<br />-8x1 + x2 – 2x3 = -20<br />Determine the total flops as a function of the number of equations n for the (a) decomposition, (b) forward-substitution, and (c) back substitution phases of the LU decomposition version of Gauss elimination.<br />Use LU decomposition to determine the matrix inverse for the following system. Do not use a pivoting strategy, and check your results verifying that [A][A]-1=[I].<br />10X1 + 2X2 – X3 = 27<br />-3X1 – 6X2 + 2X3 = -61.5<br />X1 + X2 + 5X3 = -21.5<br />Use iterative refinement techniques to improve x1=2, x2=-3 and x3=8, which are approximate solutions of<br />2x1 + 5x2 + x3 = -5<br />6x1 + 2x2 + x3 = 12<br />x1 + 2x2 + x3 = 3<br />Let the function be defined on the interval [0,2] as follows:<br />F(x) =ax + b, 0<=x<=1<br />Cx + d, 1<=x<=2<br />Determine the constants a, b, c and d so that the function f satisfies the following:<br />F(0)=f(2)=1<br />F is continuous on the entire interval<br />a + b = 4<br />Source: <br />NUMERICAL METHODS FOR ENGINEERS<br />Fifth Edition<br />Steven C. Chapra<br />Raymond P. Canale<br />Mc Graw Hill<br />