Engineering Mathematics II

Chapter 15
Computational Mathematics and Emerging Mechatronics Applications

Bachelor Program in Mechatronics Engineering
Engineering Mathematics II   •   Bachelor

Computational Mathematics and Emerging Mechatronics Applications

Introduction and Context

Mechatronic systems increasingly combine mechanical structures, sensors, actuators, embedded computation, communication networks, and intelligent software. Mathematical models are therefore no longer used only for hand calculations. They are implemented in MATLAB, Python, symbolic-algebra systems, simulation environments, and data platforms. These tools enable engineers to predict motion, estimate unmeasured states, diagnose faults, optimize designs, and maintain a digital representation of a physical asset.

Computational mathematics is the disciplined use of numerical algorithms, symbolic manipulation, simulation, visualization, and data analysis to solve engineering problems. Its purpose is not merely to obtain a numerical answer. A reliable computational result must be mathematically justified, numerically stable, physically meaningful, reproducible, and suitable for the decision being made.

A computational model may be represented as

ẋ(t) = f(x(t), u(t), θ, t), y(t) = g(x(t), u(t), θ, t)

where x is the state vector, u is the input vector, θ is a vector of model parameters, y is the measured output, and f and g are model functions. The model is useful only when its variables, parameters, initial conditions, boundary conditions, and units are clearly specified.

Learning Objectives

After completing this chapter, a student should be able to:

  1. Explain the roles of numerical, symbolic, and simulation-based computation in mechatronics.
  2. Implement reproducible engineering calculations in MATLAB or Python.
  3. Analyze numerical error, conditioning, stability, and convergence.
  4. Use computational models for robotics, digital twins, and predictive maintenance.
  5. Interpret data-driven and machine-learning models critically.
  6. Design validation, visualization, safety, ethical, and governance procedures for computational engineering.

1. Computational Thinking in Engineering Mathematics

1.1 Symbolic, numerical, and simulation models

Symbolic computation manipulates mathematical expressions exactly or algebraically. For example, the derivative of x2 sin(x) can be obtained symbolically as 2x sin(x) + x2 cos(x). Symbolic methods are valuable for deriving equations, simplifying transfer functions, calculating Jacobians, and checking analytical properties.

Numerical computation approximates a result using finite precision. It is necessary when equations cannot be solved conveniently in closed form or when large systems must be evaluated repeatedly. Numerical results depend on algorithm choice, step size, precision, and data quality.

Simulation evaluates a model over time or across operating conditions. A simulation is not automatically a prediction of reality: it is an experiment performed on a model. Its validity depends on model structure, parameter values, numerical integration, and comparison with physical evidence.

A useful computational workflow is:

  1. Define the engineering question and required output.
  2. Formulate assumptions, variables, equations, and units.
  3. Select a suitable analytical or numerical method.
  4. Implement the method using documented code.
  5. Verify the implementation using limiting cases or known solutions.
  6. Validate the model against independent physical or experimental data.
  7. Quantify uncertainty and communicate the result.
  8. Preserve code, data, software versions, and configuration for reproduction.

1.2 Numerical error and reliability

Two important error categories are truncation error and round-off error. Truncation error results from replacing an exact mathematical operation with an approximation, such as replacing a derivative by a finite difference. Round-off error results from representing real numbers with finite precision.

For a forward-difference approximation,

f′(x) ≈ [f(x + h) − f(x)] / h

where h is a small positive step. Taylor expansion gives

[f(x + h) − f(x)] / h = f′(x) + (h/2)f″(x) + O(h²)

provided f has at least two sufficiently continuous derivatives near x. Thus, the truncation error is generally proportional to h. Making h smaller does not always improve the computed answer because round-off error is amplified by subtraction of nearly equal numbers.

The relative error of an approximation x̂ to a nonzero exact value x is

relative error = |x − x̂| / |x|

The absolute error is |x − x̂|. Relative error is dimensionless, whereas absolute error has the units of x.

