ITEC 2600 Quiz: ITEC2600 Exercise 2

254 views1 pages

Document Summary

Lab exercise 2: redo all examples from class, create anonymous functions for the following math functions, where input argument(s) x or y can be a vector(use element-by-element operations). (a) f (x) = +1 ex pcos(x2 + 2) (b) f (x, y) = 2x2. Calculate f (x) given x = 2 and x = [1 2 3 4]. Calculate f (x, y) given x = 1, y = 2 and x = [1 2 3 4], y = [2 3 4 5]: re-do sales example. Find out the most pro table product and location: 2-d plot. Plot the following functions in one gure window, add title and legend to graph. f1(x) = 2x + 1 f2(x) = x2. 2 f3(x) = sin(2x 1), where x [ 2 , 2 ]: 3-d plot.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents