Ask Your Question

randomuser's profile - activity

2015-10-20 16:37:41 +0200 received badge  Famous Question (source)
2015-02-26 13:15:11 +0200 received badge  Notable Question (source)
2014-06-29 21:26:48 +0200 received badge  Popular Question (source)
2014-06-29 21:26:48 +0200 received badge  Notable Question (source)
2014-06-29 21:26:48 +0200 received badge  Famous Question (source)
2014-04-10 06:32:02 +0200 received badge  Popular Question (source)
2013-01-28 07:55:37 +0200 received badge  Student (source)
2013-01-25 09:10:41 +0200 asked a question Combining intervals

Hi, is it possible to do the following and get a result?:

$(\overline{(-4,1)}\cup[0,\infty)) \backslash ((-\infty,4)\cap[-1,3])$

Plotting would also be nice.

2013-01-02 08:31:36 +0200 received badge  Scholar (source)
2013-01-02 08:31:36 +0200 marked best answer Longer fraction to decimal number

The problem is that for Sage (-1)^(1/3) is complex (and you have negative numbers in parentheses)

CC((-1)^(1/3))
0.500000000000000 + 0.866025403784439*I

If you need the real solution you can use (-abs(a))^(1/3)=-(abs(a))^(1/3), a-real

y=-abs(2/9*sqrt(3)*sqrt(1355) - 611/27)^(1/3) -61/9/abs(2/9*sqrt(3)*sqrt(1355) - 611/27)^(1/3) - 8/3
RR(y)
-8.03053921870339

If your equation is polynomial and you need the real roots you can also use roots()

reset()
(x^3+8*x^2+x+10).roots(multiplicities=false,ring=RR)
[-8.03053921870339]
2013-01-02 08:31:30 +0200 commented answer Longer fraction to decimal number

ok, thanks

2013-01-02 08:30:42 +0200 received badge  Supporter (source)
2013-01-02 08:30:34 +0200 commented answer Longer fraction to decimal number

yes, i know

2013-01-01 07:44:56 +0200 commented answer Longer fraction to decimal number

Wired, it prints 0.0152696093516960 - 1.11580160984665*I but the GNOME's "gcalctool" default calculator gives -8.030539219. Also from the plot in geogebra I know that it's -8.03.

2013-01-01 06:08:55 +0200 asked a question Longer fraction to decimal number

After solve( x^3+8*x^2+x+10 , x ) I get

x = (2/9*sqrt(3)*sqrt(1355) - 611/27)^(1/3) + 61/9/(2/9*sqrt(3)*sqrt(1355) - 611/27)^(1/3) - 8/3

Now how to show this as decimal? float(x) and R = RealField(50); R(x) doesn't seem to work.

2012-12-31 10:37:14 +0200 received badge  Editor (source)
2012-12-31 10:34:40 +0200 asked a question solve(abs(x+3) - abs(2-3*x) < 2)

Is it possible to solve something like this? (tried by gives me error): solve(abs(x+3) - abs(2-3*x) < 2)