Create a written algorithm and flowchart to determine if a material is in the solid, liquid, or gaseous state given the temperature. The algorithm should acquire the name of the material, its freezing and boiling temperatures, and the actual temperature of the material from the user.
![Check Mark](/static/check-mark.png)
Write an algorithm that determines the state of a material at a given temperature for user specified material, freezing point and boiling point.
Explanation of Solution
Known:
- If the temperature is below freezing point, the material is in solid state.
- If the temperature is above the boiling point, the material is in gaseous state.
Unknown:
- The type of the material.
- The freezing point of the material.
- The boiling point of the material.
Assumptions:
- Assume that the interpreter of the algorithm will input the type of material, freezing point of the material, boiling point of the material and the temperature of the material.
Algorithm:
- Input the type of material, the numerical value of freezing point of the material, boiling point of the material and the temperature of the material.
- Ask if the temperature of the material is less than the freezing point.
-
- a. If yes, state of the material is Solid.
- b. If no, ask if the temperature of the material is greater than the boiling point.
- 1. If yes, the state of the material is Gas.
- 2. If no, the state of the material is Liquid.
- Display the type of the material and the state of the material at the given temperature.
- End the process.
Rules for creating a proper linear flowchart are as follows.
- The flowchart contains START rectangle to mention the beginning of a process.
- All the actions must be mentioned within rectangles.
- Connection between the blocks must be mentioned with a one-directional arrow.
- The flowchart contains END rectangle to mention the end of a process.
Flowchart to determine the state of a material is given in Figure 1.
Conclusion:
Hence, the algorithm and the flowchart that determines the state of a material at a given temperature are created.
Want to see more full solutions like this?
Chapter 18 Solutions
THINKING LIKE AN ENGINEER W/ACCESS
- Please can you help me with the attached question?arrow_forward4. The rod ABCD is made of an aluminum for which E = 70 GPa. For the loading shown, determine the deflection of (a) point B, (b) point D. 1.75 m Area = 800 mm² 100 kN B 1.25 m с Area = 500 mm² 75 kN 1.5 m D 50 kNarrow_forwardResearch and select different values for the R ratio from various engine models, then analyze how these changes affect instantaneous velocity and acceleration, presenting your findings visually using graphs.arrow_forward
- Qu. 7 The v -t graph of a car while travelling along a road is shown. Draw the s -t and a -t graphs for the motion. I need to draw a graph and I need to show all work step by step please do not get short cut from dtnaarrow_forwardAn unpressurized cylindrical tank with a 100-foot diameter holds a 40-foot column of water. What is total force acting against the bottom of the tank?arrow_forward7. In the following problems check to see if the set S is a vector subspace of the corresponding R. If it is not, explain why not. If it is, then find a basis and the dimension. (a) S = (b) S = {[],+,"} X1 x12x2 = x3 CR³ {[1], 4+4 = 1} CR³ X2arrow_forward
- AAA Show laplace transform on 1; (+) to L (y(+)) : SY(s) = x (0) Y(s) = £ [lx (+)] = 5 x(+) · est de 2 -St L [ y (^) ] = So KG) et de D 2 D D AA Y(A) → Y(s) Ŷ (+) → s Y(s) -yarrow_forward1) In each of the following scenarios, based on the plane of impact (shown with an (n, t)) and the motion of mass 1, draw the direction of motion of mass 2 after the impact. Note that in all scenarios, mass 2 is initially at rest. What can you say about the nature of the motion of mass 2 regardless of the scenario? m1 15 <+ m2 2) y "L χ m1 m2 m1 בז m2 Farrow_forward8. In the following check to see if the set S is a vector subspace of the corresponding Rn. If it is not, explain why not. If it is, then find a basis and the dimension. X1 (a) S = X2 {[2], n ≤ n } c X1 X2 CR² X1 (b) S X2 = X3 X4 x1 + x2 x3 = 0arrow_forward
- 2) Suppose that two unequal masses m₁ and m₂ are moving with initial velocities V₁ and V₂, respectively. The masses hit each other and have a coefficient of restitution e. After the impact, mass 1 and 2 head to their respective gaps at angles a and ẞ, respectively. Derive expressions for each of the angles in terms of the initial velocities and the coefficient of restitution. m1 m2 8 m1 ↑ บา m2 ñ Вarrow_forwardThe fallowing question is from a reeds book on applied heat i am studying. Although the answer is provided, im struggling to understand the whole answer and the formulas and the steps theyre using. Also where some ov the values such as Hg and Hf come from in part i for example. Please explain step per step in detail thanks In an NH, refrigerator, the ammonia leaves the evaporatorand enters the cornpressor as dry saturated vapour at 2.68 bar,it leaves the compressor and enters the condenser at 8.57 bar with50" of superheat. it is condensed at constant pressure and leavesthe condenser as saturated liquid. If the rate of flow of the refrigerantthrough the circuit is 0.45 kglmin calculate (i) the compressorpower, (ii) the heat rejected to the condenser cooling water in kJ/s,an (iii) the refrigerating effect in kJ/s. From tables page 12, NH,:2.68 bar, hg= 1430.58.57 bar, hf = 275.1 h supht 50" = 1597.2Mass flow of refrigerant--- - - 0.0075 kgls 60Enthalpy gain per kg of refrigerant in…arrow_forwardstate the formulas for calculating work done by gasarrow_forward
- Principles of Heat Transfer (Activate Learning wi...Mechanical EngineeringISBN:9781305387102Author:Kreith, Frank; Manglik, Raj M.Publisher:Cengage Learning
![Text book image](https://www.bartleby.com/isbn_cover_images/9781305387102/9781305387102_smallCoverImage.gif)