2022-11-21 06:43:20 +0200 | received badge | ● Notable Question (source) |
2022-06-15 17:05:05 +0200 | received badge | ● Notable Question (source) |
2021-07-09 16:43:24 +0200 | received badge | ● Notable Question (source) |
2021-07-09 16:43:24 +0200 | received badge | ● Popular Question (source) |
2021-07-09 16:26:13 +0200 | received badge | ● Popular Question (source) |
2021-06-27 02:14:36 +0200 | received badge | ● Popular Question (source) |
2019-05-24 10:34:40 +0200 | received badge | ● Nice Question (source) |
2018-12-03 18:08:12 +0200 | received badge | ● Good Question (source) |
2018-12-03 13:29:55 +0200 | received badge | ● Nice Question (source) |
2018-12-03 04:22:20 +0200 | asked a question | Sage doesn't simplify a fraction if it's multiplied by 2 Hello, for some reason sage doesn't simplify a trigonometric expression: while I'd expect I also tried a nice The weird thing is that it works without the And even replacing I mean, obviously, it can do that kind of simplification. But I can't make it simplify the |
2018-11-25 18:45:19 +0200 | received badge | ● Good Question (source) |
2018-11-25 17:53:23 +0200 | received badge | ● Supporter (source) |
2018-11-25 17:53:20 +0200 | commented answer | .canonicalize_radical() produces incorrect result Thank you! I've experimented with |
2018-11-24 23:59:17 +0200 | received badge | ● Nice Question (source) |
2018-11-24 16:32:05 +0200 | commented answer | .simplify_full() doesn't simplify an obvious trigonometric expression Thanks for the link and details! Personally I'd say sqrt() is a single-valued conditional function, and its symbolic representation depends on the sign of its argument, like, sqrt(x^2) = {x if x>=0; -x if x<0 }. It's just in my case the sign was known, so I hoped sage would guess that... Anyway, I posted that as a separate "canonicalize_radical produces incorrect result" question. I hope it makes sense. |
2018-11-24 16:08:48 +0200 | received badge | ● Editor (source) |
2018-11-24 16:01:17 +0200 | asked a question | .canonicalize_radical() produces incorrect result I'm trying to simplify some trigonometric expressions using sage, and I noticed that .simplify_full() doesn't optimize those, unless a .canonicalize_radical() is used (thanks slelievre for the hint). But that yields incorrect results for some expressions. For example: .canonicalize_radical() simplifies it further: But that is wrong! The answer should be Is there a way to make .canonicalize_radical() smarter? Or any other way to simplify an expression like this correctly? |
2018-11-24 15:50:03 +0200 | received badge | ● Student (source) |
2018-11-24 15:11:33 +0200 | commented answer | .simplify_full() doesn't simplify an obvious trigonometric expression Ah, thank you! I've just read canonicalize_radical docs and it looks unsafe to use blindly. I experimented with it a little and reproduced a problem: |
2018-11-24 15:10:37 +0200 | received badge | ● Scholar (source) |
2018-11-23 14:57:04 +0200 | asked a question | .simplify_full() doesn't simplify an obvious trigonometric expression Hello, I'm trying to simplify a trigonometric expression, and it didn't work as I expected. The original example was larger, but I reproduced the issue with a smaller one: Why doesn't that turn into |