This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: CSC 113 Homework Assignment 2 PLOTS! Assigned September 20, 2010; Due September 27, 2010. 1. Basic function plots: (a) Plot the function f ( x ) = e x over the interval 0 x 10. ( Hint: in MATLAB, e x is expressed as exp(x) .) (b) Plot the function f ( x ) = e x cos(5 x ) over the interval 0 x 2 . (c) Plot tan 1 ( x ) over the interval 4 x 4 . (d) Plot log 10 ( x ) over the interval 0 . 01 x 5. (e) Plot 5 cos( x ) over the interval 5 x 5. ( Hint: the MATLAB function nthroot will be useful here.) (f) Plot round(10cos( x )) over the interval 4 x 4 . (g) Plot the firstorder Bessel function of the first kind, J 1 ( x ), from 0 x 10. Type help bessel to guide you. (h) Plot sin(1 + x 2 ) over the interval 0 x 10. 2. A nice example of a function that would be difficult to graph without a computer or calculator is f ( x ) = x ( x x ) ( x x ) x ....
View
Full
Document
This note was uploaded on 02/29/2012 for the course CSC 113 taught by Professor Phillipregali during the Fall '10 term at Catholic University of America.
 Fall '10
 PhillipRegali

Click to edit the document details