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 )
def test(self): from sage.all_cmdline import Integer, sin for _ in xrange(self.rounds): _sage_const_100 = Integer(1400) sum(((x+sin(i))/x+(x-sin(i))/x) for i in xrange(_sage_const_100 ))
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 );
def test(self): from sage.all_cmdline import Integer, sin for _ in xrange(self.rounds): _sage_const_100 = Integer(1400) sum(((x + sin(i)) / x + (x - sin(i)) / x) for i in xrange(_sage_const_100))