Results 1 to 12 of 12

Thread: Solve this equattion for x

  1. #1
    Newbie
    Joined
    Apr 2017
    From
    Canada
    Posts
    19

    Solve this equattion for x

    Solve this equattion for x - if you can :
    .
    cos ( A-BX ) = C e^x/D

    Where A,B,C,D are constants


    Thanks for your try.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Senior Member
    Joined
    Jun 2014
    From
    Illinois
    Posts
    260
    Thanks
    89

    Re: Solve this equattion for x

    Just as with your other post there is no closed-form solution for this, and the answer(s) for x depends on the values of A, B, C and D. Depending on what they are there may be 0, 1, or more solutions. For example if A=0, B=0, and C=1 then x = 0 (as long as D is not 0). But if A=0, B=0, and C= 2 then there are no solutions if D is positive, and one solution if D is negative. And if B is non-zero and D is a negative number then there are an infinite number of solutions.

    By the way, I assume you meant to write this:

    cos(A-BX) = Ce^(x/D)

    Parentheses matter!
    Last edited by ChipB; Apr 14th 2017 at 06:32 AM.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Apr 2017
    From
    Canada
    Posts
    19

    Re: Solve this equattion for x

    Thank for reply.
    Consider the constants A,B,C,D as follow :

    .
    A=169.93
    B=21600
    C=.9846
    D=.52
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Senior Member
    Joined
    Jun 2014
    From
    Illinois
    Posts
    260
    Thanks
    89

    Re: Solve this equattion for x

    Quote Originally Posted by souky101 View Post
    Thank for reply.
    Consider the constants A,B,C,D as follow :

    .
    A=169.93
    B=21600
    C=.9846
    D=.52
    Using Newton's Method I get two results for x: 5.015080 x 10^(-6) and 2.127275 x 10^(-5)
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Apr 2017
    From
    Canada
    Posts
    19

    Re: Solve this equattion for x

    Well - I used a different method.
    Two graphs and intersection points.
    .
    cos(169.93 - 21600x) & .9846e^(x /.52)
    .
    But my first intersection point is at X= 7.8X10^(-3)
    .
    I do not know why we have different results.
    Last edited by souky101; Apr 14th 2017 at 07:43 AM.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Senior Member
    Joined
    Jun 2014
    From
    Illinois
    Posts
    260
    Thanks
    89

    Re: Solve this equattion for x

    Actually there are many solutions to this. The solution I gave are the smallest two solutions. Because the cosine function is periodic, with period 2 pi/B, while the exponent function increases very slowly, there are solutions approximately every 2*pi/21600 = 0.0002909. See the attached plot which covers from x = 0 to x = 0.0025. It's hard to see but the orange line crosses the cosine function twice with each cycle. There are two solutions in the vicinity of 7.86x10^(-3): they are 7.865831x10^(-3) and 7.868420x10(-3). These are the 55th and 56th solutions, and they are the highest two.

    Solve this equattion for x-graph.jpg
    Last edited by ChipB; Apr 14th 2017 at 08:14 AM.
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Newbie
    Joined
    Apr 2017
    From
    Canada
    Posts
    19

    Re: Solve this equattion for x

    Can you give idea about the method you used ( Newton's Method ).
    How is used ??
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Senior Member
    Joined
    Jun 2014
    From
    Illinois
    Posts
    260
    Thanks
    89

    Re: Solve this equattion for x

    Quote Originally Posted by souky101 View Post
    Can you give idea about the method you used ( Newton's Method ).
    How is used ??
    See: https://en.wikipedia.org/wiki/Newton%27s_method

    You rearrange the equation into the form f(x) = 0. Then make a guess for a solution - call it x1. Calculate f(x1), which gives the amount of error in the guess. Then calculate the slope at x, in other words the derivative f'(x1). The next guess x2 is equal to x1 - f(x1)/f'(x1). Repeat the process until the error becomes acceptably small.
    Follow Math Help Forum on Facebook and Google+

  9. #9
    Newbie
    Joined
    Apr 2017
    From
    Canada
    Posts
    19

    Re: Solve this equattion for x

    Well---- That is another way - but it takes long time through guessing several times ( try and error method ), until you reach acceptable solution.
    You can also guess a value and substitute it in bother sides of the equation until they are equal ... time consuming.
    .
    I am still looking for a method to solve the above equation to get :
    x = function of ( A,B,C,D).
    .
    The challenge is still there.
    .
    Thanks for your help any way.
    Follow Math Help Forum on Facebook and Google+

  10. #10
    Senior Member
    Joined
    Jun 2014
    From
    Illinois
    Posts
    260
    Thanks
    89

    Re: Solve this equattion for x

    Quote Originally Posted by souky101 View Post
    I am still looking for a method to solve the above equation to get :
    x = function of ( A,B,C,D).

    The challenge is still there.
    You won't find a solution. But if you want to keep trying you might start by considering a simpler equation:

    cos(x) = e^x

    and see if you can solve for x. Even a seemingly "easy" equation such as cos(x) = x can't be solved except through numerical techniques like the one I described.
    Follow Math Help Forum on Facebook and Google+

  11. #11
    Newbie
    Joined
    Apr 2017
    From
    Canada
    Posts
    19

    Re: Solve this equattion for x

    I am agree with you - the reason may be because there are infinite solutions and not only one or two.
    Follow Math Help Forum on Facebook and Google+

  12. #12
    Newbie
    Joined
    Apr 2017
    From
    Canada
    Posts
    19

    Re: Solve this equattion for x

    Do you know a software which can do this "Newton's Method" ? ---- If I assign for it the first approximation value.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Eq = 0 => solve...
    Posted in the Calculus Forum
    Replies: 9
    Last Post: May 31st 2011, 06:50 AM
  2. need to solve summation equation to solve sum(x2)
    Posted in the Statistics Forum
    Replies: 2
    Last Post: Jul 16th 2010, 10:29 PM
  3. I do not know how to solve it
    Posted in the Differential Equations Forum
    Replies: 2
    Last Post: Mar 12th 2010, 01:19 PM
  4. Replies: 1
    Last Post: Jun 9th 2009, 10:37 PM
  5. How to solve this?
    Posted in the Algebra Forum
    Replies: 4
    Last Post: Jul 21st 2008, 01:47 PM

/mathhelpforum @mathhelpforum