Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

Notes on ChromeOS + CoCalc

Views: 2040
%time 2+3
5 CPU time: 0.00 s, Wall time: 0.00 s
for n in [100, 200, .., 800]: %time print n,len(str(random_matrix(ZZ,n).det()))
100 206 CPU time: 0.02 s, Wall time: 0.02 s 200 467 CPU time: 0.07 s, Wall time: 0.07 s 300 747 CPU time: 0.26 s, Wall time: 0.26 s 400 1045 CPU time: 0.73 s, Wall time: 0.73 s 500 1368 CPU time: 1.44 s, Wall time: 1.44 s 600 1663 CPU time: 2.78 s, Wall time: 2.78 s 700 2017 CPU time: 4.08 s, Wall time: 4.08 s 800 2347 CPU time: 6.35 s, Wall time: 6.35 s
%time D = ModularSymbols(389).decomposition()
CPU time: 5.45 s, Wall time: 5.45 s
%time len(str(factorial(1234567)))
6984221 CPU time: 8.81 s, Wall time: 8.81 s
%time k = factorial(1234567) * factorial(7654321)
CPU time: 12.60 s, Wall time: 12.60 s