Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please show me what this would look like in Matlab code. You don't have to actually use matlab just please write out the code Problem

image text in transcribedPlease show me what this would look like in Matlab code. You don't have to actually use matlab just please write out the code

Problem 1.19. points 25 - Use MATLAB You are working as a crime-scene investigator and must predict the temperature of a homicide victim over a 5-hr period. You know that the room where the victim was found was at 10C when the body was discovered. a. Use Newton's law of cooling (Prob. 114) and Euler's method to compute the victim's body temperature for the 5-hr period using values of k 0.12/hr and t-0.5hr. Assume that the victim's body temperature at the time of death was 37C, and that the room temperature was at a constant value of 10C over the 5-hr period. Use Matlab to program Euler's method and the differential equation. b. Further investigation reveals that the room temperature had actually dropped linearly from 20C to 10C over the 5-hr period. Repeat the same calculation as in (a) but incorporate this new information. (use the Matlab codes you created in (a)) c. Solve analytically for the exact solutions of (a) and (b). d. Compare the results from (a), (b) and (c) by plotting them on the same graph. Use Matlab Problem 1.19. points 25 - Use MATLAB You are working as a crime-scene investigator and must predict the temperature of a homicide victim over a 5-hr period. You know that the room where the victim was found was at 10C when the body was discovered. a. Use Newton's law of cooling (Prob. 114) and Euler's method to compute the victim's body temperature for the 5-hr period using values of k 0.12/hr and t-0.5hr. Assume that the victim's body temperature at the time of death was 37C, and that the room temperature was at a constant value of 10C over the 5-hr period. Use Matlab to program Euler's method and the differential equation. b. Further investigation reveals that the room temperature had actually dropped linearly from 20C to 10C over the 5-hr period. Repeat the same calculation as in (a) but incorporate this new information. (use the Matlab codes you created in (a)) c. Solve analytically for the exact solutions of (a) and (b). d. Compare the results from (a), (b) and (c) by plotting them on the same graph. Use Matlab

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

More Books

Students also viewed these Databases questions

Question

2. Develop a persuasive topic and thesis

Answered: 1 week ago

Question

1. Define the goals of persuasive speaking

Answered: 1 week ago