Ask Your Question

Shu's profile - activity

2019-10-18 23:28:13 +0100 received badge  Popular Question (source)
2017-07-14 21:26:39 +0100 received badge  Notable Question (source)
2016-10-03 13:01:11 +0100 received badge  Famous Question (source)
2016-05-30 15:07:36 +0100 received badge  Famous Question (source)
2016-01-31 04:51:06 +0100 received badge  Famous Question (source)
2015-10-16 21:37:29 +0100 received badge  Famous Question (source)
2015-10-13 15:24:35 +0100 received badge  Good Question (source)
2015-07-31 21:16:57 +0100 received badge  Notable Question (source)
2015-06-23 09:58:06 +0100 received badge  Popular Question (source)
2015-01-14 09:43:39 +0100 received badge  Famous Question (source)
2014-06-29 03:14:40 +0100 marked best answer bool returns false with arcsin(x) and 2*arctan(x/(1+sqrt(1-x^2)))

The two expression should be equal but when I write bool(arcsin(x) == 2*arctan(x/(1+sqrt(1-x^2)))) it returns false.

Any clue - Why it does that? Any get around?

2014-04-24 15:17:56 +0100 received badge  Notable Question (source)
2014-01-01 11:13:35 +0100 received badge  Famous Question (source)
2013-12-30 12:17:17 +0100 received badge  Nice Question (source)
2013-11-26 15:48:06 +0100 received badge  Notable Question (source)
2013-10-22 22:40:26 +0100 received badge  Popular Question (source)
2013-05-11 16:05:42 +0100 received badge  Popular Question (source)
2013-05-09 04:30:42 +0100 received badge  Notable Question (source)
2013-04-23 22:15:44 +0100 received badge  Notable Question (source)
2013-04-01 21:53:25 +0100 received badge  Popular Question (source)
2013-02-13 00:59:11 +0100 received badge  Famous Question (source)
2012-12-28 14:46:43 +0100 received badge  Popular Question (source)
2012-11-23 12:53:57 +0100 received badge  Famous Question (source)
2012-10-20 15:14:54 +0100 received badge  Notable Question (source)
2012-06-30 01:13:03 +0100 received badge  Popular Question (source)
2012-01-02 10:43:25 +0100 received badge  Notable Question (source)
2011-12-20 13:02:37 +0100 received badge  Famous Question (source)
2011-10-27 20:22:58 +0100 received badge  Notable Question (source)
2011-08-18 11:11:23 +0100 received badge  Notable Question (source)
2011-07-19 09:06:03 +0100 received badge  Popular Question (source)
2011-06-14 08:17:34 +0100 received badge  Popular Question (source)
2011-06-02 21:39:12 +0100 received badge  Popular Question (source)
2011-05-03 23:41:39 +0100 received badge  Popular Question (source)
2011-04-28 19:04:54 +0100 received badge  Taxonomist
2011-03-16 11:13:20 +0100 asked a question integral of 1/x, tan x

why integral ($ $$1/x$, $x$) returns $log(x)$? Shouldn't it return $log(|x|)$. Similarly, integral$(tan(x),x)$ returns $log(sec(x))$ shouldn't it return $log(|sec(x)|)$. Can anyone explain?

After previous post, I dig a little bit and find:

 sage: equation=integral(1/x+x,x).real()
 sage: equation
 1/2*real_part(x)^2 - 1/2*imag_part(x)^2 + log(abs(x))
 sage:

Now, anyway to set real_part(x)=x and imag_part(x)=0 in "eq" and get the resultant "eq"?

More>>

sage: integral(1/(x^3-1),x).real()
-1/3*sqrt(3)*real_part(arctan(1/3*(2*x + 1)*sqrt(3))) + 1/3*log(abs(x - 1)) - 1/6*log(abs(x^2 + x + 1))

Everything is fine in the above computation except the word "real_part". Anyway to get rid of that?

2011-02-28 13:45:13 +0100 asked a question x/x = 1 at x=0?

How can I find that x/x is undefined at x=0?

Or any way when I write x/x, it returns x/x instead of 1?

2011-02-17 18:24:38 +0100 asked a question maxima is eating up all the memory

I am running a sage script that uses maxima_methods().exponentialize(). I have a time out wrapper that kills the sage after a specific amount of time say 20 secs. Normamly when I kill sage, the associated process including maxima are killed. But, in a case, it kills the sage but not the associated maxima process. And the maxima process is eating up all the memory. Any way to kill that associated maxima process when I kill the sage script. Shoud I need to change/tweak anything in the file sage/interfaces/maxima.py

2011-02-14 02:42:34 +0100 received badge  Nice Question (source)
2011-02-13 00:27:52 +0100 received badge  Good Question (source)
2011-02-12 00:26:01 +0100 received badge  Nice Question (source)
2011-02-11 14:16:51 +0100 asked a question arctan(tan(pi/2)) =pi/2 ?

Sage evaluates tan(pi/2) to unsigned infinity which is true, but I want the above expression to work. Any way?

When I apply arctan(tan(pi/2)) it gives error. Shouldn't it return pi/2.

2011-02-11 14:07:53 +0100 received badge  Nice Question (source)