Final Project Contents and Online Requirements

advertisement
Final Project Contents and Online Requirements
I. Final Project Contents
1) Mathematical Modeling of the fluid flow and the diffusion of the pollutant (Jamie,
Nadine)
2) Finding appropriate values for the parameters of the model. (Jessica W.)
3) Creating the matrix representation of the domain, by using signal processing
techniques (Ben)
4) Creation of the grid, data structure of the domain and the boundary of the domain
(Leslie, Matt, Jon).
5) Discretizing the boundary condition and the equation of the fluid flow,
implementation and fluid flow model resolution (Rich, Kristin)
6) The concentration evolution discretization and implementation (Rich, Nadine)
7) Implicit methods, justification (Bob), implementation of backward Euler (Jennifer)
and Crank-Nicholson (Adam).
8) Creating the output, generating the MPEG and AVI movies. (Jessica E.)
II. Requirements for Online Version
1) Mathematics in a web accessible form (HTML preferable).
2) Images and movies included.
3) Relevant cross-references active as links. For example, each time the equations are
invoked (for example, LaPlace equation for flow) there should be a reference to the
equation where the model is first described. Also, any time the Diffusion Coefficient
or any relevant parameter is used it should be referenced back to the first description
and definition.
4) Not too much information should be on one page. (Each chapter has own page.)
5) There should be a cover page that gives the project title, name of the authors, table
of contents and short introduction.
Creating Project Online
I. Cover Page
Create cover page in HTML using a plain text editor such as BBEdit/Simpletext
(Mac), Notepad/Wordpad (PC), Emacs/Pico (UNIX).
Save your cover page as index.html in your selected folder. Make sure if using
Windows that your program does not tack on an unwanted .txt or other extension to
your file.
See sample page for example HTML code.
II. Converting Project Files to HTML
a) LaTeX: If using LaTeX, there are a number of tools online to convert LaTeX to
HTML. LaTeX can also be easily converted to PDF and does so natively on Mac OS
X, however hyperlinking within files is preferred for this project.
For Mac, use the OzTtH package at http://www.trevorrow.com/oztex/
For Unix, use the LaTeX2html package is at http://saftsack.fs.unibayreuth.de/~latex2ht/current/
b) Word: If not using a on-campus public machine, installing the Office utility to
clean up HTML is very important. It is available at
http://office.microsoft.com/downloads/2000/Msohtmf2.aspx
Simply follow the instructions at the page to install and use.
If this utility is not used, parsing the HTML code becomes much more difficult and
the file size much larger.
To save your Word document projects as HTML, simply go to File > Save as Web
Page, or follow the alternative instructions if you installed the cleanup utility above.
Choose an appropriate title such as ‘Chapter 1’ and save the file to the folder you
have chosen for your final project. Use this step for all your Word files and you are
finished.
III. Finishing Touches
a) Anchors:
Section headings, should have an anchor tag so they can be linked to from the top of
the chapter page. The anchor would look like this:
<a name=”1-1”>Total Flow of the System</a>
The links at the top would look like this:
<a href=”#1-1”>Total Flow of the System</a>
b) Hyperlink References
Similar to the anchoring, being able to reference equations across pages will require
adding anchor tags to those key equations. First add an anchor to the original
equation, let’s say you link the image of the Mathematics:
<a name=”laplace”><img src=”img014.gif”></a>
Let’s say the original LaPlace equation is in Chapter 1, and that you want to link to it
from your Chapter 3 file, simply use code like this:
<a href=”chapter1.html#laplace”>LaPlace Equation</a>
c) MPEG/AVI Movie
Copy your MPEG and AVI files into your project folder. You may then either link
to them from the appropriate Chapter page, or embed them right in the HTML file
using the following code:
<embed src="jessica.mpg"
pluginspage="http://www.apple.com/quicktime/download/"></EMBED>
IV. Uploading Project to the Web
a) First, you need an FTP client. For the PC one option is WS_FTP LE available at
http://www.ftpplanet.com/download.htm. For the Mac, pick up Transmit at
http://www.panic.com/transmit.
b) Enter unixs2.cis.pitt.edu for the server name, your Pitt CIS account for your
user name, and your Pitt CIS password.
c) Navigate to your /public/html directory by double clicking public and then html
in the remote server pane.
d) Navigate to your local project folder, select all files inside, and upload to your
public/html directory and your website is online! Your address will be
http://www.pitt.edu/~yourusername/
Sample Cover Page and Intro to HTML
<html>
<head>
<title>Math 1110 Final Project</title>
</head>
<body>
<h1>Math 1110 Final Project</h1>
<h3> Melissa Bishop, Matthew Craven, Michael Grimm<br>
April 11, 2002</h3>
<ol>
<li><a
<li><a
<li><a
<li><a
</ol>
</body>
</html>
href="chapter1.html">Chapter
href="chapter2.html">Chapter
href="chapter3.html">Chapter
href="chapter4.html">Chapter
1</a>
2</a>
3</a>
4</a>
Unlike Matlab, C++, and similar programming languages; HTML is a markup language.
Meaning it is nothing more than a plain text file with tags that serve to tell the web browser
what to do.
For more information on HTML, visit
http://hotwired.lycos.com/webmonkey/authoring/html_basics/
Download