2020-04-26 22:11:22 +0100 | received badge | ● Famous Question (source) |
2019-12-15 14:59:50 +0100 | received badge | ● Notable Question (source) |
2019-05-30 17:55:22 +0100 | received badge | ● Popular Question (source) |
2018-10-27 02:41:40 +0100 | asked a question | Need help with plotting Trying to plot a line that has one point at (0,0) and the second point at (x(t),y(t)). I am trying to get it to range from t = 0 to 2*pi however, I am not sure how to do it with the line command. I am getting the following error but that is because t has no value defined (TypeError: unable to simplify to float approximation). Appreciate any help! t = var('t') x(t) = cos(t) + cos(2t) y(t) = sin(t) + sin(3*t) line([(0,0),(x(t),y(t))] |
2018-09-30 20:29:01 +0100 | commented question | Show correct output of polynomial I tried using the QQ command received the following: R.<x> = QQ[] s = (x^2 + 2x + 1) + 1/(x^2 + 2x + 1) print s output- (x^4 + 4x^3 + 6x^2 + 4x + 2)/(x^2 + 2x + 1) Do you know why the polynomial is expanding? |
2018-09-29 21:15:10 +0100 | asked a question | Show correct output of polynomial Hi, I am new to sage and I am trying to construct a polynomial to try to transform it. However, when writing it I am getting an incorrect output. x=var("x") s = (x^2+2x+1) + 1/(x^2+2x+1) s.show() And this is the output I am getting - x^2+2x + 1/x^2+2x+1 +1 (I am unsure why the 1 is carrying over all the way to right side) I am looking to obtain the following output to begin transforming it - x^2+2x+1 + 1/x^2+2x+1 Appreciate any help! |
2018-09-09 11:43:18 +0100 | received badge | ● Student (source) |
2018-09-09 00:15:16 +0100 | received badge | ● Editor (source) |
2018-09-08 12:14:14 +0100 | asked a question | Is there a sage command to compute complex numbers? I trying to have sage compute the sqrt(1/z) and 1/sqrt(z) of the complex expression z = 1+ I. Is there a sage command that will execute this? |