che132a-rec-3 - Chemical Engineering 132A Analytical...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Chemical Engineering 132A Analytical Methods of Chemical Engineering Professor Mike Gordon, Fall 2011 Mathematica Assignment #3 Commands for today Series[f[x],{x,a,n}] Power series of order n for f(x) about the point x=a Sum[f[n],{n,0,5}] 5 0 ( ) n f n = Normal[] Drops the higher order terms of a power series, i.e., O [x 10 ] Table[f[x,n],{n,0,10,1}] Make a table of f(x,n) with n running from 0 to 10 with step 1 Show[%1,%2] Show the graphic outputs %1 and %2 on the same plot c[n_]:=c[n]= n*c[n-1] Define a recursion function which “remembers” all previous values BesselJ[n,x] Bessel function of the first kind of order n. BesselY[n,x] Bessel function of the second kind of order n. 1) Define the following function and compute a 6 th order power series about x=0. ] * 3 [ * : _] [ x Cos x x f = 2) Define another function fseries[x_,n_] which represents a power series expansion of f(x) about x=0 with n terms. Make sure to use the Normal[] command to remove the higher order terms. Make a list (the Table[] command) of these polynomials for n=4…10. Plot them all on one graph
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/29/2011 for the course CHE 132a taught by Professor Gordon,m during the Fall '08 term at UCSB.

Page1 / 2

che132a-rec-3 - Chemical Engineering 132A Analytical...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online