Consider the function: f = 68x4 +12x-2x + 9x+3. (a) Using MATLAB, estimate f(x) over the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the function: f = 68x4 +12x-2x + 9x+3. (a) Using MATLAB, estimate f(x) over the interval 1x3 in increments of 0.02 using a base point of x = 1 and a: first-order Taylor series approximation i. ii. second-order Taylor series approximation iii. third-order Taylor series approximation Note that fixing a base point of x = 1 means that your Ax will increase for each estimate (i.e., 0.02, 0.04, 0.06, 0.08...). (b) Plot the three estimates of f(x) along with the exact value vs. x on one set of axes. Be sure to label your plot appropriately. Please plot the exact values using a line and the estimates using open symbols. Please show example hand calculations for the estimates from (i)-(iii) for f(x = 2.1). (c) Separately, plot the relative error for each of the three estimates vs. x on a single set of axes. Consider the function: f = 68x4 +12x-2x + 9x+3. (a) Using MATLAB, estimate f(x) over the interval 1x3 in increments of 0.02 using a base point of x = 1 and a: first-order Taylor series approximation i. ii. second-order Taylor series approximation iii. third-order Taylor series approximation Note that fixing a base point of x = 1 means that your Ax will increase for each estimate (i.e., 0.02, 0.04, 0.06, 0.08...). (b) Plot the three estimates of f(x) along with the exact value vs. x on one set of axes. Be sure to label your plot appropriately. Please plot the exact values using a line and the estimates using open symbols. Please show example hand calculations for the estimates from (i)-(iii) for f(x = 2.1). (c) Separately, plot the relative error for each of the three estimates vs. x on a single set of axes.
Expert Answer:
Answer rating: 100% (QA)
To solve this problem in MATLAB you can follow these steps a First define the function fx f x 68x 12x2 2x3 9x 3 Then calculate the first second and th... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
Classify the effect of a distribution in a year when the distributing corporation has the following conditions. a. A deficit in accumulated E & P and a positive amount in current E & P. If a...
-
Zeller Manufacturing Company produces four lines of high-quality lighting fixtures in a single manufacturing plant. Products are built to specific customer specifications. All products are...
-
Why are computer systems so vulnerable?
-
Solve the equation of motion \(\ddot{x}+0.5 \dot{x}+x+1.2 x^{3}=1.8 \cos 0.4 t\), using the Runge-Kutta method with \(\Delta t=0.05, t_{\max }=5.0\), and \(x_{0}=\dot{x}_{0}=0\). Plot the variation...
-
Fionnula Co. uses a periodic inventory system. Its records show the following for the month of May, in which 65 units were sold. Fionnula Co. uses a periodic inventory system. Its records show the...
-
1. What are the five steps to creating more sustainable events? Describe and explain each step. 2. What is fair trade, and what does it mean for contract employees versus salaried employees?...
-
On November 1, 2017, Cullumber Inc. purchased equipment costing $111,500 paying down cash of $82,700 and signing a 11%, 3-month note payable for the remaining balance. Cullumber has a fiscal year end...
-
The passing of title to land that can result from a nonowners use of the land. a. accession b. adverse pos session c. in causa mortis d. eminent doma in e. fee s imple f. freehold e state g. grantee...
-
IFRS 3 Business Combinations allows a choice on the basis of measurement for non-controlling interests. For each acquisition, the acquirer may choose to measure non-controlling interests on...
-
Indicate whether each of the following statements is true or false by writing T or F in the answer c olumn. A contract with a minor can be ratifi ed by either party.
-
Benefi ciary Benefi ts Franken, a college student, recognized that she was fi nancially very dependent upon her widowed mothers fi nancial support while she was in college. To protect against the...
-
Indicate whether each of the following statements is true or false by writing T or F in t he a nswer c olumn. Title to fungible goods passes when they are delivered.
-
Describe the importance and effectiveness of storytelling when crafting business communications.
-
What is the maximum volume of 0.25 M sodium hypochlorite solution (NaOCl, laundry bleach) that can be prepared by dilution of 1.00 L of 0.80 M NaOCl?
-
In Exercises 1-4, write the equation of the circle in standard form, and then find its center and radius. 1. x2 + y2 8y = 0 2. x2 + y2 10x + 16 = 0 3. x2 + y2 2x + 6y + 9 = 0 4. 2x2 + 2y2 2x 2y ...
-
A boat is pulled in by means of a winch located on a dock 5 feet above the deck of the boat (see figure). Let θ be the angle of elevation from the boat to the winch and let s be the...
-
A driver's average speed is 50 miles per hour on a round trip between two cities 100 miles apart. The average speeds for going and returning were x and y miles per hour, respectively. (a) Show that y...
-
The mean free path \(\lambda\) of a molecule of gas is the average distance it travels before collision with another molecule. It is given by \[\lambda=C \frac{m}{ho d^{2}}\] where \(m\) and \(d\)...
-
A rectangular gate (width \(w=2 \mathrm{~m}\) ) is hinged as shown, with a stop on the lower edge. At what depth \(H\) will the gate tip? Water H 0.55 m 0.45 m P3.46 Hinge Stop
-
Gates in the Poe Lock at Sault Ste. Marie, Michigan, close a channel \(W=34 \mathrm{~m}\) wide, \(L=360 \mathrm{~m}\) long, and \(D=10 \mathrm{~m}\) deep. The geometry of one pair of gates is shown;...
Problem Solving In Data Structures And Algorithms Using C 1st Edition - ISBN: 935620280X - Free Book
Study smarter with the SolutionInn App