Best Approximations: Solving (e^x,p_1)

  • Thread starter Thread starter roam
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
roam
Messages
1,265
Reaction score
12

Homework Statement



The following is a worked example:

[PLAIN]http://img18.imageshack.us/img18/122/57926907.gif
[PLAIN]http://img717.imageshack.us/img717/8884/82726904.gif

I don't understand why they have got [tex](e^x,p_1)[/tex] equal to [tex]\frac{1}{2}(3-e)[/tex]! :confused:

The Attempt at a Solution



[tex](e^x,p_1)=\int^1_0 e^x(x-\frac{1}{2})dx[/tex]

[tex]=\left[ xe^x-e^x- \frac{e^x}{2}\right]^1_0[/tex]

[tex]=\frac{2.7}{2}-\frac{1}{2}[/tex]

I don't get [tex](e^x,p_1)=\frac{1}{2}(3-e)[/tex].

Is there something wrong with what I'm doing?
 
Last edited by a moderator:
Physics news on Phys.org
Where'd that 2.7 come from?

Anyways, you seem to have done two things:
  • Antidifferentiated
  • Plugged in numbers
Can you think of a way to check if your anti-derivative is correct?
Can you think of a way to check if you plugged in numbers and did arithmetic correctly?

It's probably worth checking that you set the problem up correctly too.

It's also worth checking that what you got and what the answer book got really are different. Can you think of a way to do that?