/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q13E To measure the take-off performa... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

To measure the take-off performance of an airplane, the horizontal position of the plane was measured every second, from \(t = 0\) to \(t = 12\). The positions (in feet) were: 0, 8.8, 29.9, 62.0, 104.7, 159.1, 222.0, 294.5, 380.4, 471.1, 571.7, 686.8, 809.2.

a. Find the least-squares cubic curve \(y = {\beta _0} + {\beta _1}t + {\beta _2}{t^2} + {\beta _3}{t^3}\) for these data.

b. Use the result of part (a) to estimate the velocity of the plane when \(t = 4.5\) seconds.

Short Answer

Expert verified

(a) The least-squares cubic curve is \(y = - 0.8558 + 4.7025t + 5.5554{t^2} - 0.0274{t^3}\).

(b) The velocity at \(t = 4.5\) is \(53{\rm{ ft/sec}}\).

Step by step solution

01

The General Linear Model 

The equation of the general linear model is defined as:

\({\bf{y}} = X\beta + \in \)

Where, \({\bf{y}} = \left( {\begin{aligned}{{y_1}}\\{{y_2}}\\ \vdots \\{{y_n}}\end{aligned}} \right)\) is an observational vector, \(X = \left( {\begin{aligned}1&{{x_1}}& \cdots &{x_1^n}\\1&{{x_2}}& \cdots &{x_2^n}\\ \vdots & \vdots & \ddots & \vdots \\1&{{x_n}}& \cdots &{x_n^n}\end{aligned}} \right)\) is the design matrix, \(\beta = \left( {\begin{aligned}{{\beta _1}}\\{{\beta _2}}\\ \vdots \\{{\beta _n}}\end{aligned}} \right)\) is the parameter vector, and \( \in = \left( {\begin{aligned}{{ \in _1}}\\{{ \in _2}}\\ \vdots \\{{ \in _n}}\end{aligned}} \right)\) is a residual vector.

02

Find design matrix, observation vector, parameter vector for given data 

(a)

The given equation is\(y = {\beta _0} + {\beta _1}t + {\beta _2}{t^2} + {\beta _3}{t^3}\)and the given data from \(t = 0\) to is 0, 8.8, 29.9, 62.0, 104.7, 159.1, 222.0, 380.4, 471.1, 571.7, 686.8 and 809.2.

Write the Design matrix, observational vector, and the parameter vector for the given equation and data set by using the information given in step 1.

Design matrix:

\(X = \left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)\)

Observational vector:

\({\bf{y}} = \left( {\begin{aligned}0\\{8.8}\\{29.9}\\{62.0}\\{104.7}\\{159.1}\\{222.0}\\{294.5}\\{380.4}\\{471.1}\\{571.7}\\{686.8}\\{809.2}\end{aligned}} \right)\)

And, the parameter vectorfor the given equation is,

\({\bf{\beta }} = \left( {\begin{aligned}{{\beta _0}}\\{{\beta _1}}\\{{\beta _2}}\\{{\beta _3}}\end{aligned}} \right)\)

These are the best fit for the given data set and equation.

03

Normal equation

The normal equation is given by,

\({X^T}X\beta = {X^T}{\bf{y}}\)

04

Find least-squares cubic curve

The general least-squares equation is given by \(y = {\beta _0} + {\beta _1}t + {\beta _2}{t^2} + {\beta _3}{t^3}\), and to find the associated least-squares curve, the values of \({\beta _0},{\beta _1},{\beta _2},{\beta _3}\) are required, so find the values of \({\beta _0},{\beta _1},{\beta _2},{\beta _3}\) by using normal equation.

By using the obtained information from step 2, the normal equation will be:

\(\beta = {\left( {{X^T}X} \right)^{ - 1}}{X^T}{\bf{y}}\)

That implies;

\(\left( {\begin{aligned}{{\beta _0}}\\{{\beta _1}}\\{{\beta _2}}\\{{\beta _3}}\end{aligned}} \right) = {\left( {{{\left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)}^T}\left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)} \right)^{ - 1}}{\left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)^T}\left( {\begin{aligned}0\\{8.8}\\{29.9}\\{62.0}\\{104.7}\\{159.1}\\{222.0}\\{294.5}\\{380.4}\\{471.1}\\{571.7}\\{686.8}\\{809.2}\end{aligned}} \right)\)

Use the following steps to find the associated values for the obtained data in MATLAB.

  1. Enter the data \(\left( {\begin{aligned}{{\beta _0}}\\{{\beta _1}}\\{{\beta _2}}\\{{\beta _3}}\end{aligned}} \right) = {\left( {{{\left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)}^T}\left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)} \right)^{ - 1}}{\left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)^T}\left( {\begin{aligned}0\\{8.8}\\{29.9}\\{62.0}\\{104.7}\\{159.1}\\{222.0}\\{294.5}\\{380.4}\\{471.1}\\{571.7}\\{686.8}\\{809.2}\end{aligned}} \right)\) in the tab in the form of \({\left( {{{\left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)}^T}\left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)} \right)^{ - 1}}{\left( {\begin{aligned}1&0&0&0\\1&1&1&1\\1&2&4&8\\1&3&9&{27}\\1&4&{16}&{64}\\1&5&{25}&{125}\\1&6&{36}&{216}\\1&7&{49}&{343}\\1&8&{64}&{512}\\1&9&{81}&{729}\\1&{10}&{100}&{1000}\\1&{11}&{121}&{1331}\\1&{12}&{144}&{1728}\end{aligned}} \right)^T}\left( {\begin{aligned}0\\{8.8}\\{29.9}\\{62.0}\\{104.7}\\{159.1}\\{222.0}\\{294.5}\\{380.4}\\{471.1}\\{571.7}\\{686.8}\\{809.2}\end{aligned}} \right)\).
  2. Use colons after that and press ENTER.