Conditioning describes sensitivity of the mathematical problem to perturbations in the input. Stability describes whether an algorithm limits the amplification of computational errors. A well-conditioned problem can still be solved poorly by an unstable algorithm, and a stable algorithm cannot remove sensitivity inherent in an ill-conditioned problem.

For a linear system Ax = b, the condition number in a chosen matrix norm is

κ(A) = ||A|| ||A⁻¹||

assuming A is nonsingular. A large κ(A) indicates that small input perturbations may cause large changes in x. The condition number depends on the norm and does not by itself measure coding error.

1.3 Verification and validation

Verification asks, “Was the computational model or algorithm implemented correctly?” Examples include testing a derivative against a known derivative, checking conservation of mass or energy, and comparing two independent algorithms.

Validation asks, “Does the model represent the real system adequately for its intended use?” Validation requires experimental or field data. A model may be verified but invalid if it omits friction, actuator saturation, sensor delay, or structural flexibility that matters in operation.

A strong engineering report distinguishes:

ActivityMain questionTypical evidence
VerificationIs the implementation correct?Unit tests, analytical benchmarks, convergence study
ValidationIs the model adequate for its purpose?Experimental comparison, residual analysis
Uncertainty analysisHow much confidence is justified?Parameter ranges, confidence intervals, sensitivity study
ReproducibilityCan another person obtain the result?Versioned code, data, environment, documented settings

2. MATLAB and Python for Reproducible Analysis

MATLAB provides concise matrix operations, numerical solvers, control and signal-processing tools, and strong visualization capabilities. Python provides a broad open-source ecosystem, including NumPy for array computation, SciPy for scientific algorithms, SymPy for symbolic algebra, pandas for data handling, Matplotlib for plotting, and scikit-learn for machine learning.

The language is less important than the engineering practice. A reproducible script should:

  • state software and package versions;
  • define units and constants explicitly;
  • avoid hidden manual changes;
  • use deterministic random seeds when random sampling is involved;
  • separate input, computation, visualization, and output;
  • test functions with known cases;
  • save parameter files and generated figures;
  • report warnings rather than silently suppressing them.

For example, a Python finite-difference calculation may be structured as follows:

import numpy as np

x = 1.0
h = 1e-5
f = lambda z: z**2 * np.sin(z)
dfdx = (f(x + h) - f(x)) / h
print(dfdx)

This code is reproducible only if the function definition, step-size rationale, units, and expected reference value are documented. A more reliable implementation tests several h values and compares the result with the symbolic derivative.

Vectorization is generally preferable to unnecessary interpreted loops for large arrays, but vectorization must not obscure physical meaning. Indexing mistakes, broadcasting errors, and accidental mixing of degrees and radians are common sources of incorrect results. Engineers should include assertions such as checking array dimensions, finite values, positive masses, and physically permissible temperatures.

2.1 Numerical solution of ordinary differential equations

Many mechatronic models are ordinary differential equations (ODEs). For a first-order initial-value problem,

dx/dt = f(t, x), x(t₀) = x₀

Euler’s method uses a step size h:

xk+1 = xk + h f(tk, xk)

It has global truncation error O(h) under suitable smoothness and stability assumptions. It is simple but may be inaccurate or unstable for stiff systems.

For the linear test equation x′ = λx, Euler’s update is xk+1 = (1 + hλ)xk. Stability requires |1 + hλ| ≤ 1. For real negative λ, this implies -2 ≤ hλ ≤ 0. This condition illustrates why a physically stable continuous system can produce unstable numerical results when the time step is too large.

Higher-order Runge–Kutta methods improve accuracy without requiring derivatives beyond f. Adaptive solvers vary h according to estimated local error. Stiff solvers are appropriate when widely separated time scales, such as fast electrical dynamics and slow thermal dynamics, make explicit methods inefficient or unstable.

3. Symbolic Algebra, Linear Algebra, and Optimization

Symbolic algebra is particularly useful before numerical computation. A robotic manipulator may be represented by a transformation matrix

T = [ R p ; 0 1 ]

