Plot the function f(x) = x2 - 5x 12/x2 x 6 in the domain

Question:

Plot the function f(x) = x2 - 5x – 12/x2 – x – 6 in the domain –1 < x < 7. Notice that the function has a vertical asymptote at x = 3. Plot the function by creating two vectors for the domain of x. The first vector (name it x1) includes elements from -1 to 2.9, and the second vector (name it x2) includes elements from 3.1 to 7. For each x vector create a y vector (name them y1 and y2) with the corresponding values of y according to the function. To plot the function make two curves in the same plot {y1 vs. x1, and y2 vs. x2). Format the plot such that they-axis ranges from -20 to 20.
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: