In
looking at the latest version of this problem, I don't know a seed that
will generate the difficulty that Tom describes. But it is possible
that the graphs intersect, and the answer presumes that they do not.
The gist of the problem is to find the area between the functions
f1(x) = d*x^2+a and f2(x) = x on the interval [b,c], where it is
assumed that the graphs of f1 and f2 do NOT intersect. The coefficient
generator requires a in [2,8], b in [2,8], c in [-8,-2], and d in
[.1,.95]. However, if a,b,d are ALL small, the graphs of the two
functions WILL intersect on the interval [b,c]. This can easily be
fixed by shifting f1(x) up one more unit. Just change line 22 to "$a =
random(3,10,1);" thereby assuring that the f1 > f2 on the entire
domain.
Coreen
<| Post or View Comments |>
|