where R is a 3 × 3 rotation matrix and p is a 3 × 1 position vector. Symbolic multiplication of link transformations exposes the relationship between joint variables and end-effector pose. Differentiating the pose yields a Jacobian J that relates joint velocity q̇ to end-effector velocity v:

v = J(q) q̇

The Jacobian depends on configuration q. Near a singular configuration, J may lose rank, so small Cartesian motions may require very large joint velocities. Numerical software should therefore monitor rank, singular values, or a condition measure rather than blindly invert J.

Least-squares estimation is widely used for calibration. Given measurements y and a model Aθ, the ordinary least-squares estimate minimizes

J(θ) = ||Aθ − y||²

If A has full column rank, the minimizer satisfies the normal equations

AᵀA θ̂ = Aᵀy

However, directly forming AᵀA can worsen conditioning. QR factorization or singular-value decomposition is usually numerically safer. Assumptions include a correctly specified linear model and an error model appropriate to the data. If measurement variances differ, weighted least squares uses

J(θ) = (Aθ − y)ᵀ W (Aθ − y)

where W is a positive semidefinite weighting matrix, commonly the inverse noise covariance when that covariance is known.

Optimization seeks parameters or design variables that minimize an objective subject to constraints. A general form is

minimize J(z)
subject to gi(z) ≤ 0, i = 1,…,m
hj(z) = 0, j = 1,…,p

where z contains design or control variables. In mechatronics, objectives may combine tracking error, energy consumption, vibration, and manufacturing cost. Scaling variables and constraints is essential because poor scaling can degrade solver performance and distort stopping criteria.

4. Simulation and Visualization

A simulation study should specify the model, solver, time step or tolerances, initial conditions, inputs, parameter values, and output metrics. Repeating a simulation with a different solver or a smaller step is a useful numerical sensitivity test.

Visualization is an analytical tool, not decoration. Time plots reveal transients and steady-state behavior; phase plots reveal oscillations and limit cycles; frequency plots reveal resonant peaks; heat maps show spatial variation; residual plots reveal systematic model error.

When plotting measured and simulated signals, use identical units, synchronized time bases, clear legends, uncertainty bands where justified, and physically meaningful axis limits. Avoid truncating an axis in a way that exaggerates a small difference. A plot should answer a question, such as whether a controller meets a settling-time requirement or whether vibration increases before failure.

5. Digital Twins and Connected Mechatronic Systems

A digital twin is a computational representation of a physical asset or process that is connected to the asset through data and maintained for a defined purpose. It is more than a static CAD model. A practical twin may contain geometry, dynamic equations, sensor streams, state estimates, maintenance history, and uncertainty information.

A typical architecture includes:

  1. Physical asset: motors, drives, mechanisms, sensors, and environment.
  2. Data acquisition: sampling, timestamping, filtering, and communication.
  3. State and parameter estimation: inference of quantities not directly measured.
  4. Computational model: physics-based, data-driven, or hybrid representation.
  5. Decision layer: prediction, diagnosis, optimization, or control.
  6. Feedback and governance: validation, alarms, human approval, and audit records.

A state estimator combines a model and measurements. In a linear discrete-time system,

xk+1 = A xk + B uk + wk
yk = C xk + vk

where w_k and v_k represent process and measurement noise. A Kalman filter is appropriate under linear dynamics and commonly assumed zero-mean Gaussian noise with known covariance matrices. For nonlinear systems, extended or unscented variants may be used, but their assumptions and failure modes must be assessed.

Digital twins can support commissioning, what-if analysis, energy optimization, remote monitoring, and fault diagnosis. They also create cybersecurity and governance obligations. Incorrect timestamps, sensor drift, missing data, or an outdated model can cause a twin to produce confident but unsafe recommendations.

6. Robotics and Computational Kinematics

Robotics relies heavily on matrix computation, numerical differentiation, nonlinear equation solving, and optimization. Forward kinematics maps joint coordinates q to end-effector pose. Inverse kinematics solves the reverse problem and may have multiple solutions, no solution, or solutions near singularities.

For differential motion, a damped least-squares inverse can be written as

