Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Solve the following using matlab Question 7 (25 marks) The following data is given for the viscosity (L) and the density (p) of liquid ethylene

Solve the following using matlab

image text in transcribed

Question 7 (25 marks) The following data is given for the viscosity (L) and the density (p) of liquid ethylene glycol T(F) 0 50 100 150 200 u (lb/ft-hr) P(lb/ft) 242 71.03 82.1 70.13 30.5 68.90 12.6 67.77 5.57 66.59 A) Set up a loop which uses cubic spline interpolation to find the viscosity of ethylene glycol at temperatures of 30, 60, 90, 120 & 150 F. Print the results within the loop so the results display as follows: Using spline interpolation the value of viscosity (lb/ft-hr) is *** (lb/ft-hr) at ** F Using spline interpolation the value of viscosity (lb/ft-hr) is *** (lb/ft-hr) at ** F Using spline interpolation the value of viscosity (lb/ft-hr) is *** (lb/ft-hr) at ** F Using spline interpolation the value of viscosity (lb/ft-hr) is *** (lb/ft-hr) at ** F B) Repeat part A by fitting a third order polynomial to the viscosity data using the Matlab functions polyfit and polyval. The output should be modified as follows: Using a polynomial fit the value of viscosity (Ib/ft-hr) is *** (lb/ft-hr) at ** F Using a polynomial fit the value of viscosity (Ib/ft-hr) is *** (lb/ft-hr) at ** F Using a polynomial fit the value of viscosity (Ib/ft-hr) is *** (lb/ft-hr) at ** F Using a polynomial fit the value of viscosity (lb/ft-hr) is *** (lb/ft-hr) at ** F

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Innovative Subsurface Remediation Field Testing Of Physical Chemical And Characterization Technologies

Authors: Mark L. Brusseau, David A. Sabatini, John S. Gierke, Michael D. Annable

1st Edition

0841235961, 978-0841235960

More Books

Students also viewed these Chemical Engineering questions

Question

Solve the given ODE. Show the details of your work. y i v + 4y" = 0

Answered: 1 week ago