Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a function in matlab/octave to obtain what is given in the problem: Newton's law of cooling says the temperature of a body changes at

Create a function in matlab/octave to obtain what is given in the problem: image text in transcribed image text in transcribed

Newton's law of cooling says the temperature of a body changes at a rate proportional to the difference between its temperature and that of the surrounding medium (the ambient temperature). The time-domain model of this statement is given as T = T, + (T. -T.) exp(-kt) where T is the temperature of the body at time, t, T, is the ambient temperature, To is the initial temperature of the body and k is a parameter of the system. Write a function Ecooling() with the format function T = fcooling (t, Ta, To, k) that computes AND plots t as a function of a time array t. Test your function for a cup of coffee at 70C being left in a room whose temperature is 20C, where k = 0.019/min. Plot the temperature up to 400 minutes. Tell something about the plot and how it relates to the temperature of the coffee left in the room. tur a 152 960 Tee

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

Step: 3

blur-text-image

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

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions

Question

Strong analytical, communication, and problem-solving skills

Answered: 1 week ago