Question

This is done with Matlab

If an object is heated, the temperature of the body will increase. The energy (Q) associated with a change in temperature (AT) is a function of the mass of the object (m) and the spe- cific heat In an experiment, heat is applied to the end of an object, and the temperature change at the other end of the object is recorded. This leads to the theoretical relationship shown. An unknown material is tested in the lab, yielding the following results: AT mC Heat applied (Q) Jl 12 17 25 40 50 58 Temp change (AT) [K] 1.500 2.00 3.25 5.00 6.25 7.00

This is done with Matlab

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: In case of any queries, just comment in box I would be very happy to assist all your queries

clc;

clear all;

close all;

Q=[12 17 25 40 50 58];

delta_T=[1.50 2.00 3.25 5.00 6.25 7.0];

x=Q;

y=delta_T;

figure;

plot(x,y,'or'); hold on

xlabel('\it Q [J] \rightarrow');

ylabel('\it delta T [K] \rightarrow');

%(b)

n=1;% Linear regression

A=polyfit(x,y,n); %fit a n order polynomial

% A will be a vector of the coefficients for :

% a0+a1*x+a2*x^2+.............+an*x^n

Mn=min(x);

Mx=max(x);

xx=[Mn-1:(Mx-Mn)/100:Mx+1];

yy=polyval(A,xx);% generates expected values for each value of xx

plot(xx,yy,'b');

legend('Scatter data','Linear model');

fprintf('\n delta T = %0.4f + %0.4fQ\n',A(2),A(1));

OUTPUT:

delta T = 0.0578 + 0.1220Q

O - Scatter data Linear model deka TIK] → 15 20 25 30 40 45 50 55 60 35 Q[j] →

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
This is done with Matlab This is done with Matlab If an object is heated, the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • can you write a conclusion for the report? Thermal Conductivity Lab Introduction The objective of this...

    can you write a conclusion for the report? Thermal Conductivity Lab Introduction The objective of this lab is to explore the thermal conductivity of various materials using Fourier’s Law and a steady state system. Certain materials are more effective heat conductors than others. The effectiveness of a given material at heat conduction is influenced by many factors, including density, molecular structure, and chemical composition. Fourier’s Law takes these factors into account to calculate Q, or the joules per second rate...

  • Can you please show how to do the calculations I sent for run 2. al values ofc where the o the maxi...

    Can you please show how to do the calculations I sent for run 2. al values ofc where the o the maximum ot minim changes? lluirate by ggh ily gven by the oquatice lcrmining the transinoal f inflection poses change abe famly to see whas shand oonal value of c at whi unges. Try to discover i a have discoveed anomials given by the oqu Er what values of c does Exp Background Information We A chemical reaction involves breaking,...

  • For the preparation and standardization of NaOH with KHP im supposed to boil water for 1hr and 30 min to remove CO2

    For the preparation and standardization of NaOH with KHP im supposed to boil water for 1hr and 30 min to remove CO2....the problem is that if I don't boil it for that long and (30 min) b/c of not enough time but I put the water I boiled for 1/2 hr aproximately into a NaOH bottle with a CO2 absorber and stored it there for a few days. I would assume that I would have to boil the water again...but...

  • 10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated...

    10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT