Question
The physics students want a Python program that calculates the heat conducted during the experiment. To help them you must write a program that asks
The physics students want a Python program that calculates the heat conducted during the experiment. To help them you must write a program that asks the user for the following input:
the temperature values of the two ends of the iron poker, the one in the fire and the one out of the fire.
thermal conductivity of iron poker (K)
the area of the iron poker (A)
the time one of the end was in the fire (t)
the length of the iron poker (L)
Using the temperature values from both ends of the iron poker you must calculate the temperature difference between them, we will refer to this as DT.
In your program you must define a function called heat_conducted that takes in all this information (K;A;L; t and DT) and returns the amount of heat conducted using equation (2).
Q =KADTt/L
Summarizing, your program must do the following steps:
1. Input the required information.
2. The temperature value is given in F. The program should convert the temperature to Celsius. Use the function implemented in problem 1.
3. Calculate the temperature difference between the two ends of the iron poker (DT).
4. Calculate the heat conducted by calling the using the heat_conducted function.
5. Print to console the heat conducted.
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