The lab sessions are heavily oriented to Maple, a proprietary product. What's a cool FOSS dude to do? Use Maxima and Octave!
Maxima's syntax is very close to Maple; have a look at this comparison table. Octave's is more C-like, and it's a little easier to write long, complicated functions.