Results 1 to 4 of 4
Like Tree1Thanks
  • 1 Post By SlipEternal

Math Help - Simplying linear equation to get quartic in q with using Maple and using Descarte’s

  1. #1
    Junior Member
    Joined
    Mar 2014
    From
    uk
    Posts
    53

    Simplying linear equation to get quartic in q with using Maple and using Descarte’s

    Using the maple I am trying to get quardic in q from this big linear equation. Then use Descarte’s rule of signs to determine the number of positive roots.
    \begin{equation}
    \frac{\gamma*q*P_Q}{k_p*(1-q)*P_C} = \frac{I*\alpha}{k_f+k_d+\frac{k_n*\lambda_b*\gamma *q*P_Q}{\lambda_b*\gamma*q*P_Q+k_p*\lambda_r*(1-q)^2}+k_p*(1-q)}
    \end{equation}
    Values of parameters are given below:
    $I=1200$
    $k_f = 6.7*10.^7$
    $k_d = 6.03*10.^8$
    $k_n = 2.92*10.^9$
    $k_p = 4.94*10.^9$
    $\alpha = 1.14437*10.^(-3)$
    $\lambda_b = 0.87e-2$
    $\lambda_r = 835$
    $\gamma = 2.74$
    $P_C = 3*10.^(11)$
    $P_Q = 2.87*10.^(10)$


    =>
    I tried the code in maple to get quartic in q but DOES NOT WORKS.

    Code:
                 II := 1200:
        k_f := 6.7*10.^7: 
        k_d := 6.03*10.^8: 
        k_n := 2.92*10.^9: 
        k_p := 4.94*10.^9: 
        alpha := 1.14437*10.^(-3): 
        lambda_b := 0.87e-2:
        lambda_r := 835:
        ggamma := 2.74:
        P_C := 3*10.^11: 
        P_Q := 2.87*10.^10:
                
         eq := ggamma*q*P_Q/(k_p*(1-q)*P_C) = II*alpha/(k_f+k_d+k_n*lambda_b*ggamma*q*P_Q/(lambda_b*ggamma*q*P_Q+k_p*lambda_r*(1-q)^2)+k_p*(1-q)):
        
        simply(eq, q);
    My lecturer want me to manipulate the equation and get a quartic in q before substituting the values of parameters into the equation. After that,use Descarte’s rule of signs to determine the number of positive roots. Then write Q=1-q to get second quartic in Q and repeat rule of signs to determine number of steady states of q less than 1. And do the substition of parameters if necessary.
    Now, its kind of hard for me what he wants because to get quartic in q first from the equation is hard to do by hand , so i have to use in maple which is not working then use Descarte’s rule of signs.
    Last edited by grandy; July 10th 2014 at 05:58 AM.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Nov 2010
    Posts
    1,845
    Thanks
    715

    Re: Simplying linear equation to get quartic in q with using Maple and using Descarte

    Posting a second time will not get you an answer any faster. Perhaps try different variable names.

    Try using semicolons at the end of every statement instead of colons?

    Also, try solve(eqn,q) instead of simplify(eqn,q)?
    Last edited by SlipEternal; July 10th 2014 at 05:52 AM.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Junior Member
    Joined
    Mar 2014
    From
    uk
    Posts
    53

    Re: Simplying linear equation to get quartic in q with using Maple and using Descarte

    Quote Originally Posted by SlipEternal View Post
    Posting a second time will not get you an answer any faster. Perhaps try different variable names.

    Try using semicolons at the end of every statement instead of colons?

    Also, try solve(eqn,q) instead of simplify(eqn,q)?
    Maple understand the colons not semicolons sir. And i did tried the solve(eqn,q) to get the result for q which i got it. but this time i am trying to manipulate the equation to get quartic in q, so that i can use Descarte’s rule of signs to determine the number of positive roots. And after that do substitute parameters in and get the results for q.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    MHF Contributor
    Joined
    Nov 2010
    Posts
    1,845
    Thanks
    715

    Re: Simplying linear equation to get quartic in q with using Maple and using Descarte

    Cross multiplying by hand should not be a problem.

    \begin{align*}& \left[\left(k_f + k_d + k_p(1-q) \right)\left(\lambda_b\cdot \gamma \cdot q \cdot P_Q + k_p\cdot \lambda_r\cdot (1-q)^2\right) + k_n\cdot \lambda_b\cdot \gamma \cdot q \cdot P_Q  \right]\left(\gamma \cdot q \cdot P_Q\right) \\ = & I\cdot \alpha\left( k_p(1-q)P_C \right)\left( \lambda_b\cdot \gamma \cdot q \cdot P_Q + k_p\cdot \lambda_r\cdot (1-q)^2 \right)\end{align*}

    Ask maple to simplify that expression.
    Last edited by SlipEternal; July 10th 2014 at 08:29 AM.
    Thanks from grandy
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Solving the linear equation with using Maple
    Posted in the Math Software Forum
    Replies: 1
    Last Post: July 12th 2014, 01:33 PM
  2. Factoring Quartic equation
    Posted in the Advanced Algebra Forum
    Replies: 9
    Last Post: April 6th 2010, 08:07 AM
  3. Solving a quartic equation
    Posted in the Pre-Calculus Forum
    Replies: 4
    Last Post: June 1st 2009, 06:39 AM
  4. Replies: 3
    Last Post: February 7th 2009, 12:09 PM
  5. Quartic Equation
    Posted in the Advanced Algebra Forum
    Replies: 2
    Last Post: May 8th 2008, 02:57 PM

Search Tags


/mathhelpforum @mathhelpforum