fi(x) = 4x3 + 5x + x 2; x [1,5] x2 f2(x) [2,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
fi(x) = 4x3 + 5x² + x – 2; x € [1,5] x2 f2(x) хе [2, 20] 2x3 + 3' f3(x) = 2x²e-*; x € [0,4] i) Calculate integrals for above funtions analytically. ii) Write computer code finding integrals numerically by following methods. For all methods, obtain a table which contains number of data N, integration result for current N number, and error between current integration result and exact analytical solution. Use N = 5, 10,50, 100, 1000 values for a) and b) sections. Use N = 5,9,49,99, 999 values for c) section where N indicates number of sample points which taken from the function. a) Directly use function values for each interval, Jfc) dx Σf(α) Δε b) Trapezodial rule. c) Simpson's 1/3 rule. iii) Make comments about results and comparisons about methods. 2. fi(x) = 4x3 + 5x² + x – 2; x € [1,5] x2 f2(x) хе [2, 20] 2x3 + 3' f3(x) = 2x²e-*; x € [0,4] i) Calculate integrals for above funtions analytically. ii) Write computer code finding integrals numerically by following methods. For all methods, obtain a table which contains number of data N, integration result for current N number, and error between current integration result and exact analytical solution. Use N = 5, 10,50, 100, 1000 values for a) and b) sections. Use N = 5,9,49,99, 999 values for c) section where N indicates number of sample points which taken from the function. a) Directly use function values for each interval, Jfc) dx Σf(α) Δε b) Trapezodial rule. c) Simpson's 1/3 rule. iii) Make comments about results and comparisons about methods. 2.
Expert Answer:
Answer rating: 100% (QA)
a integrals for the fuctions given are derived below b matlab deinne the function f1 using function handle f1x 4x35x2x2 a1 b5 dispTable for simpson for the function f1 fprintfN I err fprintf for N2510... View the full answer
Related Book For
Posted Date:
Students also viewed these mathematics questions
-
A total of 100 sample points were taken from two populations with variances 12 = 4 and 22 = 9. Find n1 and n2 that will result in the maximum amount of information about (1 2).
-
Q1. Suppose player A and player B are playing the following game. Player A can choose "Up" and "Down", while player B can choose "Left" and "Right". The payoff matrix is depicted below. Player A's...
-
A random sample of n = 9 values taken from a normally distributed population with a population variance of 25 resulted in the following sample values: Use the sample values to construct a 90%...
-
At December 31, 2016, Pioneer Corporation reported the stockholders' equity accounts shown here (with dollar amounts in millions, except per-share amounts). Common stock $3.00 par value per share, 22...
-
Trade areas are often described as concentric circles emanating from the store or shopping centre. Why is this practice used? Suggest an alternative method. Which would you use if you owned a store...
-
National Scan, Inc., sells radio frequency inventory tags. Monthly sales for a seven- month period were as follows: Month Sales (000 units) Feb. . 19 Mar. . 18 Apr. . 15 May . 20 Jun. . 18 Jul. . 22...
-
99 percent per month. In 2014, Boling resolved his suit against the gas can manufacturer. Shortly thereafter, Prospect sent Boling a Schedule of Purchases, asserting that Boling owed Prospect...
-
Starbucks understands the important role each participant in its value chain plays. Starbucks offers a selection of coffees from around the world. There are many potential challenges in transforming...
-
Share any experience you have with a database accessed for work or pleasure. What database management system was used for the database? Did you like the database? Why or why not? Or, share a link to...
-
Take-a-Break Travel Company offers spring break travel packages to college students. Two of its packages, a 7-day, 6- night trip to Cancun and a 5-day, 4-night trip to Jamaica, have the following...
-
If an R = 1-k resistor, a C = 1-F capacitor, and an L = 0.2-H inductor are connected in series with a V = 150 sin (377t) volts source, what is the maximum current delivered by the source?
-
Trico Inc's credit rating is AA. Corresponding credit spread for companies rated AA is 0.78%. If risk-free rate is 1%, what is the cost of debt for Trico Inc? [enter answer in %] Blueberry Inc...
-
A water tank has a maximum capacity of 600 m however internal corrosion is responsible for significant leakage is assess that a constant half cubic meter of water leaks every minute. If a 3 inch...
-
Come home incorporated sold some office equipment for 52000 on december 31 2018 the original cost of the equipment was 80000 with a residual value of 5000 and a useful life of 10 years assume the...
-
Is managerial accounting is more important for small businesses versus large businesses? Why or why not
-
Exactly five years ago, AAA Corporation issued 20-year bonds with a $1,000 face value. These bonds pay $80 in coupon payment every six months. The bonds currently sell for $1,150. Due to additional...
-
1.Let ?: R^2 ? R^2 be an isometry.(a) If P and Q are distinct points of R^2, prove that ?(P)and?(Q)are distinct. Deduce that ? is injective.Proof:(b)Suppose P and Q are distinct points of 2 answers
-
Determine the volume of the parallelepiped of Fig. 3.25 when (a) P = 4i 3j + 2k, Q = 2i 5j + k, and S = 7i + j k, (b) P = 5i j + 6k, Q = 2i + 3j + k, and S = 3i 2j + 4k. P
-
Construct the Lagrange interpolating polynomials for the following functions, and find a bound for the absolute error on the interval [x0, xn]. a. f (x) = e2x cos 3x, x0 = 0, x1 = 0.3, x2 = 0.6, n =...
-
Let And Form the 16 Ã 16 matrix A in partitioned form, Let b = (1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6)t. a. Solve Ax = b using the conjugate gradient method with tolerance 0.05. b....
-
Repeat Exercise 5 using the clamped cubic splines constructed in Exercise 7. In Exercise 5 a. f (x) = x ln x; approximate f (8.4) and f'(8.4). b. f (x) = sin(ex 2); approximate f (0.9) and f'(0.9)....
-
Which mechanism of bacterial genetic transfer does not require recombination with the bacterial chromosome?
-
Explain why small deletions and duplications are less likely than large ones to have a detrimental effect on an individuals phenotype. If a small deletion within a single chromosome happens to have a...
-
Explain why inversions and reciprocal translocations do not usually cause a phenotypic effect. Then explain how they can do so in certain cases.
Financial Management Essentials You Always Wanted To Know 4th Edition - ISBN: 1949395413 - Free Book
Study smarter with the SolutionInn App