Final answer:
To calculate the ASTM grain size number, a computer program needs to take into account the magnification of the micrograph and the area from which the grains were counted. The program should prompt the user for the magnification, number of grains counted, and the area, and then perform the necessary calculations.
Step-by-step explanation:
The student is asking for a computer program that calculates the ASTM grain size number based on user input. The program needs to ask for the magnification of a micrograph, the number of grains counted, and the area from which the grains were counted. The program should consider the magnification of the micrograph and the area in the calculation. To calculate the ASTM number, you can use the formula:
ASTM Number = (Area / Magnification) * (Number of Grains / 2.87)
Make sure to prompt the user for the required information and perform the necessary calculations in the program.
ASTM is an organization that defines and publishes technical standards related to the quality of materials that can be used in the manufacturing of various products and pieces of equipment. ASTM code is made up of the standards that have been developed by committees within ASTM.