What Mistakes Are in My Integral Calculations?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 1K views
Physicsrapper
Messages
24
Reaction score
0
Find the value of the integral:
a) ∫0π(sinx + 2)dx

Formula I found:
integral.gif
sin x dx = -cos x + C

My calculation: F(x) = -cosx + 2x
=> (-cosπ + 2π)-(-cos0) = -1 + 2π + 1 = 2π , but the solution should be 2π +2

b) ∫0sin(x/2)dx

My calculation: F(x) = -cosx/2
=> -cosπ + cos0 = 0 ; but the solution should be 4

What did I wrong in those equations? Can anyone help?
 
Physics news on Phys.org
Physicsrapper said:
Find the value of the integral:
a) ∫0π(sinx + 2)dx

Formula I found:
integral.gif
sin x dx = -cos x + C

My calculation: F(x) = -cosx + 2x
=> (-cosπ + 2π)-(-cos0) = -1 + 2π + 1 = 2π , but the solution should be 2π +2

[itex]-\cos\pi = -(-1) = 1[/itex].

b) ∫0sin(x/2)dx

My calculation: F(x) = -cosx/2
=> -cosπ + cos0 = 0 ; but the solution should be 4

What did I wrong in those equations? Can anyone help?

The integral of [itex]\sin(x/2)[/itex] is [itex]-2\cos(x/2) + C[/itex].