testdrive

836 days ago by Simireor

sqrt(2) 
       
sqrt(2)
sqrt(2)
%^2 
       
Syntax Error:
    %^2
Syntax Error:
    %^2
sqrt(2)^2 
       
2
2
sqrt(2) 
       
sqrt(2)
sqrt(2)
%^2 
       
Syntax Error:
    %^2
Syntax Error:
    %^2
stnc = 'I am a cool multiedge graph with loops' 
       
g = DiGraph({}, loops=True, multiedges=True) 
       
sh: kpsewhich: not found
sh: kpsewhich: not found
sh: kpsewhich: not found
sh: kpsewhich: not found
10%3 
       
1
1
15%3 
       
0
0
%? 
       
Syntax Error:
    %?
Syntax Error:
    %?
a+(-1)a==1a+(-1)a 
       
line 3
    a+(-_sage_const_1 )a==1a+(-_sage_const_1 )a
                       ^
SyntaxError: invalid syntax
line 3
    a+(-_sage_const_1 )a==1a+(-_sage_const_1 )a
                       ^
SyntaxError: invalid syntax
35//6 
       
5
5
150//4,8 
       
(37, 8)
(37, 8)
150//48 
       
3
3
x,y=var('x,y') 
       
plot(y=x^2-3) 
       
Traceback (click to the left of this block for traceback)
...
TypeError: plot() takes at least 1 non-keyword argument (0 given)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_15.py", line 5, in <module>
    plot(y=x**_sage_const_2 -_sage_const_3 )
  File "", line 1, in <module>
    
  File "/home/sage/sage_install/sage-alpha/local/lib/python2.6/site-packages/sage/plot/misc.py", line 243, in wrapper
    return func(*args, **kwds)
  File "/home/sage/sage_install/sage-alpha/local/lib/python2.6/site-packages/sage/plot/misc.py", line 138, in wrapper
    return func(*args, **options)
TypeError: plot() takes at least 1 non-keyword argument (0 given)
solve([x+y==39, y-x==7],x,y) 
       
[[x == 16, y == 23]]
[[x == 16, y == 23]]
circle((5,6),3,rgbcolor=(4,5,2)) 
       
circle((0,0), 1, rgbcolor=(1,1,0)) 
       
circle((0,3), 0.6, rgbcolor=(1,2,0)) 
       
plot3d(x^2 + y^2, (x,-2,2), (y,-2,2)) 
       
f(x, y, z) = 4*x^2 * (x^2 + y^2 + z^2 + z) + y^2 * (y^2 + z^2 - 1) 
       
implicit_plot3d(f, (x, -0.5, 0.5), (y, -1, 1), (z, -1, 1)) 
       
#Hab einen kleinen Blick ins Tutorial geworfen 
       
#;-)