Docsity

APPLIED NUMERICAL METHODS WITH PYTHON FOR ENGINEERS AND SCIENTISTS EXAM SCRIPT SOLVED QUES, Exams of Mathematical Modeling and Simulation

Toggle sidebar
bg1
APPLIED NUMERICAL METHODS WITH
PYTHON FOR ENGINEERS AND SCIENTISTS
EXAM SCRIPT SOLVED QUESTIONS
ACCURATE ANSWER COLLECTION
●● What are the two common methods for solving simultaneous
equations?
Answer: Elimination of unknowns and the use of determinants (Cramer's
rule).
●● What is a significant drawback of using Cramer's rule for large
systems?
Answer: It requires (n - 1)(n + 1)! multiplications, which is impractical
for large n.
●● What is the general form of a set of linear algebraic equations?
Answer: a11x1 + a12x2 + ... + a1nxn = C1, ..., an1x1 + an2x2 + ... +
annxn = Cn.
●● What defines a nonhomogeneous set of equations?
Answer: If the values of C's are not all zero and all equations must be
independent for a unique solution.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download APPLIED NUMERICAL METHODS WITH PYTHON FOR ENGINEERS AND SCIENTISTS EXAM SCRIPT SOLVED QUES and more Exams Mathematical Modeling and Simulation in PDF only on Docsity!

APPLIED NUMERICAL METHODS WITH

PYTHON FOR ENGINEERS AND SCIENTISTS

EXAM SCRIPT SOLVED QUESTIONS

ACCURATE ANSWER COLLECTION

