Question: please use matlab script and the other excel has the values to solve the problem 3. 18pts] Download the Excel file, called GasCoefficients.xlsx, from Beachboard

 please use matlab script and the other excel has the values

to solve the problem 3. 18pts] Download the Excel file, called GasCoefficients.xlsx,

please use matlab script and the other excel has the values to solve the problem

3. 18pts] Download the Excel file, called GasCoefficients.xlsx, from Beachboard to your current MATLAB directory. The file contains the coefficients of the cubic equation (refer to the equation in problem 2) for the heat capacitance of four gases. Write a MATLAB script to read the file using xlsread ( ) and use the respective a, b, c, and d coefficients to calculate the heat capacitances for each gas at temperatures ranging from 100C to 150C at 5C increment. Using fprintf(), output the data to a text file, called Lab3Cp.txt. Display the Cp values to 3 decimal places. See the sample output below for the format of the text file. Name your script file as Group#L3P3.m. Include proper comments in your code. Submit your m-file in the Dropbox on Beachboard. Sample output: 02 Heat capacitances of four gases T[C] SO2 SO3 100 XXX.XXX XXX.XXX 105 XXX.XXX XXX.XXX . N2 XXX.XXX XXX.XXX XXX.XXX 110 - X f A B C D E F G 1 The following table gives the coefficients of the cubic equation for four gasses H I M J 3 Cp is in J/(mol)(C) and T is in C Cp = a +bT+CT^2 + DT^3 Gas SO2 SO3 02 38.91 3.904E-02 -3.1050E-05 8.6060E-09 48.5 9.188E-02 -8.54E-05 3.2400E-08 29.1 1.158E-02 -6.08E-06 1.3110E-09 292.199E-03 -5.723E-06 -2.8710E-09

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!