In MATLAB, a lab script defines the row vectors a = [6 9 12] and b = [3 2 4]. It then computes the four expressions listed in the table. Enter each element of every result as an exact number.
Unlock full course notes by signing up
Comparing Readings with Candidate Offsets
An engineer compares three pressure readings with two candidate zero offsets. Each offset must be subtracted from every reading. In current MATLAB, the arrays are
What does MATLAB return for R, in kilopascals?
Comparing Cart Energies
Three test carts have masses and speeds stored in matching row vectors:
Each cart has kinetic energy E=12mv2E=\tfrac12 mv^2E=21mv2. Form the array of kinetic energies using MATLAB array arithmetic, then determine how much greater the third cart's energy is than the second cart's energy.
Enter the positive energy difference in joules, to two decimal places.
Combining Contributions and Applying Corrections
An actuator model combines three motor currents into two output forces. The matrix G contains force coefficients in newtons per ampere. Each column of I contains the three motor currents, in amperes, for one operating scenario:
First, combine the motor contributions by matrix multiplication. Next, multiply each resulting force by the dimensionless efficiency at the matching entry of eta. Finally, subtract the force offsets in b, in newtons, from the matching output row in both scenarios.
Which expression implements this model?
Solving Loop Currents with Left Division
An analysis of a three-loop resistor network gives these equations for the loop currents I1I_1I1, I2I_2I2 and I3I_3I3 in amperes:
An engineer enters the coefficient matrix A and the right-hand-side column vector b in MATLAB and computes x = A \ b. Give each entry of x, in amperes, to two decimal places.