ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 19 Jun 2017 11:57:13 +0200using sage solve for more than 4 variableshttps://ask.sagemath.org/question/38011/using-sage-solve-for-more-than-4-variables/ I just tried to sovle a 82 queation with 82 varibles, and got the following error:
TypeError: solve() takes at most 5 positional arguments (82 given)
I assume that i'm not using it right. I would like an help.
Thanks.Mon, 19 Jun 2017 11:01:19 +0200https://ask.sagemath.org/question/38011/using-sage-solve-for-more-than-4-variables/Answer by tmonteil for <p>I just tried to sovle a 82 queation with 82 varibles, and got the following error:</p>
<p>TypeError: solve() takes at most 5 positional arguments (82 given)</p>
<p>I assume that i'm not using it right. I would like an help.</p>
<p>Thanks.</p>
https://ask.sagemath.org/question/38011/using-sage-solve-for-more-than-4-variables/?answer=38013#post-id-38013You should give us the equations and a way to construct them easily, or we will not be able to help much... that said, when using the `solve` function, the variables have to be put in a list, not provided one by one.Mon, 19 Jun 2017 11:43:59 +0200https://ask.sagemath.org/question/38011/using-sage-solve-for-more-than-4-variables/?answer=38013#post-id-38013Comment by SAvaGE for <p>You should give us the equations and a way to construct them easily, or we will not be able to help much... that said, when using the <code>solve</code> function, the variables have to be put in a list, not provided one by one.</p>
https://ask.sagemath.org/question/38011/using-sage-solve-for-more-than-4-variables/?comment=38014#post-id-38014thanks, I defined them as a tuple.Mon, 19 Jun 2017 11:57:13 +0200https://ask.sagemath.org/question/38011/using-sage-solve-for-more-than-4-variables/?comment=38014#post-id-38014