# Ball bearings are hardened through a process of heating and then rapid cooling. The temperature of...

###### Question:

Ball bearings are hardened through a process of heating and then rapid cooling. The temperature of the ball during this process can be estimated using the equation:

T(t) = (ti-to)*e^(-t/T)+to

where ti = initial ball temp = 800 degrees celcius
to = initial oil temp = 40 degrees celcius
t = time = 0-180 seconds at 1 second intervals
T = time contraint

Create a graph in matlab showing ball temperature versus time. the graph should have 3 curves for the 3 time contraints entered by the user. the 3 time constrains are:
T = 20, 50, and 80 seconds

Use a while loop to generate the arrays to be plotted, with a stopping condition that the value of temperature for all 3 arrays to be plotted is less than 80 degrees celcius. Include a function that is called from the script to get the time constant from the user, and to verify that it is a value between 20 and 100 inclusive. If not, stay in a loop until the user enters a value between 20 and 100.

The final answer should look like this:

#### Similar Solved Questions

##### WBWK7: Problem 2 Previous Problem Problem List Next Problem (15 points) A random sample of 100...
WBWK7: Problem 2 Previous Problem Problem List Next Problem (15 points) A random sample of 100 freshman showed 5 had satisted the university mathematics requirement and a second random sample of 50 sophomores showed that 11 had satisfied the university mathematics requirement. Enter answers below ro...
##### Solve this system by matrices 2x+3y-z=-8 x-y-z=-2 -4x+3y+z=6
solve this system by matrices 2x+3y-z=-8 x-y-z=-2 -4x+3y+z=6...
##### How does designation of the element relate to atomic mass?
How does designation of the element relate to atomic mass?...
##### An organization is building a new customer services team, and the manager needs to keep the...
An organization is building a new customer services team, and the manager needs to keep the team focused on customer issues and minimize distractions. The users have a specific set of tools installed, which they must use to perform their duties. Other tools are not permitted for compliance and track...
##### What types of mechanisms are involved in the following transformation? CH Br + HOCH CH, -...
What types of mechanisms are involved in the following transformation? CH Br + HOCH CH, - products A. SE B. S .E c . El alle D..E Identify the Substitution and Elimination products in the following reaction ? NaOEL Substitution product? Elimination product? MO) vonesat to d o so at avis de la Identi...
##### A copper (Cu) block at 90°C is placed into a beaker of water (H_2O) at 25°C. What is the expected result based on the heat flow between the substances?
A copper (Cu) block at 90°C is placed into a beaker of water (H_2O) at 25°C. What is the expected result based on the heat flow between the substances?...
##### How do you evaluate 12\frac { 1} { 4} \div 3\frac { 1} { 2} ?
How do you evaluate 12\frac { 1} { 4} \div 3\frac { 1} { 2} ?...