Online Homework System Assignment Worksheet
3/1/22 - 10:57:14 AM CET
 

Name: ____________________________ Class:
Class #: ____________________________ Section #: ____________________________
Instructor: Richard Dwight Assignment: AE2220-I exam - 28 February 2022



Question 1: (1 point)

Consider the positive floating point number system s×be, where b=10, s is a 15-digit significant 1s(101×1014) and 300e300. This is close to the double-precision standard. What is the machine epsilon in this system (i.e.\ the smallest number which, when added to 1, gives a result distinct from 1)?

 

(a)1×108
(b)1×1013
(c)1×1014
(d)1×1015
(e)1×1016
(f)1×10299

 





Question 2: (1 point)

Consider the floating-point system from the previous question. Newton's method is applied (in exact arithmetic) to find a root of a function f(x). Let the initial error be ϵ0=0.1, and assume Newton's method converges quadratically from here. Approximately how many iterations are required before the error is smaller than the machine epsilon of the floating-point system?

(a)

4

(b)

9

(c)

49

(d)

99

(e)

499

(f)

999





Question 3: (1 point)

The small-angle approximation for trigonometric functions is based on a Taylor expansion about x=0, up to quadratic terms.  For which angle does the approximation of sin(x) have a relative error exceeding approximately 1.0%? [Note: Relative error: ftruefapproxftrue×100%]

 

(a)

7π/180

(b)

14π/180

(c)

21π/180

(d)

28π/180

(e)35π/180
(f)

π

 

 





Question 4: (1 point)

Consider an twice-continuously differentiable periodic function f(x), with

f(x)=f(x+2π),xR,


with at least one root x~ in the interval [0,2π].  A fixed-point iteration (FPI) xi+1=ϕ(xi) is applied with a particular initial guess x^0R and converges to x~.  What can be said about the behaviour of this FPI for other initial guesses x0x^0?

 

(a)

Nothing can be guaranteed.

(b)

It will always converge to a root.

(c)

It will always converge to x~.

(d)

For x0=x^0+2πi it will always converge, but not always to x~ (i any integer)

(e)

For x0=x^0+2πi it will always converge to x~ (i any integer).

 





Question 5: (1 point)

Using the property of fixed-point iterations, that they are guaranteed to converge if |φ(x)|<1 for x[x~,x0], and noting that Newton is a fixed-point iteration with

φ(x)=xf(x)f(x),


in what starting interval is Newton's iteration guaranteed to converge to the exact root x~=π/2 of f(x)=cosx=0?

 

(a)

x0=(π4,π4)

(b)

x0=(π2,π2)

(c)

x0=(π4,3π4)

(d)

x0=(0,π)

(e)

x0=(π,π)

(f)

x0=(π2,π)

(g)

Newton never converges to π/2.

 





Question 6: (1 point)

In the course ``Introduction to Aerospace Engineering II'' you might have encountered Kepler's equation for elliptical orbital properties:

M+esin(E)E=0

where M is the mean anomaly, E the eccentric anomaly and 0e<1 the eccentricity. Unfortunately given M and e the value of E can not be found analytically. The iteration

Ei+1=M+esin(Ei)

is used to approximate a solution, with an appropriate starting guess E0. For which values of M is the iteration guaranteed to converge to a root, given any value of 0e<1 and any E0R?

 

(a)

Always for any M

(b)

M<1

(c)

M<0

(d)

M>0

(e)

M>1

(f)

M>e

(g)

Never for any M

 





Question 7: (1 point)

Consider the two-variable problem consisting of two scalar equations:

x1+2x2=3
2x12+x225=0.

Using Newton's method starting with x0=(1.5,1.0)T, what is the estimate of the root after single iteration? [Hint: For multiple equations and variables the derivatives form a matrix.]

 

(a)

Diverges after one step

(b)

(1.5,0.25)

(c)

(1.5,0.5)

(d)

 (1.5,0.75)

(e)

(1.0,0.25)

(f)

(1.0,0.55)

(g)

(1.0,0.75)





Question 8: (1 point)

Newton's method is used to find the root of f(x)=x4. Given that ei+1=Kein, where ei is the error at iteration i, what are K and n? [Hint: Starting from the definition of the Newton iteration, derive an expression for the error.]

(a)

K=12, n=1

(b)

K=23, n=1

(c)

K=34, n=1

(d)

K=12, n=2

(e)

 K=34, n=2

(f)

 K=1, n=2





Question 9: (1 point)

Consider the nodes [x0,,x4]=[2,1,0,1,2,3], and the Lagrange basis polynomial 0(x) with the usual property 0(xi)=δ0i. The function 0(x) is itself approximated by a monomial basis

0(x)p(x)=j=05ajxj,

with p(x) interpolating 0(x) at 6 distinct unspecified nodes. What is the value of a5? [Hint: You only need to find the coefficient of the highest-degree term in the polynomial, which simplifies the calculation.]

 

(a)

1

(b)

1/2!

(c)

1/3!

(d)

1/4!

(e)

1/5!

(f)

1/6!

(g)

0

 





Question 10: (1 point)

Consider the interpolant

ϕ(x)=k=K4Kckeikx,

where i=1.  Note that the coefficients ckC and basis functions φk(x):RC are complex-valued, while xR.  You are given a set of N+1 distinct nodes 0x0<x1<<xN<2π where N+1 is odd.  For what relation between K and N does there exist a unique solution to the interpolation problem for any complex-valued samples f(x0),f(xN)C

(a)

N=4K+1

(b)

N=4K1

(c)

N=5K

(d)

N=5K+1

(e)

N=4K

(f)

N=K

(g)

N=5K1

 

 




Build Number : 0482871