Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

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=ฮฒ0+ฮฒ1t+ฮฒ2t2+ฮฒ3t3 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.5554t2โˆ’0.0274t3.

(b) The velocity at t=4.5 is 53ft/sec.

Step by step solution

01

The General Linear Model 

The equation of the general linear model is defined as:

y=Xฮฒ+โˆˆ

Where, y=(y1y2โ‹ฎyn) is an observational vector, X=(1x1โ‹ฏx1n1x2โ‹ฏx2nโ‹ฎโ‹ฎโ‹ฑโ‹ฎ1xnโ‹ฏxnn) is the design matrix, ฮฒ=(ฮฒ1ฮฒ2โ‹ฎฮฒn) is the parameter vector, and โˆˆ=(โˆˆ1โˆˆ2โ‹ฎโˆˆn) is a residual vector.

02

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

(a)

The given equation isy=ฮฒ0+ฮฒ1t+ฮฒ2t2+ฮฒ3t3and 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=(1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728)

Observational vector:

y=(08.829.962.0104.7159.1222.0294.5380.4471.1571.7686.8809.2)

And, the parameter vectorfor the given equation is,

ฮฒ=(ฮฒ0ฮฒ1ฮฒ2ฮฒ3)

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

03

Normal equation

The normal equation is given by,

XTXฮฒ=XTy

04

Find least-squares cubic curve

The general least-squares equation is given by y=ฮฒ0+ฮฒ1t+ฮฒ2t2+ฮฒ3t3, and to find the associated least-squares curve, the values of ฮฒ0,ฮฒ1,ฮฒ2,ฮฒ3 are required, so find the values of ฮฒ0,ฮฒ1,ฮฒ2,ฮฒ3 by using normal equation.

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

ฮฒ=(XTX)โˆ’1XTy

That implies;

(ฮฒ0ฮฒ1ฮฒ2ฮฒ3)=((1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728)T(1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728))โˆ’1(1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728)T(08.829.962.0104.7159.1222.0294.5380.4471.1571.7686.8809.2)

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

  1. Enter the data (ฮฒ0ฮฒ1ฮฒ2ฮฒ3)=((1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728)T(1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728))โˆ’1(1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728)T(08.829.962.0104.7159.1222.0294.5380.4471.1571.7686.8809.2) in the tab in the form of ((1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728)T(1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728))โˆ’1(1000111112481392714166415251251636216174934318645121981729110100100011112113311121441728)T(08.829.962.0104.7159.1222.0294.5380.4471.1571.7686.8809.2).
  2. Use colons after that and press ENTER.

So, the value of (ฮฒ0ฮฒ1ฮฒ2ฮฒ3) is: (โˆ’0.85584.70255.5554โˆ’0.0274)

Now, substitute the obtained values into y=ฮฒ0+ฮฒ1t+ฮฒ2t2+ฮฒ3t3.

y=โˆ’0.8558+4.7025t+5.5554t2โˆ’0.0274t3

Hence, the required least cubic curve is y=โˆ’0.8558+4.7025t+5.5554t2โˆ’0.0274t3.

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.5554t2โˆ’0.0274t3 with respect to t.

yโ€ฒ(t)=ddt(โˆ’0.8558+4.7025t+5.5554t2โˆ’0.0274t3)v(t)=4.7025+11.1108tโˆ’0.822t2

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

v(4.5)=4.7025+11.1108(4.5)โˆ’0.822(4.5)2=53

So, the velocity at t=4.5 is 53ft/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 Vaia!

One App. One Place for Learning.

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

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free