Question
Calculate in Excel using VBA. The diffusivity is a measure of how fast diffusion occurs and can modeled as D=D o exp(-Q/RT) , name this
Calculate in Excel using VBA.
The diffusivity is a measure of how fast diffusion occurs and can modeled as D=Doexp(-Q/RT) , name this Sub divs, where
D= diffusivity, cm2/s
Do= diffusion coefficient, cm2/s
Q= activation energy, J/mol, 8.314J/mol K
R= ideal gas constant, J/mol K
T= temperature, K
As iron is heated, it changes structure and its diffusion characteristics change. The values of Do and Q are shown in the following table for carbon diffusing through each of iron's structures:
Types of metal | Do (cm2/s) | Q (J/mol K) |
alpha Fe (BCC) | 0.0062 | 80,000 |
gamma Fe (FCC) | 0.23 | 148,000 |
Create a plot of diffusivity versus inverse temperature (1/T), using the data provided. Try the rectangular to see if it represents the best results. Let the temperature vary from room temperature (25oc) to 1200oc in increments of 100. Make a table temperature table of co and K and convert the celsius to Kelvins in the VBA macro. In the main maro, call divs(alpha) then call divs(gamma).
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started