2023-06-05 23:35:31 +0200 | received badge | ● Famous Question (source) |
2019-03-19 23:48:35 +0200 | received badge | ● Notable Question (source) |
2019-03-19 23:48:35 +0200 | received badge | ● Popular Question (source) |
2017-04-20 03:49:20 +0200 | received badge | ● Popular Question (source) |
2014-06-29 21:01:54 +0200 | received badge | ● Notable Question (source) |
2014-06-29 21:01:54 +0200 | received badge | ● Famous Question (source) |
2014-06-29 21:01:54 +0200 | received badge | ● Popular Question (source) |
2012-09-04 15:24:34 +0200 | asked a question | Simplify to real and positive numbers I can't seem to get v5 to output both real and positive numbers, only an empty list. All the inputs are positive, and I know the square root of the squared gives both positive and negative output. Any help? |
2012-08-30 17:12:25 +0200 | commented answer | Gas Law Symbolic Equation Thanks. That clears it right up. |
2012-08-30 17:11:59 +0200 | marked best answer | Gas Law Symbolic Equation The first step in debugging is to look to see what the first argument actually is. I'm assuming that you did .. and we see that Sage is automatically evaluating the expression, and since it can't prove that it's true -- which is good, because it's not true in general -- it's saying that it's Ultimately this is because
But a better and more robust way would be to avoid getting which would give: and then Short version: don't use |
2012-08-30 15:33:26 +0200 | commented answer | Gas Law Symbolic Equation Could you elaborate on when one might use srange, xrange or np.arange? Why did someone request using np.arange on this problem: http://ask.sagemath.org/question/1725/unexpected-solve-errors I see that srange() works there, but xrange() does not. Is it because srange and np.arange both generate a list output, but xrange does it dynamically? Thanks for the clarification! |
2012-08-30 14:42:36 +0200 | asked a question | Gas Law Symbolic Equation Ideal Gas Law[Relates Pressure and Volume]Definitions v3 Why does this say: I have the variables defined elsewhere[Pp =var('Pp')] but I'm not sure why this won't work. Thanks |
2012-08-30 14:36:45 +0200 | commented answer | Unexpected solve() errors That works pretty well, but with 0 as the start it throws an empty list, which screws up my list comprehension. It works pretty well. Do you know about the other problem or why |
2012-08-29 23:45:30 +0200 | received badge | ● Editor (source) |
2012-08-29 23:43:08 +0200 | asked a question | Unexpected solve() errors This returns an empty list [] and I have no idea why. And this one: __main__:18: DeprecationWarning: Substitution using function-call syntax and unnamed arguments is deprecated and will be removed from a future release of Sage; you can use named arguments instead, like EXPR(x=..., y=...) See http://trac.sagemath.org/5930 for details. 75589949342674/131001015929725 Or it just shows the fraction. It's been acting weird lately Why? |
2012-08-29 17:38:03 +0200 | marked best answer | What's Wrong With This? Your solve syntax has two minor problems. First, Sage uses |
2012-08-29 17:38:03 +0200 | received badge | ● Scholar (source) |
2012-08-28 17:55:37 +0200 | asked a question | What's Wrong With This? Can anyone tell me why this is giving a syntax error and pointing to my variable definition Vm? It's really bugging me! |