Department of Mathematics

Math 300: Mathematical Computing

Assignment 8

You will write two functions, one in Matlab, and one in Maple. They do the same thing: each one will evaluate the function sx= 0x0 x sin 1xx>0. Each function will take a single input, which might be a vector. Each will return a single output, which is the value of s for each entry in the input vector. Thus, the output will have the same size as the input.

The Matlab function will be saved in a .m file; the Maple function will be saved in a .mc file. You will mail the two files to the instructor. They are due in his inbox by 9:00 AM on Thursday, 15 November. The assignment is worth 50 points.


Welcome to Math 300 for summer, 2013.






Department of Mathematics, PO Box 643113, Neill Hall 103, Washington State University, Pullman WA 99164-3113, 509-335-3926, Contact Us
Copyright © 1996-2013 Kevin Cooper