Results 1 to 8 of 8

Math Help - How to input data into maple with unknown constants?

  1. #1
    Newbie
    Joined
    Feb 2011
    Posts
    13

    How to input data into maple with unknown constants?

    I'm about to give up on Maple 14. The equations are x+2y+3z=4, x +ky+4z=6, x+2y+ (k+2)z=6. I entered the equations and got up to this point. > eqlist := [eqn1, eqn2, eqn3]; and got the equations repeated back to me
    > varlist := [x, y, z]; and got the 3 variables repeated back to me. When I tried to generate the matrix, I put in. A := genmatrix(eqlist, varlist, flag), and got genmatrix([x+2*y+3*z = 4, x+ky+4*z = 6, x+2*y+z(k+2) = 6], [x, y, z], flag). What did I enter wrong? did I have to incorporate K in some way in an input equation?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Behold, the power of SARDINES!
    TheEmptySet's Avatar
    Joined
    Feb 2008
    From
    Yuma, AZ, USA
    Posts
    3,764
    Thanks
    78
    Code:
    with(LinearAlgebra);
    Matrix(3, 4, [1, 2, 3, 4, 1, k, 4, 6, 1, 1, k+2, 6]);
    This will generate the matrix you want

    The first two numbers specify the size of the matrix
    Then just list the element as you go though the rows!

    Note loading the linear algebra package will let you use the tools from that package.

    Note you can also right click on the matrix and maple will give you a list of options to choose from as well.

    TES
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Feb 2011
    Posts
    13
    Not trying to be rude or make you do the work for me, But i'm completely new to maple 14, let alone maple in general. Can you copy and paste the input entries from maple onto the forum so i can learn how to do it, because that language just went over my head. Let me add that I have to get the equation to rref. So if you can do this for me you'd be a lifesaver, btw that code did not work for me.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Behold, the power of SARDINES!
    TheEmptySet's Avatar
    Joined
    Feb 2008
    From
    Yuma, AZ, USA
    Posts
    3,764
    Thanks
    78
    Quote Originally Posted by cwarga88 View Post
    Not trying to be rude or make you do the work for me, But i'm completely new to maple 14, let alone maple in general. Can you copy and paste the input entries from maple onto the forum so i can learn how to do it, because that language just went over my head.
    Just copy and paste the stuff from the window above. I can't upload an actual maple worksheet hut here is a screen shot as well.

    How to input data into maple with unknown constants?-matrix.jpg
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Newbie
    Joined
    Feb 2011
    Posts
    13
    Thank you so much you're the best.
    Follow Math Help Forum on Facebook and Google+

  6. #6
    Newbie
    Joined
    Feb 2011
    Posts
    13
    ok real quick. How do I get the denominator = 0 in maple, in other words ksquared-3k+3=0 and solving for k
    Follow Math Help Forum on Facebook and Google+

  7. #7
    Behold, the power of SARDINES!
    TheEmptySet's Avatar
    Joined
    Feb 2008
    From
    Yuma, AZ, USA
    Posts
    3,764
    Thanks
    78
    Quote Originally Posted by cwarga88 View Post
    ok real quick. How do I get the denominator = 0 in maple, in other words ksquared-3k+3=0 and solving for k
    solve(k^2-3*k+3 = 0, k);

    P.S. If you type ?solve or ?anything it will open the maple help for that command. it usually have example to help you see what you need.
    Follow Math Help Forum on Facebook and Google+

  8. #8
    Newbie
    Joined
    Feb 2011
    Posts
    13
    yeah thanks so much man you really helped me out so much.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Variables and unknown constants?
    Posted in the Calculus Forum
    Replies: 3
    Last Post: July 31st 2011, 05:51 AM
  2. How to input Dirac Delta Function in Maple
    Posted in the Math Software Forum
    Replies: 1
    Last Post: May 31st 2011, 08:02 PM
  3. Image and Kernel input on maple 14
    Posted in the Math Software Forum
    Replies: 0
    Last Post: March 20th 2011, 08:50 PM
  4. Finding unknown constants
    Posted in the Algebra Forum
    Replies: 6
    Last Post: January 7th 2011, 03:26 AM
  5. Whats wrong with my maple input?
    Posted in the Advanced Algebra Forum
    Replies: 1
    Last Post: November 21st 2010, 06:10 AM

Search Tags


/mathhelpforum @mathhelpforum