Write a computer program to assist you in solving problems such as those illustrated in Examples 11-2
Question:
Write a computer program to assist you in solving problems such as those illustrated in Examples 11-2 or 11-3. The input will be, for example, the bulk composition of the alloy, the mass of the alloy, and the atomic masses of the elements (or compounds) forming the binary system. The program should then prompt the user to provide temperature, number of phases, and the composition of the phases. The program should provide the user with the outputs for the fractions of phases present and the total masses of the phases, as well as the mass of each element in different phases. Start with a program that will provide a solution for Example 11-3 and then extend it to Example 11-4.
Data From Examples 11-2
Determine (a) the solubility of tin in solid lead at 100°C and (b) the maximum solubility of lead in solid tin. Also if a Pb-10% Sn alloy is cooled to 0°C, determine (c) the amount of β that forms, (d) the masses of tin contained in the a and b phases, and (e) the mass of lead contained in the a and b phases. Assume that the total mass of the Pb-10% Sn alloy is 100 grams.
Step by Step Answer:
The Science And Engineering Of Materials
ISBN: 9781305076761
7th Edition
Authors: Donald R. Askeland, Wendelin J. Wright