Results 1 to 3 of 3

Math Help - definite integral of cosine...

  1. #1
    Newbie
    Joined
    Dec 2011
    Posts
    2

    definite integral of cosine...

    Earlier today i was asked what i thought was going to be a simple problem and i can't for the life of me get an answer. I was asked to come up with an equation for a curve that looks like -cos(theta) from 0 - PI, has a y-intercept of 10,000, and has an area underneath of 200,000. So I immediately think -x cos(theta) + 10001 where x is the amplitude scale factor. So shouldn't I be able to set the definite integral of this equation (from 0 - PI), equal to 200000 and solve for x? Once I wrote it out I saw the problem I was going to have evaluating sin(0) and sin(PI).

    [int from 0-PI] (-xcos(theta) + 10001) dtheta = 200000
    -x [int from 0-PI](cos(theta) dtheta) + [int from 0-PI](10001 dtheta) = 200000
    -x [sin(PI) - sin(0)] + 10001(PI) = 200000
    -x(0) + 10001(PI) = 200000
    10001(PI) = 200000 ?????

    What am I doing wrong because all I'm getting is 10001(PI) = 200000 because my x get's multiplied by the zero sin(PI) - sin(0) leave behind. Have i set this up entirely wrong?

    thanks for any help
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Junior Member nimon's Avatar
    Joined
    Sep 2009
    From
    Edinburgh, UK
    Posts
    64

    Re: definite integral of cosine...

    Hi.

    Your question could have been better expressed which is why I think nobody has responded yet. Nevertheless, I understand what you're saying and I think I've spotted a problem with your algebra.

    What is the y-intercept of the function f(\theta) = -x\cos(\theta) + 10,001?

    I think you will find that it isn't as you'd hoped! This +10,001 is the culprit. I'm sure you can see a way to fix this: just solve for -x\cos(0) + c = 10,000 and you should be on your way.

    Your approach in general is good, however, so your instincts were right.

    Happy solving.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Dec 2011
    Posts
    2

    Cool Re: definite integral of cosine...

    Hey thanks for the reply. Sorry I didn't read up on the proper formatting tags, and yes it looked terrible. Thanks for still taking the time. I don' t exactly understand what you meant by the following.

    -x\cos(0) + c = 10,000

    But it did make me reconsider how I was treating the amplitude scaling. I forgot that scaling cos or sin doesn't just expand the function upwards but also downwards. So attempting to solve for the scale factor without compensating in the vertical shift is what killed me. As the wave's amplitude gets scaled it needs to be shifted upwards again to maintain a y_intercept at 10000. I used the following equation and came up with the desired result:

    \int_0^\pi ( -x\cos(\theta) + x + 10000)

    This way what ever scale gets applied to the wave, the wave will be raised that same amount so it still has y-intercept at 10000.

    The final value for x is approx. 63661.98

    I'm wondering if there's a way to do this without integrating.

    Thanks a lot nimon!!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Definite integral with cosine at denominator
    Posted in the Calculus Forum
    Replies: 1
    Last Post: March 12th 2012, 09:18 AM
  2. Replies: 5
    Last Post: December 5th 2011, 06:21 PM
  3. Replies: 4
    Last Post: April 13th 2011, 03:08 AM
  4. Integral of cosine squared x?
    Posted in the Calculus Forum
    Replies: 4
    Last Post: May 6th 2010, 09:30 AM
  5. integral cosine and exponential
    Posted in the Calculus Forum
    Replies: 7
    Last Post: July 14th 2008, 06:52 PM

Search Tags


/mathhelpforum @mathhelpforum