
Develop cubic splines for the data in Prob. 18.6 and (a) predict f (4) and f (2.5) and (b) verify that
(a)

To calculate: The value of
Answer to Problem 14P
Solution:
Explanation of Solution
Given Information:
Write the data points mentioned in the Prob. 18.6.
1 | 2 | 3 | 5 | 7 | 8 | |
3 | 6 | 19 | 99 | 291 | 444 |
Formula Used:
A third order polynomial is derived for each interval between data points in cubic splines.
Write the expression of polynomial for each interval from Eq.18.36.
Here, 4n conditions are required to evaluate 4n unknowns.
Write the equations to calculate the unknowns,
Calculation:
Recall the table mentioned in the Prob. 18.6.
1 | 2 | 3 | 5 | 7 | 8 | |
3 | 6 | 19 | 99 | 291 | 444 |
From the table the value is,
Recall the equations to calculate the unknowns,
Write the equation(1) for
Substitute all the above values.
Because of natural spline condition
Similarly, equation(1) can be write for all interior knot
Write all the above equations in matrix form.
Solve the equations by using the MATLAB,
Write the following codes in MATLAB.
%
The values are,
Recall the polynomial expression for each interval,
Write the equation (2) for
Substitute the all values.
Again, substitute all the values.
Similarly solve for the
Calculate the value of
Substitute
Calculate the value of
Substitute
Therefore, the value
(b)

To show: The value of
Answer to Problem 14P
Solution:
Explanation of Solution
Given Information:
Calculation:
Calculate the value of
Recall the expression of
Substitute
Calculate the value of
Substitute
Thus,
Want to see more full solutions like this?
Chapter 18 Solutions
Numerical Methods for Engineers
Additional Math Textbook Solutions
Elementary Statistics ( 3rd International Edition ) Isbn:9781260092561
Pathways To Math Literacy (looseleaf)
Intermediate Algebra (13th Edition)
Elementary and Intermediate Algebra: Concepts and Applications (7th Edition)
Math in Our World
APPLIED STAT.IN BUS.+ECONOMICS
- 4. The runway at the Piarco International airport has an equation of -3(x-2y) = 6. If the Priority Bus Route passes through the geometric coordinate (1,-9) and is perpendicular to the runway at the Piarco International airport. Determine the following: a. State two geometric coordinates which the runway at the Piarco International airport passes through. b. Derive the equation of the Priority Bus Route. [2 marks] [6 marks]arrow_forwardQ4*) Find the extremals y, z of the the functional I = 1 (2yz - 2x² + y²² 12 - 212) dx, with y(0) = 0, y(1) = 1, z(0) = 0, ≈(1) = 0.arrow_forwardSolve the following initial value problem over the interval from t= 0 to 2 where y(0)=1. dy yt² - 1.1y dt Using Euler's method with h=0.5 and 0.25.arrow_forward
- Q5*) Write down an immediate first integral for the Euler-Lagrange equation for the integral I = = F(x, y, y″) dx. Hence write down a first integral of the Euler-Lagrange equation for the integral I 1 = √(xy ² + x³y²) dx. Find the general solution of this ordinary differential equation, seeking first the complementary function and then the particular integral. (Hint: the ODE is of homogeneous degree. And, for the particular integral, try functions proportional to log x.)arrow_forwardQ2*) In question P3 we showed that a minimal surface of revolution is given by revolution (about the x-axis) of the catenary, with equation y = C cosh ((x – B)/C). - (a) Suppose, without loss of generality, that the catenary passes through the initial point P = (x1,y1) = (0, 1). First deduce an expression for the one-parameter family of catenaries passing through point P. Next calculate the value of x at which y takes its minimum value. By using the inequality cosh > √2 (you might like to think about how to prove this), show that there are points Q for which it is impossible to find a catenary passing through both P and Q. In particular, show that it is impossible to find a catenary joining the points (0, 1) and (2, 1). (b) A minimal surface of revolution can be realised experimentally by soap films attached to circular wire frames (see this link and this link for examples). The physical reason for this is that the surface tension, which is proportional to the area, is being minimised.…arrow_forwardQ3*) Consider the integral I Yn, Y₁, Y2, . . ., Y'n) dã, [F(x, Y 1, Y2, · · Yng) = - where y1, 2, ...y are dependent variables, dependent on x. If F is not explicitly dependent on x, deduce the equivalent of the Beltrami identity. Optional: Give an example of a function F(y1, Y2, Y₁, y2), and write down the Euler-Lagrange equations and Beltrami Identity for your example. Does having this Beltrami Identity help solve the problem?arrow_forward
- Solve the following problem over the interval from x=0 to 1 using a step size of 0.25 where y(0)= 1. dy = dt (1+4t)√√y (a) Euler's method. (b) Heun's methodarrow_forwardNo chatgpt pls will upvotearrow_forwardUse Euler method to solve y' = y + x, h=0.2, y(0)=0, 0 ≤ x ≤ 1. Also, find the exact solution and the absolute error.arrow_forward
- Evaluate = f J dx by using Simpson's rule, 2n=10. 2arrow_forwardUse Euler and Heun methods to solve y' = 2y-x, h=0.1, y(0)=0, compute y₁ y5, calculate the Abs_Error.arrow_forwardUse Heun's method to numerically integrate dy dx = -2x3 +12x² - 20x+8.5 from x=0 to x=4 with a step size of 0.5. The initial condition at x=0 is y=1. Recall that the exact solution is given by y = -0.5x + 4x³- 10x² + 8.5x+1arrow_forward
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageAlgebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal LittellAlgebra and Trigonometry (MindTap Course List)AlgebraISBN:9781305071742Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillCollege Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage Learning