q̇ = Jᵀ (J Jᵀ + λ² I)⁻¹ v

where λ ≥ 0 is a damping parameter and I is the identity matrix. For λ = 0 and suitable rank conditions, this corresponds to a right pseudoinverse. Positive damping reduces excessive joint velocities near singularities but introduces tracking error. The value of λ should be selected using task requirements and monitored condition information, not treated as a universal constant.

Collision checking, trajectory interpolation, and dynamics simulation must include actuator limits, joint limits, friction, payload uncertainty, and sampling delays. A mathematically smooth trajectory can still be unsafe if its acceleration exceeds hardware capability or if a controller cannot track it at the available sampling frequency.

7. Predictive Maintenance and Data-Driven Models

Predictive maintenance estimates the condition or remaining useful life of equipment so that intervention can be planned before functional failure. Useful measurements include vibration, motor current, temperature, acoustic emissions, pressure, and cycle time.

A basic condition indicator may be vibration root-mean-square value:

xRMS = √[(1/N) ∑i=1N xi²]

where x_i is a sampled, usually detrended signal and N is the number of samples. RMS has the same units as x. It is meaningful only when sampling rate, sensor location, bandwidth, operating speed, and preprocessing are documented.

A binary classifier may estimate the probability of a fault from features z:

P(F = 1 | z) = σ(wᵀz + b), σ(a) = 1/(1 + e⁻ᵃ)

where F = 1 denotes the selected fault class, w is a parameter vector, b is an intercept, and σ is the logistic function. The probability is not automatically a calibrated probability; calibration must be checked using suitable data.

Data must be divided into training, validation, and test sets without leakage. For time-series maintenance data, random splitting can place adjacent observations from the same machine in both training and test sets, producing unrealistically high performance. A time-based or asset-based split is often more appropriate.

Performance measures must reflect consequences. Accuracy can be misleading for rare faults. Precision, recall, specificity, false-alarm rate, calibration, and expected maintenance cost may be more informative. A threshold should be selected with domain experts because a missed critical fault and an unnecessary inspection do not have equal consequences.

8. Artificial Intelligence, Explainability, and Bias

Machine-learning models can discover relationships that are difficult to encode explicitly, but they do not eliminate the need for engineering reasoning. A model trained on one operating regime may fail under a new load, temperature, tool, supplier, or maintenance policy. This is distribution shift.

Bias can enter through nonrepresentative data, unequal sensor quality, selective failure records, incorrect labels, or historical maintenance decisions. A model should therefore be evaluated across relevant machines, operating conditions, time periods, and fault modes. Aggregate performance can conceal poor performance for a particular asset group.

Explainability has several meanings. A global explanation describes overall model behavior; a local explanation describes one prediction; a physically informed explanation connects features with known mechanisms. Feature importance is not necessarily causality. An explanation method should be tested for stability and should not be used to justify an unsafe decision without engineering validation.

For safety-critical applications, an AI model should normally be bounded by rules, physical constraints, monitoring, fallback behavior, and human authority. A prediction system should not directly command hazardous motion unless the complete safety architecture has been validated.

9. Safety, Ethics, and Model Governance

Computational engineering decisions require governance throughout the model lifecycle:

Lifecycle stageGovernance practice
Purpose definitionState intended use, excluded uses, and safety classification
Data preparationRecord provenance, consent or authorization, quality, and known bias
DevelopmentVersion code, parameters, data, and dependencies
VerificationTest equations, software, limits, and failure handling
ValidationCompare with independent physical data and operating regimes
DeploymentMonitor drift, access, cybersecurity, and human override
Change managementReapprove material changes and retain audit records
RetirementPreserve records and safely remove obsolete models

Engineers must distinguish model uncertainty from measurement uncertainty and communicate both. A confidence interval or prediction interval is not a guarantee of safety. If a model is used to make a decision affecting workers, customers, or the environment, transparency, accountability, privacy, and contestability are relevant ethical considerations.

Safety analysis may use hazard identification, failure-mode and effects analysis, fault trees, and independent protection layers. A computational model should fail safely when sensors are invalid, communications are lost, inputs exceed training ranges, or the model detects conditions outside its domain of validity.

10. Worked Example: Numerical Simulation of a Mechatronic Actuator

Consider a simplified motor-load system with viscous damping:

J θ̈ + c θ̇ = τ(t)

Here J is rotational inertia in kg·m², c is viscous damping in N·m·s/rad, θ is angular position in rad, and τ is applied torque in N·m. Assume J = 0.02 kg·m², c = 0.10 N·m·s/rad, constant torque τ = 1 N·m, and initial conditions θ(0) = 0 and θ̇(0) = 0.

Let ω = θ̇. The state equations are

θ̇ = ω
ω̇ = [τ − cω] / J

The steady-state speed is obtained by setting ω̇ = 0:

ωss = τ/c = 1/0.10 = 10 rad/s

The time constant is

τm = J/c = 0.02/0.10 = 0.20 s

For constant torque and zero initial speed, the analytical speed is

ω(t) = (τ/c)[1 − e^(−t/τm)]

At t = 0.40 s, t/τ_m = 2, so

ω(0.40) = 10[1 − e^(−2)] ≈ 10(1 − 0.1353) = 8.647 rad/s

The position is obtained by integration:

θ(t) = (τ/c)[t − τm(1 − e^(−t/τm))]

Thus,

θ(0.40) = 10[0.40 − 0.20(1 − e^(−2))]
≈ 10[0.40 − 0.1729]
≈ 2.271 rad

A numerical ODE solver should reproduce these values as the time step is reduced. Agreement verifies the implementation for this simplified model; it does not validate the model for a real actuator. Real validation would require motor electrical dynamics, gearbox efficiency, Coulomb friction, saturation, sensor quantization, and measured data.

11. Illustrative Case Study: Digital-Twin Support for a Robotic Assembly Cell

Background

The following is a fictional illustrative case. A robotic assembly cell experiences occasional increases in cycle time and intermittent positioning errors. The cell contains a six-axis robot, an electric gripper, a vision sensor, and a conveyor.

Problem

Maintenance records show that faults are often detected only after product rejects occur. The engineering team proposes a digital twin that estimates joint condition and predicts abnormal operation using motor current, vibration, temperature, cycle time, and controller logs.

Analysis

The team first defines the intended use: early warning and maintenance prioritization, not autonomous safety control. Data are synchronized by cycle identifier rather than relying only on network arrival time. Missing and duplicated records are flagged. The data are divided by production week, and the final weeks are held out for testing to reduce temporal leakage.

A physics-based model predicts nominal joint torque from motion and load. Residuals are calculated as measured current-related torque minus predicted torque. A statistical detector monitors residual mean, variance, and frequency content. A machine-learning classifier is then trained using residual features, temperature, and cycle-time statistics. Performance is reported separately for nominal production, high payload, and low-temperature conditions.

Approach and solution

The twin includes an operating-range monitor. If a new condition is outside the training range, it reports “unknown operating condition” rather than producing an ordinary fault probability. Alarm thresholds are selected using the cost of missed failures, false alarms, inspection time, and production loss. The system recommends inspection, while a qualified maintenance engineer approves the intervention.

Verification tests confirm correct unit conversion, timestamp alignment, feature calculations, and alarm logic. Validation uses later field data and includes a comparison with maintenance outcomes. Model cards document training data, limitations, expected performance, and prohibited uses.

Outcome

In the illustrative deployment, early warnings become more useful because they are linked to operating regime and physical residuals rather than to a black-box score alone. The system does not eliminate failures, but it improves maintenance prioritization and provides an auditable basis for decisions. The principal benefit is not the algorithm alone; it is the combination of data quality, physical modeling, validation, human review, and governance.

Learning points

  1. Digital twins require trustworthy data pipelines and explicit model boundaries.
  2. Physics-based residuals can improve interpretability but do not guarantee correctness.
  3. Time-series evaluation must prevent information leakage.
  4. Uncertainty and out-of-distribution detection are essential for safe use.
  5. Human responsibility remains necessary when decisions affect safety or production.

12. Best Practices and Contemporary Developments

Important contemporary practices include hybrid physics–machine-learning models, automated experiment tracking, uncertainty-aware prediction, edge computing, federated learning, differentiable simulation, and physics-informed neural networks. These methods can reduce data requirements or improve generalization, but they introduce additional assumptions and implementation complexity.

Best practice is to begin with the simplest model that meets the engineering requirement. Establish a baseline using physical rules or a transparent statistical model before adopting a complex neural network. Use dimensional analysis, sensitivity analysis, and range checks. Maintain a clear distinction between a model used for exploration and one approved for operational decisions.

A computational notebook is useful for investigation, but production calculations should be transferred into tested, version-controlled modules. Continuous integration can run unit tests and regression tests whenever code changes. Containers or environment files can preserve dependencies. Results should include enough metadata to identify the model version, data window, solver settings, and parameter set.

Challenges and Limitations

Computational mathematics cannot compensate for an incorrect physical model, poor sensors, biased data, or ambiguous objectives. Numerical convergence does not prove physical validity. More data do not necessarily improve a model if the data are systematically biased or contaminated by leakage. High-fidelity simulation may be computationally expensive and still omit important phenomena. AI systems can be difficult to interpret, vulnerable to adversarial or accidental inputs, and unreliable under distribution shift.

The engineer must therefore combine mathematical analysis, software testing, experimental evidence, domain expertise, and responsible governance. The appropriate question is not “Which algorithm is most advanced?” but “Which validated computational method provides sufficient accuracy, reliability, transparency, and safety for this decision?”

Chapter Summary

Computational mathematics extends engineering mathematics into numerical algorithms, symbolic algebra, simulation, visualization, and data-driven inference. Reliable computation requires attention to truncation and round-off error, conditioning, algorithmic stability, convergence, units, and reproducibility. MATLAB and Python support these activities when used with version control, testing, documented assumptions, and controlled environments.

ODE solvers, matrix methods, least squares, optimization, and Jacobian calculations are central to mechatronics. Digital twins connect computational models to physical assets, while robotics uses computational kinematics and dynamics to plan and control motion. Predictive maintenance combines signal processing, statistical features, physics-based residuals, and machine learning, but must address leakage, calibration, class imbalance, and distribution shift.

Safe computational engineering requires verification, validation, uncertainty analysis, explainability appropriate to the decision, cybersecurity, ethical consideration, human oversight, and model governance. Emerging methods such as hybrid models and physics-informed learning are valuable only when their assumptions and limitations are made explicit.

Key Terms

Computational mathematics: Use of mathematical algorithms and software to solve engineering problems.

Symbolic computation: Algebraic manipulation of mathematical expressions.

Numerical computation: Approximate calculation using finite-precision arithmetic.

Simulation: Evaluation of a model to study system behavior.

Truncation error: Error caused by replacing an exact operation with an approximation.

Round-off error: Error caused by finite numerical precision.

Condition number: Measure of sensitivity of a problem to input perturbations.

Numerical stability: Ability of an algorithm to control computational error.

Verification: Establishing that an implementation correctly represents its intended method.

Validation: Establishing that a model adequately represents the real system for a stated purpose.

Digital twin: A connected computational representation of a physical asset or process.

State estimator: Algorithm that infers system states from a model and measurements.

Jacobian: Matrix of first derivatives relating small changes in inputs to outputs.

Singularity: Configuration in which a Jacobian loses rank or becomes poorly conditioned.

Predictive maintenance: Maintenance planning based on estimated equipment condition or failure risk.

Distribution shift: Change between the data distribution used for training and that encountered in operation.

Explainability: Ability to communicate how a model produces or supports a result.

Model governance: Policies and controls governing a model throughout its lifecycle.

Reproducibility: Ability to obtain consistent results from documented code, data, and settings.

Review Questions

Short Answer Questions

  1. Distinguish symbolic computation, numerical computation, and simulation.
  2. What is the difference between verification and validation?
  3. State two causes of numerical error.
  4. Why can random splitting be inappropriate for time-series maintenance data?
  5. What is the purpose of an operating-range monitor in a predictive-maintenance system?

Long Answer Questions

  1. Explain how conditioning and algorithmic stability affect the solution of a linear system.
  2. Describe a reproducible MATLAB or Python workflow for simulating a mechatronic system.
  3. Explain the role of Jacobians and singularities in robot motion computation.
  4. Discuss the architecture, benefits, and risks of a digital twin.
  5. Explain how safety, ethics, and governance should influence deployment of an AI-based engineering model.

Analytical / Application Questions

  1. A motor model has a time constant of 0.05 s. Explain why an explicit Euler simulation with a time step of 0.20 s may be unreliable, and propose a numerical investigation.
  2. Design a validation plan for a predictive-maintenance classifier used on several machines operating under different loads and temperatures.
  3. A robotic system produces a high fault probability immediately after a new tool is installed. Identify possible causes, tests for distinguishing them, and safe actions before trusting the prediction.

Multiple Choice Questions with Answers

Question 1

Which statement best distinguishes verification from validation?

A. Verification checks implementation correctness; validation checks adequacy for the real intended use.

B. Verification uses field data only; validation uses source-code inspection only.

C. Verification measures bias; validation measures round-off error.

D. Verification and validation are identical terms.

Correct Answer: A. Verification checks implementation correctness; validation checks adequacy for the real intended use.

Question 2

For forward finite differences, the leading truncation error is generally proportional to which quantity?

A. h²

B. 1/h²

C. h

D. e^h

Correct Answer: C. h

Question 3

For the Euler method applied to x′ = λx, which condition gives absolute stability?

A. |1 + hλ| ≤ 1

B. |1 − hλ| ≥ 1

C. hλ = 1 for every λ

D. |hλ| ≥ 2

Correct Answer: A. |1 + hλ| ≤ 1

Question 4

In the actuator example, with τ = 1 N·m and c = 0.10 N·m·s/rad, the steady-state speed is:

A. 0.01 rad/s

B. 0.10 rad/s

C. 1 rad/s

D. 10 rad/s

Correct Answer: D. 10 rad/s

Question 5

What is a principal danger of directly forming AᵀA in least-squares computation?

A. It always removes measurement noise.

B. It can worsen the conditioning of the problem.

C. It guarantees a rank-deficient matrix.

D. It prevents use of numerical methods.

Correct Answer: B. It can worsen the conditioning of the problem.

Question 6

Near a robot Jacobian singularity, damped least squares is mainly used to:

A. Increase joint velocities without limit.

B. Reduce excessive joint velocities and numerical sensitivity.

C. Eliminate all tracking error.

D. Remove the need for joint limits.

Correct Answer: B. Reduce excessive joint velocities and numerical sensitivity.

Question 7

Which practice best reduces information leakage in time-series predictive maintenance?

A. Randomly mixing all observations from every time period.

B. Using future failure labels as input features.

C. Using time-based or asset-based train-test separation.

D. Duplicating rare fault records across all data splits.

Correct Answer: C. Using time-based or asset-based train-test separation.

Question 8

A digital twin is best described as:

A. A static drawing with no connection to operational data.

B. A connected computational representation maintained for a defined purpose.

C. A replacement for all physical safety systems.

D. A database containing only historical maintenance dates.

Correct Answer: B. A connected computational representation maintained for a defined purpose.

Question 9

Which statement about model explainability is correct?

A. Feature importance always proves causality.

B. A local explanation necessarily describes global model behavior.

C. Explanations should be assessed for stability and interpreted within engineering context.

D. Explainability makes validation unnecessary.

Correct Answer: C. Explanations should be assessed for stability and interpreted within engineering context.

Question 10

In the actuator example, J = 0.02 kg·m² and c = 0.10 N·m·s/rad. The mechanical time constant J/c is:

A. 0.002 s

B. 0.02 s

C. 0.20 s

D. 5 s

Correct Answer: C. 0.20 s

Engineering Mathematics II
Chapter 15 of 15