Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News Sign UpSign In
| Download
Views: 13
sage: R.<x> = QQ[] # Aclaramos que vamos a poner polinomios en las siguientes líneas f = -2*x - 1 # Declaramos funcion f g = 4*x + 1 # Declaramos funcion g sage: t = walltime() f/g sage: walltime(t) # Recogemos el tiempo que tarda la division de polinomios sage: t2 = walltime() 230/34 sage: walltime(t2) # Observamos que tarda mas la division de polinomios que la division normal gracias al comando walltime
(-2*x - 1)/(4*x + 1) 0.0007519721984863281 115/17 0.00043201446533203125