








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









โโ The equal sign "=" is used to assign values to a variable. (True/False: True, False) Answer: True โโ MATLAB function definition for single parameter: function sunspots [The function is fine as-is, [telescopeData], (telescopeData), {telescopeData}] Answer: (telescopeData) โโ For a0 and v scalars, and g and u vectors, indicate dot operator requirement: a) exponent a0^2 [Yes, No] b) divide (g-1)/2 [Yes, No] c) multiplication 2*(...) [Yes, No] d) exponent u^2 [Yes, No] e) exponent v^2 [Yes, No] Answer: a No b No c Yes d Yes e Yes
โโ Truncation error occurs when using finite terms to represent an infinite series. (True/False: True, False) Answer: True โโ Numerical methods cannot be used to solve problems with open form solutions. (True/False: True, False) Answer: False โโ Vectors are transposed using the ' operator. (True/False: True, False) Answer: True โโ For R, T scalars and P, A, V vectors, indicate dot operator requirement: a) P/(...) [Yes, No] b) RT [Yes, No] c) (...) * A [Yes, No] d) AV [Yes, No] Answer: a No b No c Yes d Yes โโ If error is O(h), halving step size results in: [doubled, halved, no change, quarter] Answer: halved
โโ The secant method uses: [imaginary line, polynomial fit, matrix inversion, Fourier series] Answer: imaginary line โโ Methods that use an imaginary line: [incremental search, false position, Newton-Raphson, bisection] Answer: false position, Newton-Raphson โโ The modified secant method does not require specifying a value for: [derivative, function value, initial guess, step size] Answer: derivative โโ MATLAB's fzero function is based on: [Newton-Raphson, bisection, secant, Gauss elimination] Answer: Newton-Raphson โโ The parabolic interpolation method is usually faster than: [golden section, bisection, Newton-Raphson, secant] Answer: golden section โโ A root of f(x) is a value where:
[f(x)=0, f(x)=1, f(x)=x, f(x)=โ] Answer: f(x)= โโ Tangent points can cause a bracket to contain: [zero roots, even number of roots, one root only, no roots always] Answer: even number of roots โโ For Newton-Raphson, iteration 3 uses: [first guess, second guess, previous iteration result, random value] Answer: previous iteration result โโ The secant method is: [guaranteed convergent, not guaranteed convergent, always exact, exact derivative method] Answer: not guaranteed convergent โโ Golden section method requires: [1, 2, 3, 4] initial points Answer: 2 โโ Parabolic interpolation requires: [1, 2, 3, 4] initial points
โโ False position is typically: [faster than bisection, slower than bisection, identical to Newton- Raphson, exact] Answer: slower than bisection โโ Single initial guess methods: [Bisection, Secant, False Position, Modified Secant, Newton-Raphson] Answer: Modified Secant, Newton-Raphson โโ Before finding roots you should: [Graph the function, apply quadratic formula, compute derivatives, integrate function] Answer: Graph the function โโ Pseudocode is: [a computer-like description of steps without syntax, MATLAB code, compiled program, machine binary] Answer: a computer-like description of steps without syntax โโ If only first four terms of infinite series are used, this introduces: [round-off error, truncation error, no error, instability] Answer: truncation error
โโ An analytical solution is: [exact, approximation, numerical method, undefined] Answer: exact โโ A function with no outputs is declared using: [function, script, class, variable] Answer: function โโ Truncation error decreases when: [more terms are added, fewer terms are added, step size increases, derivative removed] Answer: more terms are added โโ If function values at a bracket have same sign: [guaranteed root, no guarantee of root, always root, infinite roots] Answer: no guarantee of root โโ Roots of a function occur where: [cross x-axis, cross y-axis, equal slope, maximum value] Answer: cross x-axis
[newest values immediately, only old values, random values, no iteration] Answer: newest values immediately โโ Elimination involves: [combining equations, solving derivatives, graphing, integration only] Answer: combining equations โโ Numerical integration can use discrete data. (True/False) Answer: True โโ More segments increases accuracy. (True/False) Answer: True โโ Simpson 3/8 rule uses: [3 points, 2 points, 8 points, 1 point] Answer: 3 points โโ Gauss quadrature uses: [Gauss-Legendre formulas, Euler method, Newton-Raphson, finite differences] Answer: Gauss-Legendre formulas
โโ Romberg method uses: [Richardson extrapolation, Euler method, Gaussian elimination, secant method] Answer: Richardson extrapolation โโ Trapezoid rule approximates function by: [straight line, parabola, cubic polynomial, exponential curve] Answer: straight line โโ Quadrature means: [integration, differentiation, solving ODEs, matrix inversion] Answer: integration โโ LU factorization is useful when: [multiple b vectors, changing matrix, nonlinear system, no solution] Answer: multiple b vectors โโ Cholesky requires matrix to be: [symmetric, diagonal, identity, triangular only] Answer: symmetric โโ ODE means:
โโ Underdamped system: [oscillates, no motion, constant decay, unstable explosion] Answer: oscillates โโ If n nodes, unknowns in finite difference: [n-2, n, n+2, 1] Answer: n- 2 โโ Stiff system requires: [implicit methods, explicit only, no methods, analytic solution] Answer: implicit methods โโ Euler method is: [first order method, second order, exact method, spectral method] Answer: first order method โโ ODE45 is: [adaptive method, fixed step, explicit Euler, implicit solver only] Answer: adaptive method โโ Superposition works for:
[linear systems, nonlinear systems, all systems, none] Answer: linear systems โโ Most accurate fixed step method: [4th order Runge-Kutta, Euler, Heun, Midpoint] Answer: 4th order Runge-Kutta โโ Underdamped system: [oscillatory, overdamped, static, linear only] Answer: oscillatory โโ Boundary condition types include: [Neumann, Robin, Dirichlet, Gauss] Answer: Neumann, Robin, Dirichlet โโ Backward difference uses: [current and right points, left points only, midpoint only, random points] Answer: current and right points โโ