Originally Posted by

**Matt164** Hmm.. I tried to change it to plot({H(x),K(x)}x=-2..5);

and got the following error: Warning unable to evaluate the functions to numeric values in the region; see the plotting commands help page to ensure the calling sequence is correct. Also, I misread the problem before and I should be making a plot of the region explicitly showing the vertical line x=-2, not x=2. Anyone have any idea what could be causing this

error?

first of all, the way you defined your functions is sloppy. i am not even sure what k(x) is. if it is supposed to be $\displaystyle \frac 12xe^{2x} - 2x + 3$ you should define it as (1/2)*x*exp(2*x) - 2*x + 3 in Maple.

here is the code:

Code:

h:=x->10-2*x;
k:=x->(1/2)*x*exp(2*x) - 2*x + 3;
plot({h(x),k(x)},x=-2..2);

Also I need to find b using fsolve for this same problem. I know I need to write something like b:=fsolve(H(x)=K(x),x=3..4.1); .I am not sure if I have set that up right, and I'm pretty sure that the x=3..4.1 doesn't belong, and something else should go there. Have I done this correctly? I am getting the same thing I typed out come back in blue, but the equal sign between the x and 3 has turned into a comma for some reason. Thanks in advance to anyone who can help me with either of these problems.

or Code:

b:= fsolve(h(x)=k(x));

if you wish