Hello sympy group,
I am working on a course about python programming and I stumbled across a noticable difference between the results in the course and in the results I get on my screen.
There have been a few differences between the course and the actual programming I have done due to version updates and changes in python. Presumably nothing special.
But now I see a difference in output that bothers me because the values resulting from the expressions are different between the tutorial examples in the training video and the results I get myself.
According to my limited knowlegde about mathematics the results I get are wrong because the plus and minus signs are left out and there is a minus in the first resulting expression that should be a plus sign if you'd ask me.
I added screenshots of the results on my screen and in the video tutorial and also the actual jupyter python notebook file I made as attachements to this email so you can see for yourself.
I have installed jupyter as part of anaconda navigator 2.7.1 last week and I assume the sympy library I'm using is the one supplied with the anaconda jupyter installation. I've never worked with jupyter before until now.
I think that result from computation in the tutorial:
+(1/2)+(sqrt(7)/2) and -(1/2)+(sqrt(7)/2)
is pretty different from result from computation on my system
(1/2)-(sqrt(7)/2) and (1/2)+(sqrt(7)/2)
Notice the plus and minus signs before both answers in the tuturial's outcome and the plus and minus in the results of the functions being solved in my case using pympy.solve(equation)
Due to the fact that the square root of a number or a polynomial can be either positive or negative I think the first answer is the right one and the second one is wrong.
Maybe someone who's more experienced can see what is going on here and tell me if I'm right or wrong and in the latter case what I didn't understand or do right.
With kind regards, Ronnie van Aarle.