The Function of Diffusion
CSEF · 2003 Mathematics & Software
Overview
Objectives/Goals The goal of my project was to design a computer program that could determine the rate of diffusion between solids using the Scheme programming language. Methods/Materials First I learned how to program using "How to Design Programs" and Dr. Scheme. Next I designed a program that computes first-order differential equations, and then I designed a program that computes second-order differential equations. Finally I started working on the diffusion equation. Results The two programs that were designed both returned their expected results. The constants in the second-order differential equation caused the results to change. Conclusions/Discussion The fact that different results were obtained from the second-order differential equation depending on the constants means that a different diffusion constant would change the rate of diffusion, and this should be researched further. Also, the Improved Euler method will be researched further, as it is a more accurate way of solving differential equations. Because the diffusion equation is just a complicated second-order equation, and I successfully wrote a program that solves a second-order differential equation, it can be assumed that the diffusion equation can be programmed.
Summary statement
My project is about programming the Diffusion Equation.
Help received
Mr. Dan Anderson, my computer teacher, taught me programming skills and beginning calculus.
Competition history
- CSEF 2003
Resources
Related projects
CSEF · 2010
Factors Affecting Gas Diffusion
CSEF · 2008
Measurement of Diffusion Coefficient in Liquids using Digital Video Technique
CSEF · 2002
Chaos in the Brain: A Simulation of Coupled Differential Equations
CSEF · 2003
A Study of Osmosis and Diffusion through a Simulated Cell Membrane
CSEF · 2003
Oil Intrusion: How Temperature Affects Diffusion
CSEF · 2004
Effects of Porosity and Permeability on Diffusion
CSEF · 2019
Observing the Double Diffusion of Salt and Sucrose
CSEF · 2009
Osmosis and Diffusion
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects