Unit #5 Homework Problem
Course Outline HW & Programming Assignments
5hw2a

Write a function void poly ( float x, float& y) which returns the value of the polynomial y = x3 + 4x2 +5.6x + a

for a given x. Here a = 7 for positive x, a = - 3 for negative x, and a = 0 for zero x.



color="#000000">c2 =