{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# hw3 - (c Solve it numerically using a spectral method based...

This preview shows page 1. Sign up to view the full content.

Department of Chemical Engineering University of California, Santa Barbara ChE 230A Fall 2006 Instructor: Glenn Fredrickson Homework #3 Homework Due: Thursday, Oct. 19, 2006 1. Prepare solutions to the following problems in your Riley, Hobson, and Bence text: 13.1, 13.5, 13.9, 13.22, and 13.24. 2. Consider the following boundary value problem: d 2 φ ( x ) dx 2 = 2 x 2 (1 - x ) 2 , x (0 , 1) φ (0) = φ (1) = 0 (a) Solve it exactly by variation of parameters. (b) Solve it formally by a sine Fourier series expansion.
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (c) Solve it numerically using a spectral method based on the sine DFT. (Note that Mathematica has a built in version of a sine FFT algorithm.) (d) Check your results by numerically comparing the exact result obtained in (a) with your truncated sine FS expansion from (b) and with your numerical results from (c). Can you see a diﬀerence in the execution time of the latter two approaches? Can you explain it?...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online