So, the value of \(\left( {\begin{aligned}{{\beta _0}}\\{{\beta _1}}\\{{\beta _2}}\\{{\beta _3}}\end{aligned}} \right)\) is: \(\left( {\begin{aligned}{ - 0.8558}\\{4.7025}\\{5.5554}\\{ - 0.0274}\end{aligned}} \right)\)

Now, substitute the obtained values into \(y = {\beta _0} + {\beta _1}t + {\beta _2}{t^2} + {\beta _3}{t^3}\).

\(y = - 0.8558 + 4.7025t + 5.5554{t^2} - 0.0274{t^3}\)

Hence, the required least cubic curve is \(y = - 0.8558 + 4.7025t + 5.5554{t^2} - 0.0274{t^3}\).

05

Find the velocity

(b)

Velocity is the derivative of the position function, so find the derivative of the obtained least-squares cubic curve \(y = - 0.8558 + 4.7025t + 5.5554{t^2} - 0.0274{t^3}\) with respect to \(t\).

\(\begin{aligned}y'\left( t \right) &= \frac{d}{{dt}}\left( { - 0.8558 + 4.7025t + 5.5554{t^2} - 0.0274{t^3}} \right)\\v\left( t \right) &= 4.7025 + 11.1108t - 0.822{t^2}\end{aligned}\)

To find the velocity at \(t = 4.5\), substitute \(t = 4.5\) into .

\(\begin{aligned}v\left( {4.5} \right) &= 4.7025 + 11.1108\left( {4.5} \right) - 0.822{\left( {4.5} \right)^2}\\ &= 53\end{aligned}\)

So, the velocity at \(t = 4.5\) is \(53{\rm{ ft/sec}}\).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

In Exercises 1-4, find a least-sqaures solution of \(A{\bf{x}} = {\bf{b}}\) by (a) constructing a normal equations for \({\bf{\hat x}}\) and (b) solving for \({\bf{\hat x}}\).

1. \(A = \left[ {\begin{aligned}{{}{}}{ - {\bf{1}}}&{\bf{2}}\\{\bf{2}}&{ - {\bf{3}}}\\{ - {\bf{1}}}&{\bf{3}}\end{aligned}} \right]\), \({\bf{b}} = \left[ {\begin{aligned}{{}{}}{\bf{4}}\\{\bf{1}}\\{\bf{2}}\end{aligned}} \right]\)

Suppose the x-coordinates of the data \(\left( {{x_1},{y_1}} \right), \ldots ,\left( {{x_n},{y_n}} \right)\) are in mean deviation form, so that \(\sum {{x_i}} = 0\). Show that if \(X\) is the design matrix for the least-squares line in this case, then \({X^T}X\) is a diagonal matrix.

In Exercises 1-6, the given set is a basis for a subspace W. Use the Gram-Schmidt process to produce an orthogonal basis for W.

2. \(\left( {\begin{aligned}{{}{}}0\\4\\2\end{aligned}} \right),\left( {\begin{aligned}{{}{}}5\\6\\{ - 7}\end{aligned}} \right)\)

For a matrix program, the Gram–Schmidt process worksbetter with orthonormal vectors. Starting with \({x_1},......,{x_p}\) asin Theorem 11, let \(A = \left\{ {{x_1},......,{x_p}} \right\}\) . Suppose \(Q\) is an\(n \times k\)matrix whose columns form an orthonormal basis for

the subspace \({W_k}\) spanned by the first \(k\) columns of A. Thenfor \(x\) in \({\mathbb{R}^n}\), \(Q{Q^T}x\) is the orthogonal projection of x onto \({W_k}\) (Theorem 10 in Section 6.3). If \({x_{k + 1}}\) is the next column of \(A\),then equation (2) in the proof of Theorem 11 becomes

\({v_{k + 1}} = {x_{k + 1}} - Q\left( {{Q^T}T {x_{k + 1}}} \right)\)

(The parentheses above reduce the number of arithmeticoperations.) Let \({u_{k + 1}} = \frac{{{v_{k + 1}}}}{{\left\| {{v_{k + 1}}} \right\|}}\). The new \(Q\) for thenext step is \(\left( {\begin{aligned}{{}{}}Q&{{u_{k + 1}}}\end{aligned}} \right)\). Use this procedure to compute the\(QR\)factorization of the matrix in Exercise 24. Write thekeystrokes or commands you use.

In exercises 1-6, determine which sets of vectors are orthogonal.

\(\left[ {\begin{array}{*{20}{c}}3\\{-2}\\1\\3\end{array}} \right]\), \(\left[ {\begin{array}{*{20}{c}}{-1}\\3\\{-3}\\4\end{array}} \right]\), \(\left[ {\begin{array}{*{20}{c}}3\\8\\7\\0\end{array}} \right]\)

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.