Question: please help write a MATLAB CODE ONLY for this question 2. Integration and Differentiation (16 points) The heat required, H(cal), to induce a temperature change,

please help write a MATLAB CODE ONLY for this question
please help write a MATLAB CODE ONLY for this question 2. Integration

2. Integration and Differentiation (16 points) The heat required, H(cal), to induce a temperature change, T(C), of a material can be computed as H=mCP(T)T where m= mass (g), CP(T)=heatcapacity(cal/(gC)). The heat capacity increases with temperature, T(C), according to CP(T)=0.132+1.56104T+2.64107T2 1) Estimate the change rate ( 1st derivative) of Cp at T=100C using forward, backward and centered finite differences (accuracy O(h2) ) respectively with step sizes of 1C. Compare the relative errors. 2) Write a script that uses the integral function to generate a plot of AH vs AT for cases where m=1kg, the starting temperature is 100C, and T ranges from 0 to 300C

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 Chemical Engineering Questions!