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
EBK NUMERICAL METHODS FOR ENGINEERS
Additional Engineering Textbook Solutions
Fundamentals of Differential Equations (9th Edition)
Basic Technical Mathematics
Advanced Engineering Mathematics
Beginning and Intermediate Algebra
- A skateboarder weighing 51.24 kg goes over a smooth circular hilI. If the skateboarder's speed at point A is 21.12 m/s, what is his speed at the top of the hill (point B)? B A 10 m 450 Paint X Ute Use g=9.8 m/s? . Derive first the working equation before you substitute the given data to avoid disparity from the correct answer. Round off answer up to two decimal places. Include the unit/s. Abbreviation only.arrow_forward2. In class, we derived an expression for hR/RT for a gas that obeyed the Pressure Explicit Virial Expansion truncated after the third term. In class, we assumed that B and C were not functions of temperature. a. Please rework the derivation with B = B(T) and C = 0. b. Please continue the derivation under the assumption that B(T) = mT + b. Where m and b are the slope and y-intercept of a straight, respectively. %3Darrow_forwardLet / xcos(x) dx. The approximation of / using the two-point Gaussian quadrature formula is: 2.56125 0.14661 -379.538 0.45327 Find the actual error when the first dervative of f(x) = in x at x = 2 is approxamated by the following 3-pount formula F+h) - 2F()-3f(x-h) wth h-0.5 0.0431arrow_forward
- Creep exercises The following data in the table below was obtained a from rupture test. Stress (MPa) Temperature (°C) Rupture time (hr) T 550 580 0.75 550 555 5.5 550 540 19.2 550 525 62.0 70 760 2.05 70 730 8.2 70 700 36.5 70 675 134 Assume: C = 46 Establish whether the Larson-Miller parameter is valid for both stresses (550 and 70 MPa). Was there a change in creep mechanism when changing the stress from 550 to 70 MPa during rupture test? Motivate your answer with the aid of calculation.arrow_forwardQ.No.5: (a) Develop an equation by using pi-theorem for the shear stress in a fluid flowing in a pipe assuming that the stress is a function of the diameter and the roughness of the pipe, and the density, viscosity and velocity of the fluid. (b) A model of a torpedo is tested in a towing tank at a velocity of 24.4 m/s. The prototype is expected to attain a velocity of 246 m/min in 15.6°C water. (i) What model scale has been used? (ii) What would be the model speed it tested in a wind tunnel under a pressure of 290 psi and at constant temperature 26.77°C?arrow_forward4. A Cantilever beam deflects downwards when a mass is attached to its free end. The deflection(8) is the function of beam stiffness(K), applied mass(M) and gravitational force(g = 9.81 m/s³): K 8 = M g The various mass are placed on the end of the beam and corresponding deflections are noted as follows: Mass 50.15 99.90 150.05 200.05 250.20 299.95 350.05 401.00 Deflection 0.6 1.8 3.0 3.6 4.8 6.0 6.2 7.5 Using the "Correlation Coefficient" equation, check whether the line-fitting' has; (i) strong positive linear relationship (ii) strong negative linear relationship (iii) no linear relationshiparrow_forward
- GIVE ME THE COMPLETE SOLUTION FOR THISTHIS IS THE ANSWER AS PER THE ANSWER KEY JUST HELP ME WITH THE SOLUTION PLSX3/F = (16s^4 + 32s^3 + 56s^2 + 48s + 36)/(64s^6 + 192s^5 + 464s^4 + 568s^3 + 568s^2 + 312s + 72)arrow_forwardPROBLEM #1: Complete the data of the table below. Copy the entire table in your paper and use a different colored pen for your answers, you may also box your answers. Show solution. T:K P: kPa H: kJ/kg U: kJ/kg State (if wet steam provides xv as well) 1 525 350 2 125 2700 3 455.15 750 4 600 Xv = 0.8 5 200 1800 PROBLEM #2 A nozzle is used to increase the velocity of steam before it enters a turbine as a part of a power plant. The steam entering is at 1 MPa, 500 K and leaves at the conditions of 350°C and 2 MPa. If the nozzle has an inlet diameter of 3 cm and an outlet diameter of 1 cm, how much is transferred during the process? Is it lost or gained?arrow_forwardWhich of the following parameters should not be selected as repeating variables in using Buckingham Pi theorem? (select all that apply) O a. Both pressure and shear stress O b. Both velocity and representative length O c. Anglearrow_forward
- 1. For a set of experimental data of (x, y), i = 1,.,n, the theoretical analysis suggests that the data should follow a basic form of y = Axmexp(Bx2). (1) Assuming m is a pre-determined constant, how to transform the equation into a linear one? Give the relationships between the new and original coordinates. (2) Based on (1), how to calculate A and B from the slope and intercept of the linearization curve fitting?arrow_forwardQuestion: The force distribution w(x) exerted on a simply supported beam is shown below: y1 100e* w(x) =- (x² +2)!.8 N/m В 3 m In a 2-dimensional beam problem, shear force (V(x)) and bending moment (M(x)) distribution occur along the beam. Using bisection method, find the location along the beam where the maximum bending occur. Select your starting points as x=0.5 and x=2.5 and continue your iterations until approximate error (E„) satisfy the tolerance (ɛ,) of lx10³, For calculations of involved integrals, use 4-point Gauss Quadrature technique.arrow_forwardSolve the following differential equation for axial deformation of a bar of length 12mm using Galerkin Weighted Residual method 2022/09/ d² dx² = -0.75(4- x)² One end of the bar is fixed whereas the displacement is 12 mm at the other end of the bar. You may use Matlab for computations. Use the trial function û(x) = Co + ₂x + ₂x²arrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY