Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started