subject
Engineering, 20.10.2020 18:01 diylover020253

Write a MATLAB program that determines the radius, r, of the largest sphere that can be inscribed inside a cone with base radius R and height h. For input the program asks the user to enter values for R and h. The program then calculates r rounded to the nearest tenth. For output the program displays the message: "The radius of the largest sphere that can be inscribed inside a cone with a base radius of ** in. and height of *** in., is: in." where **/***/ are the corresponding numerical values. Use the program to determine r for a cone with R = 8 in. and h = 22 in.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Fluids at rest possess no flow energy. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
question
Engineering, 04.07.2019 18:20
Apiston-cylinder device contains 0.1 m3 of liquid water and 0.9 m3 of water vapor in equilibrium at 800 kpa. heat is transferred at constant pressure until the temperature of water reaches 350 °c. determine (a) the quality of water at the initial state (b) the work associated with this process, (c) the heat associated with this process.
Answers: 2
You know the right answer?
Write a MATLAB program that determines the radius, r, of the largest sphere that can be inscribed in...
Questions
question
Biology, 23.06.2019 04:20
question
Mathematics, 23.06.2019 04:20
Questions on the website: 13722363