test

805 days ago by lpapad

plot(1/(x-3), x, -100, 100, randomize=False, plot_points=10001) \ .show(xmin=-10, xmax=10, ymin=-10, ymax=10) 
       
plot(1/(x-3),x,-100,100,randomize=False,plot_points=10001).show(xmin=-10\
,xmax=10,ymin=-10,ymax=10)
plot(1/(x-3),x,-100,100,randomize=False,plot_points=10001).show(xmin=-10,xmax=10,ymin=-10,ymax=10)
plot((2*x^4 + x^2 + 2)/(x^4 + 1), x, -4, 4).show(xmin=-3, xmax=3, ymin=-1, ymax=2.5) 
       
plot(1/(x-3), x, -100, 100, randomize=False, plot_points=10001) \ .show(xmin=-10, xmax=10, ymin=-10, ymax=10) 
       
Traceback (click to the left of this block for traceback)
...
SyntaxError: unexpected character after line continuation character
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_10.py", line 9, in <module>
    open("___code___.py","w").write("# -*- coding: utf-8 -*-\n" + _support_.preparse_worksheet_cell(base64.b64decode("cGxvdCgxLyh4LTMpLCB4LCAtMTAwLCAxMDAsIHJhbmRvbWl6ZT1GYWxzZSwgcGxvdF9wb2ludHM9MTAwMDEpIFwKICAgIC5zaG93KHhtaW49LTEwLCB4bWF4PTEwLCB5bWluPS0xMCwgeW1heD0xMCk="),globals())+"\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmp8HcPWn/___code___.py", line 3, in <module>
    plot(_sage_const_1 /(x-_sage_const_3 ), x, -_sage_const_100 , _sage_const_100 , randomize=False, plot_points=_sage_const_10001 ) \\u000a    .show(xmin=-_sage_const_10 , xmax=_sage_const_10 , ymin=-_sage_const_10 , ymax=_sage_const_10 )
  File "", line 1
    plot(_sage_const_1 /(x-_sage_const_3 ), x, -_sage_const_100 , _sage_const_100 , randomize=False, plot_points=_sage_const_10001 ) \\u000a    .show(xmin=-_sage_const_10 , xmax=_sage_const_10 , ymin=-_sage_const_10 , ymax=_sage_const_10 )
                                                                                                                                                                                                                                              ^
SyntaxError: unexpected character after line continuation character
plot(1/(x-3), x, -100, 100, randomize=False, plot_points=10001) show(xmin=-10, xmax=10, ymin=-10, ymax=10) 
       
Traceback (click to the left of this block for traceback)
...
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "_sage_input_12.py", line 9, in <module>
    open("___code___.py","w").write("# -*- coding: utf-8 -*-\n" + _support_.preparse_worksheet_cell(base64.b64decode("cGxvdCgxLyh4LTMpLCB4LCAtMTAwLCAxMDAsIHJhbmRvbWl6ZT1GYWxzZSwgcGxvdF9wb2ludHM9MTAwMDEpIHNob3coeG1pbj0tMTAsIHhtYXg9MTAsIHltaW49LTEwLCB5bWF4PTEwKQ=="),globals())+"\n"); execfile(os.path.abspath("___code___.py"))
  File "", line 1, in <module>
    
  File "/tmp/tmpazeLl7/___code___.py", line 3
    plot(_sage_const_1 /(x-_sage_const_3 ), x, -_sage_const_100 , _sage_const_100 , randomize=False, plot_points=_sage_const_10001 ) show(xmin=-_sage_const_10 , xmax=_sage_const_10 , ymin=-_sage_const_10 , ymax=_sage_const_10 )
                                                                                                                                        ^
SyntaxError: invalid syntax
p1 = plot(-x^2+6, x, 0, 2) p2 = plot(x-1, x, 2, 4) pt1 = point((0, 6), rgbcolor='black', pointsize=30) pt2 = point((2, 2), rgbcolor='white', pointsize=30, faceted=True) pt3 = point((2, 1), rgbcolor='black', pointsize=30) pt4 = point((4, 3), rgbcolor='black', pointsize=30) (p1+p2+pt1+pt2+pt3+pt4).show(xmin=0, xmax=4, ymin=0, ymax=6)