示例#1
0
 def test(self):
     from sage.all_cmdline import Integer, var, sin, cos, taylor
     for i in xrange(self.rounds):
         _sage_const_0 = Integer(0)
         _sage_const_1000 = Integer(350)
         x=var('x')
         w = (sin(x)*cos(x)).taylor(x,_sage_const_0 ,_sage_const_1000 ) 
示例#2
0
 def test(self):
     from sage.all_cmdline import Integer, expand, sin, cos, var
     for i in xrange(self.rounds):
         _sage_const_100 = Integer(200)
         x,y,z=var('x,y,z')
         a = expand((x**sin(x) + y**cos(y) - z**(x+y))**_sage_const_100 );