Results 1 to 7 of 7

Math Help - Maxima

  1. #1
    Newbie
    Joined
    Mar 2010
    Posts
    6

    Maxima

    Hi all,
    Does anyone know haw I can assign names to the equations as they are solves in Maxima?

    I am solving some simultaneous equations using
    solve([f(x),g(y),h(z)],[x,y,z])
    and I get three equations as output as I am not solving for actual values of x,y, and x, I'm looking for algebraic solutions. What I want to do is label each of the output equations as i,j and k.
    Any help?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by kungal View Post
    Hi all,
    Does anyone know haw I can assign names to the equations as they are solves in Maxima?

    I am solving some simultaneous equations using
    solve([f(x),g(y),h(z)],[x,y,z])
    and I get three equations as output as I am not solving for actual values of x,y, and x, I'm looking for algebraic solutions. What I want to do is label each of the output equations as i,j and k.
    Any help?
    See attachment:

    Attached Thumbnails Attached Thumbnails Maxima-gash.png  
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Mar 2010
    Posts
    6
    Yes, I know how to do that.
    But this time I am not looking for actual numbers as output, I'm solving algebraic equations to get an equation for the solutions to the simultaneous equations.
    The result of the solve formula is three equations. I want to know how to label these equations.

    I've tried

    [a,b,c]: solve([f(x),g(y),h(z)],[x,y,z]);

    but it doesn't work.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by kungal View Post
    yes, i know how to do that.
    But this time i am not looking for actual numbers as output, i'm solving algebraic equations to get an equation for the solutions to the simultaneous equations.
    The result of the solve formula is three equations. I want to know how to label these equations.

    I've tried

    [a,b,c]: Solve([f(x),g(y),h(z)],[x,y,z]);

    but it doesn't work.
    That is verging on the rude but try something based on the following:

    Maxima-gash.png
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Mar 2010
    Posts
    6
    Sorry, about that. No offense intended.
    Below is a simplified version of the problem I am dealing with

    Code:
    (%i1)  X: a*b+c*d=e;
    (%o1)                            c d + a b = e
    (%i2)  Y:g*b+h*d=f;
    (%o2)                            d h + b g = f
    (%i3)  solve([X,Y],[b,d]);
                                   e h - c f    e g - a f
    (%o3)                 [[b = - ---------, d = ---------]]
                                   c g - a h     c g - a h
    In my real problem I more equations and they are a lot longer. What I want to do is name the equations that are produced as output (the equations for b and d above) so that they can be recalled later.
    Thanks for your help
    Last edited by kungal; March 14th 2010 at 05:34 AM.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by kungal View Post
    Sorry, about that. No offense intended.
    Below is a simplified version of the problem I am dealing with

    Code:
    (%i1)  X: a*b+c*d=e;
    (%o1)                            c d + a b = e
    (%i2)  Y:g*b+h*d=f;
    (%o2)                            d h + b g = f
    (%i3)  solve([X,Y],[b,d]);
                                   e h - c f    e g - a f
    (%o3)                 [[b = - ---------, d = ---------]]
                                   c g - a h     c g - a h

    In my real problem I more equations and they are a lot longer. What I want to do is name the equations that are produced as output (the equations for b and d above) so that they can be recalled later.
    Thanks for your help

    Is this what you are looking for:



    You can use b and d instead of sol1 and sol2 if you want in the last two entries

    CB
    Attached Thumbnails Attached Thumbnails Maxima-gash.jpg  
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Newbie
    Joined
    Mar 2010
    Posts
    6
    That's got it. Thanks a lot.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Maxima anyone?
    Posted in the Math Software Forum
    Replies: 1
    Last Post: February 19th 2011, 07:01 AM
  2. Maxima problem
    Posted in the Calculus Forum
    Replies: 3
    Last Post: November 8th 2009, 08:29 PM
  3. Maxima proof
    Posted in the Calculus Forum
    Replies: 1
    Last Post: October 31st 2009, 06:56 AM
  4. Maxima/ Minima
    Posted in the Calculus Forum
    Replies: 5
    Last Post: August 3rd 2008, 04:47 AM
  5. maxima and minima
    Posted in the Calculus Forum
    Replies: 2
    Last Post: February 25th 2008, 11:28 AM

Search Tags


/mathhelpforum @mathhelpforum