Question: UseaLagrangeinterpolatingpolynomialofthefirstandsecondordertoevaluatethevalueofyatx = 2 5 based on the data in the following table; x 1 0 3 0 a ) b ) c ) 5 0

UseaLagrangeinterpolatingpolynomialofthefirstandsecondordertoevaluatethevalueofyatx=25based on the data in the following table; x1030 a) b) c)50 y 7.71.60.424Solvebyhandbyusingfirst-orderpolynomialandthesecond-orderpolynomial Drawtheflowchartexpressingthealgorithmforthesolution. Createanm-scriptcontainingafunctionevaluatingthey-valuesforthepre-definedx-valuesbymeansof Lagranges Interpolation Method.i. Write the MATLAB Code (m-script) on the answer sheet.ii. Addexplanation(comment)with(%)foreachlineofMATLABCode.iii. Build the m-script in MATLAB.iv. Run the m-script file and demonstrate the solution as screenshot using the "print screen" button on thekeyboard.2. Evaluatetheintegral.,takingn=5usingSimpsons1/3rule.a) EvaluatebyhandusingSimpsonsRule.b) Drawtheflowchartexpressingthealgorithmforthesolution.c) Createanm-scriptutilizingSimpsons1/3ruletoevaluatethisintegral.i. Write the MATLAB Code (m-script) on the answer sheet.ii. Addexplanation(comment)with(%)foreachlineofMATLABCode.iii. Build the m-script in MATLAB.iv. Run the m-script file and demonstrate the solution as screenshot using the "print screen" buttonkeyboard.3. Forthefollowingdifferentialequation:on the a)b) c)=5.2;for0t3,y(0)=1.5n=5.Solvethisdifferentialequationbyusingfourth-orderRunge-KuttaMethod. Drawtheflowchartofthealgorithmforthesolutionofthissolution. Performthefollowing;i)ii) Add explanation (comment) with (%) for each line of MATLAB Code.iii) Build the m-script in MATLAB.iv) Run the m-script file and demonstrate the solution as screenshot using the "print screen" button on thekeyboard.3c-iii10101022101010101,51,555322222 Good Luck..Write the MATLAB Code (m-script) on the answer sheet. 1a1b-i1b-ii1b-iii1b-iv2a2b2c-i2c-ii2c-iii2c-iv3a3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!