●● What are the two common methods for solving simultaneous equations? Answer: Elimination of unknowns and the use of determinants (Cramer's rule). ●● What is a significant drawback of using Cramer's rule for large systems? Answer: It requires (n - 1)(n + 1)! multiplications, which is impractical for large n. ●● What is the general form of a set of linear algebraic equations? Answer: a11x1 + a12x2 + ... + a1nxn = C1, ..., an1x1 + an2x2 + ... + annxn = Cn. ●● What defines a nonhomogeneous set of equations? Answer: If the values of C's are not all zero and all equations must be independent for a unique solution.

●● What defines a homogeneous set of equations? Answer: If all values of C's are zero, and a non-trivial solution exists only if not all equations are independent. ●● What is the Direct Method for solving linear equations? Answer: It includes methods like Gauss Elimination, Gauss-Jordan Elimination, LU Decomposition, and Matrix Inversion. ●● What is the Indirect Method for solving linear equations? Answer: It includes iterative methods such as Jacobi Iteration, Gauss- Seidel, and Successive Over Relaxation (SOR). ●● What is a matrix? Answer: A rectangular arrangement of numbers represented by a single symbol with n rows and m columns. ●● What is a row matrix? Answer: A horizontal set of elements in a single row, e.g., a 1 x m matrix. ●● What is a column matrix? Answer: A vertical set of elements in a single column, e.g., an n x 1 matrix.

Answer: A matrix with all elements equal to zero, except for a band centered on the main diagonal. ●● What is Gauss Elimination? Answer: A method for solving simultaneous linear equations by eliminating unknowns to form a triangular set. ●● What are the two steps in Gauss elimination? Answer: 1. Manipulate equations to eliminate one unknown. 2. Solve the resulting equation and back-substitute. ●● What is the main issue Gauss elimination must avoid? Answer: Dividing by zero during the elimination process. ●● What is the standard form of a linear equation with five variables? Answer: a11x1 + a12x2 + a13x3 + a14x4 + a15x5 = C1, ..., a51x1 + a52x2 + a53x3 + a54x4 + a55x5 = C5. ●● What is Gaussian Elimination? Answer: A method for solving systems of linear equations by transforming the system into an upper triangular matrix. ●● What is the purpose of the Pivot Equation in Gaussian Elimination?

Answer: To select a pivot element that helps in eliminating variables from the equations. ●● What is Back Substitution? Answer: The process of solving for the variables in a system of equations after transforming it into an upper triangular form. ●● What does it mean to normalize an equation? Answer: To adjust the coefficients of an equation so that the leading coefficient is 1. ●● What is the standard form of a linear equation in a system? Answer: A format where each equation is expressed as a linear combination of variables equal to a constant. ●● What is the significance of the identity matrix in the Gauss-Jordan method? Answer: It represents the final form of the coefficient matrix after all variables have been eliminated. ●● How do you perform matrix addition? Answer: By adding corresponding elements of two matrices, provided they have the same dimensions.

●● What is the role of the augmented matrix in solving linear equations? Answer: It combines the coefficients of the variables and the constants into a single matrix for easier manipulation. ●● What is the result of subtracting two matrices? Answer: By subtracting corresponding elements of the second matrix from the first. ●● What is the significance of the zero row in a matrix during elimination? Answer: It indicates that one of the equations is redundant or that the system has no unique solution. ●● What does it mean to isolate an equation? Answer: To rearrange the equation so that one variable is expressed in terms of the others. ●● What is a common application of the Gauss-Jordan method? Answer: To solve systems of linear equations and find the inverse of a matrix. ●● What is the final step in the Gauss-Jordan elimination process?

Answer: Transforming the right-hand side of the augmented matrix into the solution vector. ●● What is the effect of pivoting in matrix operations? Answer: It improves numerical stability and avoids division by zero. ●● How do you determine if two matrices can be multiplied? Answer: The number of columns in the first matrix must equal the number of rows in the second matrix. ●● What does a matrix represent in a system of equations? Answer: It represents the coefficients of the variables in the equations. ●● What is the result of applying Gaussian elimination to a consistent system of equations? Answer: You will obtain a unique solution for the variables. ●● What is the significance of the leading coefficient in a row during elimination? Answer: It is used to eliminate other entries in the same column. ●● What does it mean for a matrix to be singular?

●● What is the main focus of the course on Numerical Solutions? Answer: The course focuses on numerical algorithms for solving engineering problems when analytical solutions are difficult or unavailable. ●● What are numerical methods? Answer: Techniques that formulate mathematical problems so they can be solved using arithmetic operations. ●● What is a key advantage of numerical methods? Answer: They can provide numerical answers even when no analytical solution exists. ●● What is the first topic covered in the course outline? Answer: Mathematical Preliminaries ●● Name a direct method for solving systems of simultaneous linear algebraic equations. Answer: Gaussian's Elimination ●● What is the Gauss-Seidel Method used for? Answer: It is an indirect method for solving systems of linear equations.

●● What method is used for finding roots of non-linear equations? Answer: Bisection Method ●● What is the purpose of the Newton-Cotes Method? Answer: It is used for numerical integration. ●● What is Lagrangian Interpolation used for? Answer: It is used for interpolation and curve fitting. ●● What is the Euler Method used for? Answer: It is used for solving initial value problems in ordinary differential equations. ●● What is the Finite Difference Method? Answer: It is a method for solving partial differential equations. ●● What is the role of computers in numerical analysis? Answer: Computers perform tedious arithmetic operations required for numerical methods. ●● What is a significant limitation of analytical methods? Answer: They can only be derived for a limited class of problems, often linear and simple.

●● What is the Fixed-Point Iteration method used for? Answer: It is used for finding roots of equations. ●● What is the significance of the Least Squares Approximations? Answer: It is used for curve fitting in numerical analysis. ●● What is the Cholesky's Method used for? Answer: It is a direct method for solving systems of linear equations. ●● What does numerical integration involve? Answer: Techniques like Trapezoidal Rule and Simpson's Rule to approximate the area under curves. ●● What is the purpose of the Gauss-Legendre Method? Answer: It is used for numerical integration with high accuracy. ●● What are the two types of boundary value problems in differential equations? Answer: Initial Value Problem and Two-Point Boundary Value Problem. ●● What is the significance of using computers for numerical methods?

Answer: They reduce errors and increase efficiency in performing complex calculations. ●● What is the primary purpose of numerical methods in engineering? Answer: To provide mathematical solutions that cannot be obtained analytically in closed form. ●● Why is knowledge of basic theory important when using prepackaged computer programs for numerical methods? Answer: It helps users understand the underlying methods and control errors in approximation. ●● What are roots of equations in the context of numerical methods? Answer: They refer to the values of a variable that satisfy a single nonlinear equation, important in engineering design. ●● What is the difference between roots of equations and systems of linear algebraic equations? Answer: Roots of equations satisfy a single equation, while systems of linear algebraic equations seek values that satisfy multiple equations simultaneously. ●● What is optimization in numerical methods?

●● What are the two types of problems addressed by ordinary differential equations? Answer: Initial-value problems and boundary-value problems. ●● What are partial differential equations used for? Answer: To characterize systems where the behavior of a physical quantity changes with respect to two or more independent variables. ●● What are the two approaches to solving partial differential equations numerically? Answer: Finite-difference methods and finite-element methods. ●● What is the significance of significant figures in numerical methods? Answer: They indicate the reliability of a numerical value, consisting of certain digits plus one estimated digit. ●● Why can zeros in a number be confusing regarding significant figures? Answer: Zeros may not always be significant as they can just be placeholders for decimal points. ●● What is the role of approximation in numerical methods? Answer: To handle errors intrinsic to arithmetic computations performed by computers.

●● What is the significance of understanding errors in numerical methods? Answer: It is crucial for effective use and interpretation of numerical results. ●● What is the relationship between numerical methods and basic arithmetic operations? Answer: Numerical methods reduce higher mathematics to basic arithmetic operations for better understanding. ●● What is the purpose of determining the effect of changing parameters in numerical methods? Answer: To analyze the behavior of systems under different sets of inputs. ●● What is the outcome of solving optimization problems in engineering design? Answer: Identification of the best or optimal values for design parameters. ●● How does numerical integration assist in engineering? Answer: It helps in calculating total quantities based on discrete measurements and determining centroids.

●● What is the purpose of using scientific notation for large numbers? Answer: To clarify the number of significant digits and resolve uncertainty in trailing zeros. ●● What does accuracy refer to in numerical methods? Answer: How closely a computed or measured value agrees with the true value. ●● What does precision refer to in numerical methods? Answer: How closely individual computed or measured values agree with each other. ●● What are truncation errors? Answer: Errors that result from using approximations to represent exact mathematical procedures. ●● What are round-off errors? Answer: Errors that occur when numbers with limited significant figures are used to represent exact numbers. ●● What are blunder/gross errors? Answer: Errors that can occur at any stage of mathematical modeling, such as programming mistakes.

●● What is a formulation error? Answer: An error due to an incomplete mathematical model or working with a poorly conceived model. ●● What is measurement error? Answer: The difference between the measured value and the true value due to inaccuracies in measurement. ●● How is the true value related to approximation and error? Answer: True Value = Approximation + Error. ●● What does the term 'true error' signify? Answer: The discrepancy between the true value and the approximation. ●● How can relative error be expressed as a percentage? Answer: Relative error = (True error / True value) x 100%. ●● What is the challenge of numerical methods regarding error estimates? Answer: Determining error estimates without knowledge of the true value. ●● What is the stopping criterion in numerical methods?