Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Ball bearing quenching Ball bearings are hardened by a process called quenching—

ID: 3687099 • Letter: B

Question

Ball bearing quenching Ball bearings are hardened by a process called quenching—rapid cooling of a heated ball bearing in a bath of oil or water. The temperature of the ball bearing is estimated by the following equation: T(t)=(Ti-Tf)*exp(-t/tau)+Tf ) Where t is the time, in seconds, Ti is the initial ball temperature (C), Tf is the temperature of the oil bath (C), and tau (sec) is the time constant, which is a parameter that depends upon the material of the ball, its geometry, and also the oil bath properties. Write a MATLAB function M-file named BallBearingQuench to generate time and temperature estimates of the quenching process. The input arguments are Ti, Tf and tau. The output argument is a matrix containing an array of 100 time values in the first row, and the corresponding 100 temperatures in the second row. The time array begins at zero, and ends when the temperature is within 1% of its steady-state temperature, i.e., the temperature of the oil bath.

Explanation / Answer

Step-1:Enter the values of time constants

timeconst1 = input('Please enter the first value of time constant: ');

timeconst2 = input('please enter the second value of time constant: ');

Step-2:Enter ti,tf values

initial = input('Please enter the beginning value of time: ');

final = input('Please enter the ending value of time: ');

vec = initial:final;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote