Question
Matlab Function Help In the manufacturing of ball bearings, the components, such as the ball, are hardened through a process of heating and then rapid
Matlab Function Help
- In the manufacturing of ball bearings, the components, such as the ball, are hardened through a process of heating and then rapid cooling or "quenching" by submersion in an oil or water bath. The temperature of the ball as a function of time, T(t), in the bath may be estimated as T(t)=(TiT)et+T, where t is the time in seconds in the bath, Ti is the initial ball temperature, T is the oil temperature; and is a time constant (in seconds) that depends upon the materials of the ball, the geometry of the ball, and oil properties.
Create a custom Matlab function that calculates and returns the ball temperature for any array of times t. The input arguments to the function should include Ti, T, , and the vector array of times t. The output argument should be a vector array of ball temperatures of the same length as the vector array of times t.
Apply your function to determine the ball temperatures at times of 1.0, 10.0, and 100.0 seconds, if the initial ball temperature is 100.0C, the oil temperature is 6.0C, and the time constant is 1 minute . (60.0 seconds.).
Please explain each part
Transcribed image textStep 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