Plotting f(x) with Maple: -4 < x < 4

  • Context: Maple 
  • Thread starter Thread starter MCooltA
  • Start date Start date
  • Tags Tags
    Maple Plotting
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
MCooltA
Messages
8
Reaction score
0
I have to plot the function f(x) in maple, for -4 < x < 4.

I have got:

a:= 0.58
b:=0.61
c:=0.35

f(x) := e^(-a)(x^2) - (b)(x)*ln((x^2) + 1)
....2 + (x^2) + (c)*sin(x(Pi))

Maple interprets this correctly, but when i go to plot it, it comes up with 'Warning, unable to evaluate the function numeric values in the region'.

I tried to plot it, using:

plot(f(x), x = -4..4)

Can anyone see where I am going wrong? Or what I am missing out?
 
Physics news on Phys.org
you're using e as a vairable, you need to use exp(...)