Schools out there uses maple

  • Thread starter CellCoree
  • Start date
  • #1
CellCoree
42
0
dont know how many schools out there uses maple, but let me ask my question anyway. maple is a program that does math calculation and other stuff, it's pretty impressive. you can use it to do integrals and stuff.

here's my question using maple:

1.) Let f(x) =x^2 and g(x) = x*e^(-x/2). Find where these graphs intesect and determine the area enclosed in the intersectng region.

this has to be found using maple.
ok i tried these commands using maples:

f:=x^2;
g:=x*e^(-x/2);
plot({f,g},x=-10..10);

then i get this error "Warning, unable to evaluate 1 of the 2 functions to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct" and it only displays the f(x) graph. i checked the maple book, and i typed the extact commands, i don't know why it doesn't work.
 

Answers and Replies

  • #2
nrqed
Science Advisor
Homework Helper
Gold Member
3,765
295
CellCoree said:
dont know how many schools out there uses maple, but let me ask my question anyway. maple is a program that does math calculation and other stuff, it's pretty impressive. you can use it to do integrals and stuff.

here's my question using maple:

1.) Let f(x) =x^2 and g(x) = x*e^(-x/2). Find where these graphs intesect and determine the area enclosed in the intersectng region.

this has to be found using maple.
ok i tried these commands using maples:

f:=x^2;
g:=x*e^(-x/2);
plot({f,g},x=-10..10);

then i get this error "Warning, unable to evaluate 1 of the 2 functions to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct" and it only displays the f(x) graph. i checked the maple book, and i typed the extact commands, i don't know why it doesn't work.


I am not a Maple expert (far from it!) but an obvious thing to try would be to use exp(-x/2) instead of e^(-x/2). I am not sure but it might be that Maple treats "e" as just a variable and does know that you mean e = 2.718...

That's just a wild guess.

Pat
 
  • #3
CellCoree
42
0
nrqed said:
I am not a Maple expert (far from it!) but an obvious thing to try would be to use exp(-x/2) instead of e^(-x/2). I am not sure but it might be that Maple treats "e" as just a variable and does know that you mean e = 2.718...

That's just a wild guess.

Pat

thanks alot, works perfectly.
 

Suggested for: Schools out there uses maple

Replies
10
Views
582
Replies
3
Views
374
Replies
1
Views
2K
Replies
1
Views
680
Replies
0
Views
817
Replies
2
Views
2K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
3
Views
2K
Replies
8
Views
2K
  • Last Post
Replies
1
Views
1K
Top