subject
Engineering, 30.10.2020 17:40 gabbie63

The specific gravity of gold is 19.3. Write a MATLAB function that will determine the length of one side of a cube of solid gold, in units of inches, provided the mass of the cube in kilograms. The output should display a sentence like the one shown below, with the length formatted to 2 decimal places. If the user types a negative number or zero for the mass of the cube, your program should display an error message and terminate. Sample Input / Output (multiple scenarios):
Enter the mass of the cube [kilograms]: -3
Error: Mass must be greater than zero grams.
Enter the mass of the cube [kilograms]: 0.4
The length of one side of the cube is 1.08 inches.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
question
Engineering, 04.07.2019 18:10
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:10
Draw the engineering stress-strain curve for (a) bcc; (b) fcc metals and mark important points.
Answers: 1
question
Engineering, 04.07.2019 18:10
You are making beer. the first step is filling the glass carboy with the liquid wort. the internal diameter of the carboy is 15 in., and you wish to fill it up to a depth of 2 ft. if your wort is drawn from the kettle using a siphon process that flows at 3 gpm, how long will it take to fill?
Answers: 1
You know the right answer?
The specific gravity of gold is 19.3. Write a MATLAB function that will determine the length of one...
Questions
question
Chemistry, 09.02.2022 14:00
question
Mathematics, 09.02.2022 14:00
question
Mathematics, 09.02.2022 14:00
question
Mathematics, 09.02.2022 14:00
Questions on the website: 13722359