What is the degree p of this polynomial

Assignment Help Computer Engineering
Reference no: EM132078944

You need help representing the function given by the Matlab code above on the interval [0,2] by a polynomial P(x). The specific form of f(x) is not given but you know how to evaluate this function at any given point x (by calling the Matlab function). The function evaulation is costly, so you can compute the values only at 6 points xi in the interval [0,2].

(a) What is the best choice (i.e. minimizing the interpolation error) of points x1,x2,x3,x4,x5,x6? Give the formula for xi and using Matlab produce a table with numerical values of xi and corresponding values f(xi)

(b) Use the interpolation points xi and the values f(xi) to construct the interpolating polynomial P(x). What is the degree p of this polynomial? Express this polynomial in the form P(x)= ao + a1x + ... + apx^p (i.e. find the values of the coefficients).

(c) Use the constructed interpolation polynomial to approximate the integral of f(x) from [0,2]. (perform explicit calculations for integral(P(x)dx) from [0,2], substitute numerical values computed for ak and then evaluate the integral).

Math 353 d) Type the code below into a MATLAB file funf.m (both functions funf and law are entered in the single file funf.m exactly as typed below.

Make sure that everything is entered exactly as displayed below. function y fun f (x) [0 10] zo ode 45 (01aw, [0 x+0.1] ,z0) y Z (end, 1) end function dz law (t ,z) dz zeros (2,1) dz (1) z (2) dz (2) 9.8 z (1)-2*z (2) end.

Then evaluate the finite difference formulas derived above at 1 and h 10 2. Report the results and compare the accuracy of the derived formulas.

Reference no: EM132078944

Questions Cloud

Prepare a journal entry to correct the errors : The December 31, 2016, inventory of Tog Company, based on a physical count, was determined to be $450,000. Prepare a journal entry to correct the errors
Calculate the overall speedup of a system : Calculate the overall speedup of a system that spends 40% of its time in calc with a processor upgrade that provides for 100% greater throughput.
Modify the outcome of an enzymatic reaction : How an acidic fluid will modify the outcome of an enzymatic reaction using these materials pH paper,hydrogen peroxide solution, plastic
Prepare the journal entry on july for ellsbury : Kickapoo pays Ellsbury on July 15, 2014, and Ellsbury delivers the machine on July 31, 2014. Prepare the journal entry on July 1, 2014, for Ellsbury
What is the degree p of this polynomial : What is the best choice (i.e. minimizing the interpolation error) of points x1,x2,x3,x4,x5,x6? Give the formula for xi and using Matlab produce a table.
Study gene expression in cancerous versus noncancerous : What are two methods you could use to study gene expression in cancerous versus noncancerous cells.
What is the unknown molar concentration of the ion : Fit the raw data and determine the best equation to linearize the data .What is the unknown molar concentration of the ion .
How is mitotic metaphase similar to metaphase : How is mitotic metaphase similar to metaphase I of meiosis I and how are they different from each other?
What is the combined number of units of the two products : The company's total fixed costs are expected to be $280,000. Based on this information, what is the combined number of units of the two products

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd