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.01 s
for n in [100, 200, .., 800]: %time print n,len(str(random_matrix(ZZ,n).det()))
100 203 CPU time: 0.02 s, Wall time: 0.12 s 200 459 CPU time: 0.06 s, Wall time: 0.06 s 300 750 CPU time: 0.18 s, Wall time: 0.18 s 400 1058 CPU time: 0.42 s, Wall time: 0.57 s 500 1358 CPU time: 0.86 s, Wall time: 0.88 s 600 1678 CPU time: 1.59 s, Wall time: 1.61 s 700 1992 CPU time: 2.47 s, Wall time: 2.51 s 800 2337 CPU time: 4.20 s, Wall time: 4.69 s
%time D = ModularSymbols(389).decomposition()
CPU time: 3.44 s, Wall time: 5.14 s
%time len(str(factorial(1234567)))
6984221 CPU time: 2.09 s, Wall time: 2.21 s
%time k = factorial(1234567) * factorial(7654321)
CPU time: 3.41 s, Wall time: 3.97 s