Plot a graph for the following polynomials each with x=-100 to +100 with a change in x as 0.2 a) f(x) = x{x-2) (x-1)(x+1) b) f(x) =-(x-2) (x-1)(x+1) a f(x) = -x{x-1)(x+1)(x-2) d) f(x) = (1-x}{x+1) (x-2) Write c++ code that will output all the values of f(x) given values of x. Do it for a, b, c and d above

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter20: Queuing Theory
Section20.11: The M/g/s/gd/s/∞ System (blocked Customers Cleared)
Problem 4P
icon
Related questions
Question
Plot a graph for the following polynomials each with x=-100 to +100 with a change in x
as 0.2
a) f(x)= x(x-2) (x-1)(x+1)
b) f(x) = -(x-2) (x-1)(x+1)
) f(x) = -x(x-1)(x+1)(x-2)
d) f(x) = (1-x)(x+1) (x-2)
Write c++ code that will output all the values of f(x) given values of x. Do it for a, b, c and d
above.
Transcribed Image Text:Plot a graph for the following polynomials each with x=-100 to +100 with a change in x as 0.2 a) f(x)= x(x-2) (x-1)(x+1) b) f(x) = -(x-2) (x-1)(x+1) ) f(x) = -x(x-1)(x+1)(x-2) d) f(x) = (1-x)(x+1) (x-2) Write c++ code that will output all the values of f(x) given values of x. Do it for a, b, c and d above.
Expert Solution
steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Knowledge Booster
Algebraic Expression
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole