home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / progs / pari / pari_137 / testout < prev    next >
Text File  |  1992-05-20  |  44KB  |  1,466 lines

  1.              GP/PARI CALCULATOR Version 1.37
  2.                      (Sparc version)
  3.  
  4. Copyright 1989,1992 by C. Batut, D. Bernardi, H. Cohen and M. Olivier
  5.  
  6. Type \d, \c, \t, or ?command for help, \q to exit, # for timing
  7.  
  8. \precision      = 28
  9. \serieslength   = 16
  10. \format         = g0.28
  11. \prompt         = ? 
  12. stacksize = 4000000, prime limit = 500000, buffersize = 30000
  13. ? ? \precision=40
  14.    precision = 40 significant digits
  15. ? pi
  16. %1 = 3.141592653589793238462643383279502884197
  17. ? \precision=20
  18.    precision = 20 significant digits
  19. ? o(x^12)
  20. %2 = O(x^12)
  21. ? 5/3+o(127^5)
  22. %3 = 44 + 42*127 + 42*127^2  + 42*127^3  + 42*127^4  + O(127^5)
  23. ? initrect(0,500,500)
  24. ? \\ A
  25. ? abs(-0.01)
  26. %4 = 0.010000000000000000000
  27. ? acos(0.5)
  28. %5 = 1.0471975511965977461
  29. ? acosh(3)
  30. %6 = 1.7627471740390860504
  31. ? acurve=initell([0, 0, 1, -1, 0])
  32. %7 = [0, 0, 1, -1, 0, 0, -2, 1, -1, 48, -216, 37, 110592/37, [0.83756543528332303544, 0.26959443640544455826, -1.1071598716887675937]~, 2.9934586462319596298, 2.4513893819867900608*i, -0.47131927795681147588, -1.4354565186686843187*i, 7.3381327407895767390]
  33. ? apoint=[2, 2]
  34. %8 = [2, 2]
  35. ? isoncurve(acurve, apoint)
  36. %9 = 1
  37. ? addell(acurve, apoint, apoint)
  38. %10 = [21/25, -56/125]
  39. ? adj([1, 2; 3, 4])
  40. %11 = 
  41. |-4 2 |
  42.  
  43. |3 -1 |
  44.  
  45.  
  46. ? agm(1, 2)
  47. %12 = 1.4567910310469068691
  48. ? agm(1 + o(7^5), 8 + o(7^5))
  49. %13 = 1 + 4*7 + 6*7^2  + 5*7^3  + 2*7^4  + O(7^5)
  50. ? algdep(2 * cos(2 * pi / 13), 6)
  51. %14 = x^6 + x^5 - 5*x^4 - 4*x^3 + 6*x^2 + 3*x - 1
  52. ? akell(acurve,1000000007)
  53. %15 = 43800
  54. ? anell(acurve, 100)
  55. %16 = [1, -2, -3, 2, -2, 6, -1, 0, 6, 4, -5, -6, -2, 2, 6, -4, 0, -12, 0, -4, 3, 10, 2, 0, -1, 4, -9, -2, 6, -12, -4, 8, 15, 0, 2, 12, -1, 0, 6, 0, -9, -6, 2, -10, -12, -4, -9, 12, -6, 2, 0, -4, 1, 18, 10, 0, 0, -12, 8, 12, -8, 8, -6, -8, 4, -30, 8, 0, -6, -4, 9, 0, -1, 2, 3, 0, 5, -12, 4, 8, 9, 18, -15, 6, 0, -4, -18, 0, 4, 24, 2, 4, 12, 18, 0, -24, 4, 12, -30, -2]
  56. ? apell(acurve,10007)
  57. %17 = 66
  58. ? apell2(acurve,10007)
  59. %18 = 66
  60. ? apol=x^3+5*x+1
  61. %19 = x^3 + 5*x + 1
  62. ? apprpadic(apol,1+O(7^8))
  63. %20 = [1 + 6*7 + 4*7^2  + 4*7^3  + 3*7^4  + 4*7^5  + 6*7^7  + O(7^8)]
  64. ? apprpadic(x^3+5*x+1,mod(x*(1+O(7^8)),x^2+x-1))
  65. %21 = [mod((1 + 3*7 + 3*7^2  + 4*7^3  + 4*7^4  + 4*7^5  + 2*7^6  + 3*7^7  + O(7^8))*x + (2*7 + 6*7^2  + 6*7^3  + 3*7^4  + 3*7^5  + 4*7^6  + 5*7^7  + O(7^8)), x^2 + x - 1)]~
  66. ? 4 * arg(3+3*i)
  67. %22 = 3.1415926535897932384
  68. ? 3 * asin(sqrt(3)/2)
  69. %23 = 3.1415926535897932384
  70. ? asinh(0.5)
  71. %24 = 0.48121182505960344749
  72. ? assmat(x^5-12*x^3+0.0005)
  73. %25 = 
  74. |0 0 0 0 -0.00050000000000000000000 |
  75.  
  76. |1 0 0 0 0 |
  77.  
  78. |0 1 0 0 0 |
  79.  
  80. |0 0 1 0 12 |
  81.  
  82. |0 0 0 1 0 |
  83.  
  84.  
  85. ? 3 * atan(sqrt(3))
  86. %26 = 3.1415926535897932384
  87. ? atanh(0.5)
  88. %27 = 0.54930614433405484569
  89. ? \\ B
  90. ? base(x^3+4*x+5)
  91. %28 = [1, x, 1/7*x^2 - 1/7*x - 2/7]
  92. ? bernreal(12)
  93. %29 = -0.25311355311355311355
  94. ? bernvec(6)
  95. %30 = [1, 1/6, -1/30, 1/42, -1/30, 5/66, -691/2730]
  96. ? bezout(123456789,987654321)
  97. %31 = [-8, 1, 9]
  98. ? bigomega(12345678987654321)
  99. %32 = 8
  100. ? bin(1.1,5)
  101. %33 = -0.0045457500000000000000
  102. ? binary(65537)
  103. %34 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
  104. ? bittest(10^100,100)
  105. %35 = 1
  106. ? boundcf(pi,5)
  107. %36 = [3, 7, 15, 1, 292]
  108. ? boundfact(40!+1,100000)
  109. %37 = 
  110. |41 1 |
  111.  
  112. |59 1 |
  113.  
  114. |277 1 |
  115.  
  116. |1217669507565553887239873369513188900554127 1 |
  117.  
  118.  
  119. ? box(0,0,0,500,500)
  120. ? \\buchimag(1-10^15,0.8,20)
  121. ? \\buchreal(10^15-3,0,0.8,20)
  122. ? \\ C
  123. ? ceil(-2.5)
  124. %38 = -2
  125. ? centerlift(mod(456,555))
  126. %39 = -99
  127. ? cf(pi)
  128. %40 = [3, 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, 1, 1, 2, 2, 2, 2, 1, 84, 2, 1, 1, 15]
  129. ? cf2([1,3,5,7,9],(exp(1)-1)/(exp(1)+1))
  130. %41 = [0, 6, 10, 42, 30]
  131. ? changevar(x + y, [z, t])
  132. %42 = y + z
  133. ? char([1, 2; 3, 4], z)
  134. %43 = x^2 - 5*x - 2
  135. ? char(mod(x^2+x+1,x^3+5*x+1),z)
  136. %44 = z^3 + 7*z^2 + 16*z - 19
  137. ? char1([1, 2; 3, 4], z)
  138. %45 = z^2 - 5*z - 2
  139. ? char2(mod(1,8191)*[1, 2; 3, 4], z)
  140. %46 = z^2 + mod(8186, 8191)*z + mod(8189, 8191)
  141. ? acurve = chell(acurve, [-1, 1, 2, 3])
  142. %47 = [-4, -1, -7, -12, -12, 12, 4, 1, -1, 48, -216, 37, 110592/37, [-0.16243456471667696455, -0.73040556359455544173, -2.1071598716887675937]~, -2.9934586462319596298, -2.4513893819867900608*i, 0.47131927795681147588, 1.4354565186686843187*i, 7.3381327407895767390]
  143. ? chinese(mod(7, 15), mod(13, 21))
  144. %48 = mod(97, 105)
  145. ? apoint = chptell(apoint, [-1, 1, 2, 3])
  146. %49 = [1, 3]
  147. ? isoncurve(acurve, apoint)
  148. %50 = 1
  149. ? classno(-12391)
  150. %51 = 63
  151. ? classno(1345)
  152. %52 = 6
  153. ? classno2(-12391)
  154. %53 = 63
  155. ? classno2(1345)
  156. %54 = 6
  157. ? coeff(sin(x),7)
  158. %55 = -1/5040
  159. ? compo(1+o(7^4), 3)
  160. %56 = 1
  161. ? compose(qfi(2, 1, 3), qfi(2, 1, 3))
  162. %57 = qfi(2, -1, 3)
  163. ? comprealraw(qfr(5,3,-1,0.),qfr(7,1,-1,0.))
  164. %58 = qfr(35, 43, 13,  0.E-28)
  165. ? concat([1, 2], [3, 4])
  166. %59 = [1, 2, 3, 4]
  167. ? conj(1+i)
  168. %60 = 1 - i
  169. ? %_
  170. %61 = 1 + i
  171. ? content([123, 456, 789, 234])
  172. %62 = 3
  173. ? convol(sin(x), x * cos(x))
  174. %63 = x + 1/12*x^3 + 1/2880*x^5 + 1/3628800*x^7 + 1/14631321600*x^9 + 1/144850083840000*x^11 + 1/2982752926433280000*x^13 + 1/114000816848279961600000*x^15 + O(x^16)
  175. ? cos(1)
  176. %64 = 0.54030230586813971740
  177. ? cosh(1)
  178. %65 = 1.5430806348152437784
  179. ? move(0,200,150)
  180. ? cursor(0)
  181. %66 = [200, 150]
  182. ? cvtoi(1.7)
  183. %67 = 1
  184. ? cyclo(105)
  185. %68 = x^48 + x^47 + x^46 - x^43 - x^42 - 2*x^41 - x^40 - x^39 + x^36 + x^35 + x^34 + x^33 + x^32 + x^31 - x^28 - x^26 - x^24 - x^22 - x^20 + x^17 + x^16 + x^15 + x^14 + x^13 + x^12 - x^9 - x^8 - 2*x^7 - x^6 - x^5 + x^2 + x + 1
  186. ? \\ D
  187. ? denom(12345/54321)
  188. %69 = 18107
  189. ? deriv((x + y)^5, y)
  190. %70 = 5*x^4 + 20*y*x^3 + 30*y^2*x^2 + 20*y^3*x + 5*y^4
  191. ? ((x+y)^5)'
  192. %71 = 5*x^4 + 20*y*x^3 + 30*y^2*x^2 + 20*y^3*x + 5*y^4
  193. ? det([1, 2, 3; 1, 5, 6; 9, 8, 7])
  194. %72 = -30
  195. ? det2([1, 2, 3; 1, 5, 6; 9, 8, 7])
  196. %73 = -30
  197. ? detr([1, 2, 3; 1, 5, 6; 9, 8, 7])
  198. %74 = -30
  199. ? dilog(0.5)
  200. %75 = 0.58224052646501250590
  201. ? disc(x^3+4*x+5)
  202. %76 = -931
  203. ? discf(x^3+4*x+5)
  204. %77 = -19
  205. ? divisors(8!)
  206. %78 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 28, 30, 32, 35, 36, 40, 42, 45, 48, 56, 60, 63, 64, 70, 72, 80, 84, 90, 96, 105, 112, 120, 126, 128, 140, 144, 160, 168, 180, 192, 210, 224, 240, 252, 280, 288, 315, 320, 336, 360, 384, 420, 448, 480, 504, 560, 576, 630, 640, 672, 720, 840, 896, 960, 1008, 1120, 1152, 1260, 1344, 1440, 1680, 1920, 2016, 2240, 2520, 2688, 2880, 3360, 4032, 4480, 5040, 5760, 6720, 8064, 10080, 13440, 20160, 40320]
  207. ? divres(345, 123)
  208. %79 = [2, 99]~
  209. ? divres(x^7 - 1, x^5 + 1)
  210. %80 = [x^2, -x^2 - 1]~
  211. ? divsum(8!,x,x)
  212. %81 = 159120
  213. ? \\ draw([0,0,0])
  214. ? postdraw([0,0,0])
  215. ? \\ E
  216. ? eigen([1, 2, 3; 4, 5, 6; 7, 8, 9])
  217. %82 = 
  218. |-1.2833494518006402718 +  0.E-29*i 1 0.28334945180064027179 +  0.E-30*i |
  219.  
  220. |-0.14167472590032013589 +  0.E-29*i -2 0.64167472590032013589 +  0.E-29*i |
  221.  
  222. |1 1 1 |
  223.  
  224.  
  225. ? eint1(2)
  226. %83 = 0.048900510708061119567
  227. ? erfc(2)
  228. %84 = 0.0046777349810472658379
  229. ? eta(q)
  230. %85 = 1 - q - q^2 + q^5 + q^7 - q^12 - q^15 + O(q^16)
  231. ? euler
  232. %86 = 0.57721566490153286060
  233. ? z = y; y = x; eval(z)
  234. %87 = x
  235. ? exp(1)
  236. %88 = 2.7182818284590452353
  237. ? extract([1,2,3,4,5,6,7,8,9,10], 1000)
  238. %89 = [4, 6, 7, 8, 9, 10]
  239. ? \\ F
  240. ? 10!
  241. %90 = 3628800
  242. ? fact(10)
  243. %91 = 3628800.0000000000000
  244. ? lift(lift(factfq(x^3+x^2+x-1,3,t^3+t^2+t-1)))
  245. %92 = 
  246. |x + (2*t^2 + 2) 1 |
  247.  
  248. |x + (t^2 + t + 2) 1 |
  249.  
  250. |x + 2*t 1 |
  251.  
  252.  
  253. ? factmod(x^11+1, 7)
  254. %93 = 
  255. |mod(1, 7)*x + mod(1, 7) 1 |
  256.  
  257. |mod(1, 7)*x^10 + mod(6, 7)*x^9 + mod(1, 7)*x^8 + mod(6, 7)*x^7 + mod(1, 7)*x^6 + mod(6, 7)*x^5 + mod(1, 7)*x^4 + mod(6, 7)*x^3 + mod(1, 7)*x^2 + mod(6, 7)*x + mod(1, 7) 1 |
  258.  
  259.  
  260. ? factor(17!+1)
  261. %94 = 
  262. |661 1 |
  263.  
  264. |537913 1 |
  265.  
  266. |1000357 1 |
  267.  
  268.  
  269. ? p=x^5+3021*x^4-786303*x^3-6826636057*x^2-546603588746*x+3853890514072057
  270. %95 = x^5 + 3021*x^4 - 786303*x^3 - 6826636057*x^2 - 546603588746*x + 3853890514072057
  271. ? fa=[11699, 6; 2392997, 2; 4987333019653, 2]
  272. %96 = 
  273. |11699 6 |
  274.  
  275. |2392997 2 |
  276.  
  277. |4987333019653 2 |
  278.  
  279.  
  280. ? factoredbase(p,fa)
  281. %97 = [1, x, x^2, 1/11699*x^3 + 1847/11699*x^2 - 132/11699*x - 2641/11699, 1/139623738889203638909659*x^4 - 1552451622081122020/139623738889203638909659*x^3 + 418509858130821123141/139623738889203638909659*x^2 - 68109137985075994073134/139623738889203638909659*x - 13185339461968406/58346808996920447]
  282. ? factoreddiscf(p,fa)
  283. %98 = 136866601
  284. ? \precision=40
  285.    precision = 40 significant digits
  286. ? factoredpolred(p,fa)
  287. %99 = [x - 1, x^5 - 2*x^4 - 13*x^3 + 37*x^2 - 21*x - 1, x^5 - x^4 - 52*x^3 - 197*x^2 - 273*x - 127, x^5 - 2*x^4 - 53*x^3 - 46*x^2 + 508*x + 913, x^5 - 2*x^4 - 62*x^3 + 85*x^2 + 818*x + 1]~
  288. ? factoredpolred2(p,fa)
  289. %100 = 
  290. |1 x - 1 |
  291.  
  292. |404377049971/139623738889203638909659*x^4 + 1028343729806593/139623738889203638909659*x^3 - 220760129739668913/139623738889203638909659*x^2 - 1391924543479498840309/139623738889203638909659*x - 21580477171925514/58346808996920447 x^5 - 2*x^4 - 13*x^3 + 37*x^2 - 21*x - 1 |
  293.  
  294. |160329790087/139623738889203638909659*x^4 + 1043812506369034/139623738889203638909659*x^3 + 1517006779298914407/139623738889203638909659*x^2 - 522348888528537141362/139623738889203638909659*x - 677624890046649103/58346808996920447 x^5 - x^4 - 52*x^3 - 197*x^2 - 273*x - 127 |
  295.  
  296. |-649489679500/139623738889203638909659*x^4 - 1004850936416946/139623738889203638909659*x^3 + 1850137668999773331/139623738889203638909659*x^2 + 1162464435118744503168/139623738889203638909659*x - 744221404070129897/58346808996920447 x^5 - 2*x^4 - 53*x^3 - 46*x^2 + 508*x + 913 |
  297.  
  298. |320031469790/139623738889203638909659*x^4 + 525154323698149/139623738889203638909659*x^3 + 68805502220272624/139623738889203638909659*x^2 + 116261976244907072724/139623738889203638909659*x - 265513916545157609/58346808996920447 x^5 - 2*x^4 - 62*x^3 + 85*x^2 + 818*x + 1 |
  299.  
  300.  
  301. ? \precision=20
  302.    precision = 20 significant digits
  303. ? lift(factornf(y^3+y^2-2*y-1,x^3+x^2-2*x-1))
  304. %101 = 
  305. |x - x 1 |
  306.  
  307. |x + (-x^2 + 2) 1 |
  308.  
  309. |x + (x^2 + x - 1) 1 |
  310.  
  311.  
  312. ? factorpadic(apol,7,8)
  313. %102 = 
  314. |x + (6 + 2*7^2  + 2*7^3  + 3*7^4  + 2*7^5  + 6*7^6  + O(7^8)) 1 |
  315.  
  316. |(1 + O(7^8))*x^2 + (1 + 6*7 + 4*7^2  + 4*7^3  + 3*7^4  + 4*7^5  + 6*7^7  + O(7^8))*x + (6 + 5*7 + 3*7^2  + 6*7^3  + 7^4  + 3*7^5  + 2*7^6  + 5*7^7  + O(7^8)) 1 |
  317.  
  318.  
  319. ? factpol(x^15-1, 3)
  320. %103 = 
  321. |x^2 + x + 1 1 |
  322.  
  323. |x - 1 1 |
  324.  
  325. |x^12 + x^9 + x^6 + x^3 + 1 1 |
  326.  
  327.  
  328. ? factpol(x^15-1, 0)
  329. %104 = 
  330. |x^4 + x^3 + x^2 + x + 1 1 |
  331.  
  332. |x^2 + x + 1 1 |
  333.  
  334. |x - 1 1 |
  335.  
  336. |x^8 - x^7 + x^5 - x^4 + x^3 - x + 1 1 |
  337.  
  338.  
  339. ? factpol2(x^15-1, 0)
  340. %105 = 
  341. |x - 1 1 |
  342.  
  343. |x^2 + x + 1 1 |
  344.  
  345. |x^4 + x^3 + x^2 + x + 1 1 |
  346.  
  347. |x^8 - x^7 + x^5 - x^4 + x^3 - x + 1 1 |
  348.  
  349.  
  350. ? fibo(100)
  351. %106 = 354224848179261915075
  352. ? floor(-1/2)
  353. %107 = -1
  354. ? floor(-2.5)
  355. %108 = -3
  356. ? for(x=1,5,print(x!))
  357. 1
  358. 2
  359. 6
  360. 24
  361. 120
  362. ? fordiv(10,x,print(x))
  363. 1
  364. 2
  365. 5
  366. 10
  367. ? forprime(p=1,30,print(p))
  368. 2
  369. 3
  370. 5
  371. 7
  372. 11
  373. 13
  374. 17
  375. 19
  376. 23
  377. 29
  378. ? forstep(x=0,pi,pi/12,print(sin(x)))
  379.  0.E-28
  380. 0.25881904510252076234
  381. 0.50000000000000000000
  382. 0.70710678118654752440
  383. 0.86602540378443864676
  384. 0.96592582628906828675
  385. 1.0000000000000000000
  386. 0.96592582628906828675
  387. 0.86602540378443864676
  388. 0.70710678118654752440
  389. 0.50000000000000000000
  390. 0.25881904510252076234
  391. 3.0292258760486853327 E-28
  392. ? frac(-2.7)
  393. %109 = 0.30000000000000000000
  394. ? \\ G
  395. ? galois(x^6-3*x^2-1)
  396. %110 = [12, 1, 1]
  397. ? galoisconj(x^6+108)
  398. %111 = [x, -1/12*x^4 + 1/2*x, 1/12*x^4 - 1/2*x, -x, 1/12*x^4 + 1/2*x, -1/12*x^4 - 1/2*x]
  399. ? gamh(10)
  400. %112 = 1133278.3889487855673
  401. ? gamma(10.5)
  402. %113 = 1133278.3889487855673
  403. ? gauss(hilbert(10),[1, 2, 3, 4, 5, 6, 7, 8, 9, 0])
  404. %114 = [9236800, -831303990, 18288515520, -170691240720, 832112321040, -2329894066500, 3883123564320, -3803844432960, 2020775945760, -449057772020]~
  405. ? gcd(12345678, 87654321)
  406. %115 = 9
  407. ? globalred(acurve)
  408. %116 = [37, [1, -1, 2, 2]]
  409. ? k=4;goto(k%2);label(0);print("even");goto(3);label(1);print("odd");label(3);
  410. even
  411. ? \\ H
  412. ? hclassno(2000003)
  413. %117 = 357
  414. ? hell(acurve, apoint)
  415. %118 = 0.40889126591975072188
  416. ? hell2(acurve, apoint)
  417. %119 = 0.40889126591975072188
  418. ? hell3(acurve, apoint)
  419. %120 = 0.40889126591975072188
  420. ? hermite(1/hilbert(7))
  421. %121 = 
  422. |420 0 0 0 210 168 175 |
  423.  
  424. |0 840 0 0 0 0 504 |
  425.  
  426. |0 0 2520 0 0 0 1260 |
  427.  
  428. |0 0 0 2520 0 0 840 |
  429.  
  430. |0 0 0 0 13860 0 6930 |
  431.  
  432. |0 0 0 0 0 5544 0 |
  433.  
  434. |0 0 0 0 0 0 12012 |
  435.  
  436.  
  437. ? hess(hilbert(7))
  438. %122 = 
  439. |1 90281/58800 -1919947/4344340 4858466341/1095033030 -77651417539/8196787326 3386888964/106615355 1/2 |
  440.  
  441. |1/3 43/48 38789/5585580 268214641/109503303 -581330123627/126464718744 4365450643/274153770 1/4 |
  442.  
  443. |0 217/2880 442223/7447440 53953931/292008808 -32242849453/168619624992 1475457901/1827691800 1/80 |
  444.  
  445. |0 0 1604444/264539275 24208141/149362505292 847880210129/47916076768560 -4544407141/103873817300 -29/40920 |
  446.  
  447. |0 0 0 9773092581/35395807550620 -24363634138919/107305824577186620 72118203606917/60481351061158500 55899/3088554700 |
  448.  
  449. |0 0 0 0 67201501179065/8543442888354179988 -9970556426629/740828619992676600 -3229/13661312210 |
  450.  
  451. |0 0 0 0 0 -258198800769/9279048099409000 -13183/38381527800 |
  452.  
  453.  
  454. ? hilb(2/3, 3/4, 5)
  455. %123 = 1
  456. ? hilbert(5)
  457. %124 = 
  458. |1 1/2 1/3 1/4 1/5 |
  459.  
  460. |1/2 1/3 1/4 1/5 1/6 |
  461.  
  462. |1/3 1/4 1/5 1/6 1/7 |
  463.  
  464. |1/4 1/5 1/6 1/7 1/8 |
  465.  
  466. |1/5 1/6 1/7 1/8 1/9 |
  467.  
  468.  
  469. ? hilbp(mod(5,7),mod(6, 7))
  470. %125 = 1
  471. ? hvector(10,x,1/x)
  472. %126 = [1, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10]
  473. ? hyperu(1,1,1)
  474. %127 = 0.59634736232319407434
  475. ? \\ I
  476. ? i^2
  477. %128 = -1
  478. ? idmat(5)
  479. %129 = 
  480. |1 0 0 0 0 |
  481.  
  482. |0 1 0 0 0 |
  483.  
  484. |0 0 1 0 0 |
  485.  
  486. |0 0 0 1 0 |
  487.  
  488. |0 0 0 0 1 |
  489.  
  490.  
  491. ? if(3 < 2, print("bof"), print("ok"));
  492. ok
  493. ? imag(2+3*i)
  494. %130 = 3
  495. ? image([1,3,5;2,4,6;3,5,7])
  496. %131 = 
  497. |1 3 |
  498.  
  499. |2 4 |
  500.  
  501. |3 5 |
  502.  
  503.  
  504. ? incgam(2,1)
  505. %132 = 0.73575888234288464319
  506. ? incgam1(2,1)
  507. %133 = -0.26424111765711535680
  508. ? incgam2(2,1)
  509. %134 = 0.73575888234288464319
  510. ? incgam3(2,1)
  511. %135 = 0.26424111765711535680
  512. ? incgam4(4,1,6)
  513. %136 = 5.8860710587430771455
  514. ? indexrank([1,1,1;1,1,1;1,1,2])
  515. %137 = [[1, 3], [1, 3]]
  516. ? indsort([8, 7, 6, 5])
  517. %138 = [4, 3, 2, 1]
  518. ? initalg(x^5-5*x^4+8*x^3-4*x^2-1)
  519. %139 = [x^5 - x - 1, [1, 2], 2869, 1, 5.1967707381019243253, [1.1673039782614186842 +  0.E-28*i, -0.76488443360058472603 - 0.35247154603172624931*i, -0.76488443360058472603 + 0.35247154603172624931*i, 0.18123244446987538390 + 1.0839541013177106684*i, 0.18123244446987538390 - 1.0839541013177106684*i]~, [1, x, x^2, x^3, x^4]]
  520. ? initell([0,0,0,-1,0])
  521. %140 = [0, 0, 0, -1, 0, 0, -2, 0, -1, 48, 0, 64, 1728, [1.0000000000000000000,  0.E-28, -1.0000000000000000000]~, 2.6220575542921198104, 2.6220575542921198104*i, -0.59907011736779610372, -1.7972103521033883111*i, 6.8751858180203728275]
  522. ? initell2([0,0,0,0,-1])
  523. %141 = [0, 0, 0, 0, -1, 0, 0, -4, 0, 0, 864, -432, 0, [1.0000000000000000000, -0.50000000000000000000 + 0.86602540378443864676*i, -0.50000000000000000000 - 0.86602540378443864676*i]~, 2.4286506478875816118, 1.2143253239437908059 + 2.1032731579881813917*i, -0.74683420022218681310 +  0.E-29*i, -0.37341710011109340655 - 1.9403321694223429012*i, 5.1081157178325565351]
  524. ? initrect(1,700,700)
  525. ? integ(sin(x), x)
  526. %142 = 1/2*x^2 - 1/24*x^4 + 1/720*x^6 - 1/40320*x^8 + 1/3628800*x^10 - 1/479001600*x^12 + 1/87178291200*x^14 - 1/20922789888000*x^16 + O(x^17)
  527. ? intersect([1,2;3,4;5,6],[2,3;7,8;8,9])
  528. %143 = 
  529. |-1 |
  530.  
  531. |-1 |
  532.  
  533. |-1 |
  534.  
  535.  
  536. ? \precision=9
  537.    precision = 9 significant digits
  538. ? intgen(x=0,pi,sin(x))
  539. %144 = 1.99999999
  540. ? sqr(2*intgen(x=0,4,exp(-x^2)))
  541. %145 = 3.14159267
  542. ? 4*intinf(x=1,10000,1/(1+x^2))
  543. %146 = 3.14119264
  544. ? intnum(x = -0.999, 0.999, 1/sqrt(1 - x^2))
  545. %147 = 3.05305351
  546. ? 2 * intopen(x = 0, 100, sin(x)/x)
  547. %148 = 3.12446099
  548. ? \precision=28
  549.    precision = 28 significant digits
  550. ? inverseimage([1,1;2,3;5,7],[2,2,6]~)
  551. %149 = [4, -2]~
  552. ? isfund(12345)
  553. %150 = 1
  554. ? isincl(x^2+1,x^4+1)
  555. %151 = [x^2, -x^2]
  556. ? isisom(x^3+x^2-2*x-1,x^3+x^2-2*x-1)
  557. %152 = [x, x^2 - 2, -x^2 - x + 1]
  558. ? isprime(12345678901234567)
  559. %153 = 0
  560. ? ispsp(73!+1)
  561. %154 = 1
  562. ? isqrt(10!^2+1)
  563. %155 = 3628800
  564. ? issqfree(123456789876543219)
  565. %156 = 0
  566. ? issquare(12345678987654321)
  567. %157 = 1
  568. ? \\ J
  569. ? jacobi(hilbert(6))
  570. %158 = [[1.618899858924339096970588146, 0.2423608705752095521357284158, 0.00001257075712262519492298239437, 0.0000001082799484565549768538852900, 0.01632152131987582212434507956, 0.0006157483541826576976491993781]~, [0.7487192188790948590028010920, -0.6145448282925867689932001965, 0.01114432093072471053067834095, -0.001248194084082175116939817185, 0.2403253693425233039915422886, -0.06222658815019768177515212657; 0.4407175032435120612716008357, 0.2110824816786704867522767585, -0.1797327572407600375877689803, 0.03560664294428763526612286184, -0.6976513752773701229620833502, 0.4908392097109243629749831600; 0.3206968698222519010635902432, 0.3658936073030261414908655421, 0.6042122067529597300442656657, -0.2406790795884229583773672408, -0.2313893733329038804225136358, -0.5354769216210748659347449113; 0.2543113863404741925178831279, 0.3947067760950175678309463614, -0.4435747162762395455446041165, 0.6254603865492272445775344430, 0.1328631585093355353033383962, -0.4170376922189788684049451526; 0.2115308400789652466421366767, 0.3881904338738864286311144882, -0.4415366410122896622214365491, -0.6898071992938366841980173472, 0.3627149214648714752529945762, 0.04703401893311564970561451458; 0.1814429766487694737221700545, 0.3706959077673628086177550108, 0.4591148168164296028455139429, 0.2716054533663128693001553281, 0.5027628667575153848926056637, 0.5406815631038529388002229385]]
  571. ? jbesselh(1,1)
  572. %159 = 0.2402978391234270108958430447
  573. ? jell(i)
  574. %160 = 1727.999999999999999999999999 +  0.E-26*i
  575. ? \\ K
  576. ? kbessel(1 + i, 1)
  577. %161 = 0.3254597718658414108546463973 + 0.2894280370259921276345671592*i
  578. ? kbessel2(1 + i, 1)
  579. %162 = 0.3254597718658414108546463973 + 0.2894280370259921276345671592*i
  580. ? x
  581. %163 = x
  582. ? y
  583. %164 = x
  584. ? ker(matrix(4,4,x,y,x/y))
  585. %165 = 
  586. |-1/2 -1/3 -1/4 |
  587.  
  588. |1 0 0 |
  589.  
  590. |0 1 0 |
  591.  
  592. |0 0 1 |
  593.  
  594.  
  595. ? keri(matrix(4,4,x,y,x+y))
  596. %166 = 
  597. |1 2 |
  598.  
  599. |-2 -3 |
  600.  
  601. |1 0 |
  602.  
  603. |0 1 |
  604.  
  605.  
  606. ? kerint(matrix(4,4,x,y,x*y))
  607. %167 = 
  608. |-1 -1 -1 |
  609.  
  610. |-1 0 1 |
  611.  
  612. |1 -1 1 |
  613.  
  614. |0 1 -1 |
  615.  
  616.  
  617. ? kerint1(matrix(4,4,x,y,x*y))
  618. %168 = 
  619. |-1 -1 -1 |
  620.  
  621. |-1 0 1 |
  622.  
  623. |1 -1 1 |
  624.  
  625. |0 1 -1 |
  626.  
  627.  
  628. ? kerint2(matrix(4,6,x,y,2520/(x+y)))
  629. %169 = 
  630. |3 1 |
  631.  
  632. |-30 -15 |
  633.  
  634. |70 70 |
  635.  
  636. |0 -140 |
  637.  
  638. |-126 126 |
  639.  
  640. |84 -42 |
  641.  
  642.  
  643. ? kerr(matrix(4,4,x,y,sin(x+y)))
  644. %170 = 
  645. |1.000000000000000000000000000 1.080604611736279434801873214 |
  646.  
  647. |-1.080604611736279434801873214 -0.1677063269057152260048635409 |
  648.  
  649. |1 0 |
  650.  
  651. |0 1 |
  652.  
  653.  
  654. ? f(u)=u+1;
  655. ? print(f(5)); kill(f);
  656. 6
  657. ? f=12
  658. %171 = 12
  659. ? killrect(1)
  660. ? kro(5,7)
  661. %172 = -1
  662. ? kro(3,18)
  663. %173 = 0
  664. ? \\ L
  665. ? k=4;goto(k%2);label(0);print("even");goto(3);label(1);print("odd");label(3);
  666. even
  667. ? laplace(x*exp(x*y)/(exp(x)-1))
  668. %174 = 1 - 1/2*x + 13/6*x^2 - 3*x^3 + 419/30*x^4 - 30*x^5 + 6259/42*x^6 - 420*x^7 + 22133/10*x^8 - 7560*x^9 + 2775767/66*x^10 - 166320*x^11 + 2655339269/2730*x^12 - 4324320*x^13 + 264873251/10*x^14 + O(x^15)
  669. ? lcm(15,-21)
  670. %175 = -105
  671. ? length(divisors(1000))
  672. %176 = 16
  673. ? legendre(10)
  674. %177 = 46189/256*x^10 - 109395/256*x^8 + 45045/128*x^6 - 15015/128*x^4 + 3465/256*x^2 - 63/256
  675. ? lex([1,3],[1,3,5])
  676. %178 = -1
  677. ? lexsort([[1,5],[2,4],[1,5,1],[1,4,2]])
  678. %179 = [[1, 4, 2], [1, 5], [1, 5, 1], [2, 4]]
  679. ? lift(chinese(mod(7,15),mod(4,21)))
  680. %180 = 67
  681. ? lindep([(1-3*sqrt(2))/(3-2*sqrt(3)),1,sqrt(2),sqrt(3),sqrt(6)])
  682. %181 = [-3, -3, 9, -2, 6]
  683. ? lindep2([(1-3*sqrt(2))/(3-2*sqrt(3)),1,sqrt(2),sqrt(3),sqrt(6)],40)
  684. %182 = [3, 3, -9, 2, -6]
  685. ? line(0,0,900,900,0)
  686. ? lines(0,vector(5,k,50*k),vector(5,k,10*k*k))
  687. ? m=1/hilbert(7)
  688. %183 = 
  689. |49 -1176 8820 -29400 48510 -38808 12012 |
  690.  
  691. |-1176 37632 -317520 1128960 -1940400 1596672 -504504 |
  692.  
  693. |8820 -317520 2857680 -10584000 18711000 -15717240 5045040 |
  694.  
  695. |-29400 1128960 -10584000 40320000 -72765000 62092800 -20180160 |
  696.  
  697. |48510 -1940400 18711000 -72765000 133402500 -115259760 37837800 |
  698.  
  699. |-38808 1596672 -15717240 62092800 -115259760 100590336 -33297264 |
  700.  
  701. |12012 -504504 5045040 -20180160 37837800 -33297264 11099088 |
  702.  
  703.  
  704. ? mp=concat(m,idmat(7))
  705. %184 = 
  706. |49 -1176 8820 -29400 48510 -38808 12012 1 0 0 0 0 0 0 |
  707.  
  708. |-1176 37632 -317520 1128960 -1940400 1596672 -504504 0 1 0 0 0 0 0 |
  709.  
  710. |8820 -317520 2857680 -10584000 18711000 -15717240 5045040 0 0 1 0 0 0 0 |
  711.  
  712. |-29400 1128960 -10584000 40320000 -72765000 62092800 -20180160 0 0 0 1 0 0 0 |
  713.  
  714. |48510 -1940400 18711000 -72765000 133402500 -115259760 37837800 0 0 0 0 1 0 0 |
  715.  
  716. |-38808 1596672 -15717240 62092800 -115259760 100590336 -33297264 0 0 0 0 0 1 0 |
  717.  
  718. |12012 -504504 5045040 -20180160 37837800 -33297264 11099088 0 0 0 0 0 0 1 |
  719.  
  720.  
  721. ? lll(m)
  722. %185 = 
  723. |-420 -420 840 630 -1092 -83 2982 |
  724.  
  725. |-210 -280 630 504 -876 70 2415 |
  726.  
  727. |-140 -210 504 420 -749 137 2050 |
  728.  
  729. |-105 -168 420 360 -658 169 1785 |
  730.  
  731. |-84 -140 360 315 -588 184 1582 |
  732.  
  733. |-70 -120 315 280 -532 190 1421 |
  734.  
  735. |-60 -105 280 252 -486 191 1290 |
  736.  
  737.  
  738. ? lll1(m)
  739. %186 = 
  740. |-420 -420 840 630 -1092 757 2982 |
  741.  
  742. |-210 -280 630 504 -876 700 2415 |
  743.  
  744. |-140 -210 504 420 -749 641 2050 |
  745.  
  746. |-105 -168 420 360 -658 589 1785 |
  747.  
  748. |-84 -140 360 315 -588 544 1582 |
  749.  
  750. |-70 -120 315 280 -532 505 1421 |
  751.  
  752. |-60 -105 280 252 -486 471 1290 |
  753.  
  754.  
  755. ? lllgram(m)
  756. %187 = 
  757. |1 1 27 -27 69 0 141 |
  758.  
  759. |0 1 4 -22 35 -42 91 |
  760.  
  761. |0 1 3 -21 19 -42 65 |
  762.  
  763. |0 1 3 -20 11 -36 49 |
  764.  
  765. |0 1 3 -19 7 -30 38 |
  766.  
  767. |0 1 3 -18 5 -25 30 |
  768.  
  769. |0 1 3 -17 4 -21 24 |
  770.  
  771.  
  772. ? lllgram1(m)
  773. %188 = 
  774. |1 1 27 -27 69 0 141 |
  775.  
  776. |0 1 5 -23 35 -42 92 |
  777.  
  778. |0 1 4 -22 19 -42 66 |
  779.  
  780. |0 1 4 -21 11 -36 50 |
  781.  
  782. |0 1 4 -20 7 -30 39 |
  783.  
  784. |0 1 4 -19 5 -25 31 |
  785.  
  786. |0 1 4 -18 4 -21 25 |
  787.  
  788.  
  789. ? lllgramint(m)
  790. %189 = 
  791. |1 1 27 -27 69 0 141 |
  792.  
  793. |0 1 4 -23 34 -24 49 |
  794.  
  795. |0 1 3 -22 18 -24 23 |
  796.  
  797. |0 1 3 -21 10 -19 13 |
  798.  
  799. |0 1 3 -20 6 -14 8 |
  800.  
  801. |0 1 3 -19 4 -10 5 |
  802.  
  803. |0 1 3 -18 3 -7 3 |
  804.  
  805.  
  806. ? lllgramkerim(mp~*mp)
  807. %190 = [[-420, -420, 840, 630, 2982, -1092, 757; -210, -280, 630, 504, 2415, -876, 700; -140, -210, 504, 420, 2050, -749, 641; -105, -168, 420, 360, 1785, -658, 589; -84, -140, 360, 315, 1582, -588, 544; -70, -120, 315, 280, 1421, -532, 505; -60, -105, 280, 252, 1290, -486, 471; 420, 0, 0, 0, -210, 168, 35; 0, 840, 0, 0, 0, 0, 336; 0, 0, -2520, 0, 0, 0, -1260; 0, 0, 0, -2520, 0, 0, -840; 0, 0, 0, 0, -13860, 0, 6930; 0, 0, 0, 0, 0, 5544, 0; 0, 0, 0, 0, 0, 0, -12012], [0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 1, 0, 0, 0, 0, 0, 0; 0, 1, 0, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0, 0; 0, 0, 0, 1, 0, 0, 0; 0, 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 0, 1]]
  808. ? lllint(m)
  809. %191 = 
  810. |-420 -420 840 630 -1092 757 2982 |
  811.  
  812. |-210 -280 630 504 -876 700 2415 |
  813.  
  814. |-140 -210 504 420 -749 641 2050 |
  815.  
  816. |-105 -168 420 360 -658 589 1785 |
  817.  
  818. |-84 -140 360 315 -588 544 1582 |
  819.  
  820. |-70 -120 315 280 -532 505 1421 |
  821.  
  822. |-60 -105 280 252 -486 471 1290 |
  823.  
  824.  
  825. ? lllkerim(mp)
  826. %192 = [[-420, -420, 840, 630, 2982, -1092, 757; -210, -280, 630, 504, 2415, -876, 700; -140, -210, 504, 420, 2050, -749, 641; -105, -168, 420, 360, 1785, -658, 589; -84, -140, 360, 315, 1582, -588, 544; -70, -120, 315, 280, 1421, -532, 505; -60, -105, 280, 252, 1290, -486, 471; 420, 0, 0, 0, -210, 168, 35; 0, 840, 0, 0, 0, 0, 336; 0, 0, -2520, 0, 0, 0, -1260; 0, 0, 0, -2520, 0, 0, -840; 0, 0, 0, 0, -13860, 0, 6930; 0, 0, 0, 0, 0, 5544, 0; 0, 0, 0, 0, 0, 0, -12012], [0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 0, 0, 0, 0, 0, 0, 0; 1, 0, 0, 0, 0, 0, 0; 0, 1, 0, 0, 0, 0, 0; 0, 0, 1, 0, 0, 0, 0; 0, 0, 0, 1, 0, 0, 0; 0, 0, 0, 0, 1, 0, 0; 0, 0, 0, 0, 0, 1, 0; 0, 0, 0, 0, 0, 0, 1]]
  827. ? lllrat(m)
  828. %193 = 
  829. |-420 -420 840 630 -1092 -83 2982 |
  830.  
  831. |-210 -280 630 504 -876 70 2415 |
  832.  
  833. |-140 -210 504 420 -749 137 2050 |
  834.  
  835. |-105 -168 420 360 -658 169 1785 |
  836.  
  837. |-84 -140 360 315 -588 184 1582 |
  838.  
  839. |-70 -120 315 280 -532 190 1421 |
  840.  
  841. |-60 -105 280 252 -486 191 1290 |
  842.  
  843.  
  844. ? \precision=100
  845.    precision = 100 significant digits
  846. ? ln(2)
  847. %194 = 0.6931471805599453094172321214581765680755001343602552541206800094933936219696947156058633269964186875
  848. ? lngamma(10^50*i)
  849. %195 = -157079632679489661923132169163975144209858469968811.9367375388760847494897709411534189519074068479349 + 11412925464970228420089957273421821038005507443143864.09476847610738955343272591658130426497615564164*i
  850. ? \precision=2000
  851.    precision = 2000 significant digits
  852. ? log(2)
  853. %196 = 0.69314718055994530941723212145817656807550013436025525412068000949339362196969471560586332699641868754200148102057068573368552023575813055703267075163507596193072757082837143519030703862389167347112335011536449795523912047517268157493206515552473413952588295045300709532636664265410423915781495204374043038550080194417064167151864471283996817178454695702627163106454615025720740248163777338963855069526066834113727387372292895649354702576265209885969320196505855476470330679365443254763274495125040606943814710468994650622016772042452452961268794654619316517468139267250410380254625965686914419287160829380317271436778265487756648508567407764845146443994046142260319309673540257444607030809608504748663852313818167675143866747664789088143714198549423151997354880375165861275352916610007105355824987941472950929311389715599820565439287170007218085761025236889213244971389320378439353088774825970171559107088236836275898425891853530243634214367061189236789192372314672321720534016492568727477823445353476481149418642386776774406069562657379600867076257199184734022651462837904883062033061144630073719489002743643965002580936519443041191150608094879306786515887090060520346842973619384128965255653968602219412292420757432175748909770675268711581705113700915894266547859596489065305846025866838294002283300538207400567705304678700184162404418833232798386349001563121889560650553151272199398332030751408426091479001265168243443893572472788205486271552741877243002489794540196187233980860831664811490930667519339312890431641370681397776498176974868903887789991296503619270710889264105230924783917373501229842420499568935992206602204654941510613918788574424557751020683703086661948089641218680779020818158858000168811597305618667619918739520076671921459223672060253959543654165531129517598994005600036651356756905124592682574394648316833262490180382424082423145230614096380570070255138770268178516306902551370323405380214501901537402950994226299577964742713815736380172987394070424217997226696297993931270693
  854. ? logagm(2)
  855. %197 = 0.69314718055994530941723212145817656807550013436025525412068000949339362196969471560586332699641868754200148102057068573368552023575813055703267075163507596193072757082837143519030703862389167347112335011536449795523912047517268157493206515552473413952588295045300709532636664265410423915781495204374043038550080194417064167151864471283996817178454695702627163106454615025720740248163777338963855069526066834113727387372292895649354702576265209885969320196505855476470330679365443254763274495125040606943814710468994650622016772042452452961268794654619316517468139267250410380254625965686914419287160829380317271436778265487756648508567407764845146443994046142260319309673540257444607030809608504748663852313818167675143866747664789088143714198549423151997354880375165861275352916610007105355824987941472950929311389715599820565439287170007218085761025236889213244971389320378439353088774825970171559107088236836275898425891853530243634214367061189236789192372314672321720534016492568727477823445353476481149418642386776774406069562657379600867076257199184734022651462837904883062033061144630073719489002743643965002580936519443041191150608094879306786515887090060520346842973619384128965255653968602219412292420757432175748909770675268711581705113700915894266547859596489065305846025866838294002283300538207400567705304678700184162404418833232798386349001563121889560650553151272199398332030751408426091479001265168243443893572472788205486271552741877243002489794540196187233980860831664811490930667519339312890431641370681397776498176974868903887789991296503619270710889264105230924783917373501229842420499568935992206602204654941510613918788574424557751020683703086661948089641218680779020818158858000168811597305618667619918739520076671921459223672060253959543654165531129517598994005600036651356756905124592682574394648316833262490180382424082423145230614096380570070255138770268178516306902551370323405380214501901537402950994226299577964742713815736380172987394070424217997226696297993931270693
  856. ? \precision=9
  857.    precision = 9 significant digits
  858. ? bcurve=initell([0,0,0,-3,0])
  859. %198 = [0, 0, 0, -3, 0, 0, -6, 0, -9, 144, 0, 1728, 1728, [1.73205080, 0.000000000, -1.73205080]~, 1.99233289, 1.99233290*i, -0.788420613, -2.36526184*i, 3.96939039]
  860. ? localred(bcurve,2)
  861. %199 = [6, 2, [1, 1, 1, 0]]
  862. ? ccurve=initell([0,0,-1,-1,0])
  863. %200 = [0, 0, -1, -1, 0, 0, -2, 1, -1, 48, -216, 37, 110592/37, [0.837565435, 0.269594436, -1.10715987]~, 2.99345864, 2.45138937*i, -0.471319277, -1.43545651*i, 7.33813273]
  864. ? l=lseriesell(ccurve,2,-37,1)
  865. %201 = 0.381575407
  866. ? lseriesell(ccurve,2,-37,1.2)-l
  867. %202 = 0.000000000814907252
  868. ? \\ M
  869. ? mat(concat(vector(4,x,x)~,vector(4,x,10+x)~))
  870. %203 = 
  871. |1 |
  872.  
  873. |2 |
  874.  
  875. |3 |
  876.  
  877. |4 |
  878.  
  879. |11 |
  880.  
  881. |12 |
  882.  
  883. |13 |
  884.  
  885. |14 |
  886.  
  887.  
  888. ? matell(initell([0,0,0,-17,0]),[[-1,4],[-4,2]])
  889. %204 = 
  890. |1.17218309 0.447697394 |
  891.  
  892. |0.447697394 1.75502600 |
  893.  
  894.  
  895. ? matextract(matrix(15,15,x,y,x+y),vector(5,x,3*x),vector(3,y,3*y))
  896. %205 = 
  897. |6 9 12 |
  898.  
  899. |9 12 15 |
  900.  
  901. |12 15 18 |
  902.  
  903. |15 18 21 |
  904.  
  905. |18 21 24 |
  906.  
  907.  
  908. ? matinvr(1.*hilbert(7))
  909. %206 = 
  910. |49.0948939 -1179.88827 8858.09375 -29549.8554 48787.1582 -39049.1172 12091.6127 |
  911.  
  912. |-1179.84100 37789.1740 -319058.654 1135009.31 -1951583.03 1606397.87 -507714.017 |
  913.  
  914. |8857.34090 -319046.702 2872617.60 -10642705.1 18819493.2 -15811575.0 5076169.07 |
  915.  
  916. |-29546.0926 1134929.50 -10642384.2 40549387.7 -73188844.0 62461274.1 -20301734.5 |
  917.  
  918. |48779.0946 -1951390.55 18818460.5 -73187117.1 134182332. -115937635. 38061436.6 |
  919.  
  920. |-39041.3748 1606200.31 -15810382.0 62458612.6 -115935491. 101177665. -33491014.3 |
  921.  
  922. |12088.8508 -507640.804 5075697.51 -20300550.8 38060165.1 -33490523.9 11162837.3 |
  923.  
  924.  
  925. ? matsize([1,2;3,4;5,6])
  926. %207 = [3, 2]
  927. ? matrix(5,5,x,y,gcd(x,y))
  928. %208 = 
  929. |1 1 1 1 1 |
  930.  
  931. |1 2 1 2 1 |
  932.  
  933. |1 1 3 1 1 |
  934.  
  935. |1 2 1 4 1 |
  936.  
  937. |1 1 1 1 5 |
  938.  
  939.  
  940. ? matrixqz([1,3;3,5;5,7],0)
  941. %209 = 
  942. |1 1 |
  943.  
  944. |3 2 |
  945.  
  946. |5 3 |
  947.  
  948.  
  949. ? matrixqz2([1/3,1/4,1/6;1/2,1/4,-1/4;1/3,1,0])
  950. %210 = 
  951. |19 12 2 |
  952.  
  953. |0 1 0 |
  954.  
  955. |0 0 1 |
  956.  
  957.  
  958. ? matrixqz3([1,3;3,5;5,7])
  959. %211 = 
  960. |2 -1 |
  961.  
  962. |1 0 |
  963.  
  964. |0 1 |
  965.  
  966.  
  967. ? max(2,3)
  968. %212 = 3
  969. ? min(2,3)
  970. %213 = 2
  971. ? minim([2,1;1,2],4,6)
  972. %214 = [6, 2, [0, -1, 1; 1, 1, 0]]
  973. ? mod(-12,7)
  974. %215 = mod(2, 7)
  975. ? modp(-12,7)
  976. %216 = mod(2, 7)
  977. ? mod(10873,49649)^-1
  978.  
  979.   ***   impossible inverse modulo: mod(131, 49649)
  980.  
  981. ? modreverse(mod(x^2+1,x^3-x-1))
  982. %217 = mod(x^2 - 3*x + 2, x^3 - 5*x^2 + 8*x - 5)
  983. ? move(0,243,583);cursor(0)
  984. %218 = [243, 583]
  985. ? mu(3*5*7*11*13)
  986. %219 = -1
  987. ? \\ N
  988. ? newtonpoly(x^4+3*x^3+27*x^2+9*x+81,3)
  989. %220 = [2, 2/3, 2/3, 2/3]
  990. ? nextprime(100000000000000000000000)
  991. %221 = 100000000000000000000117
  992. ? norm(1+i)
  993. %222 = 2
  994. ? norm(mod(x+5,x^3+x+1))
  995. %223 = 129
  996. ? norml2(vector(10,x,x))
  997. %224 = 385
  998. ? nucomp(qfi(2,1,9),qfi(4,3,5),3)
  999. %225 = qfi(2, -1, 9)
  1000. ? form=qfi(2,1,9);nucomp(form,form,3)
  1001. %226 = qfi(4, -3, 5)
  1002. ? numdiv(2^99*3^49)
  1003. %227 = 5000
  1004. ? numer((x+1)/(x-1))
  1005. %228 = x + 1
  1006. ? nupow(form,111)
  1007. %229 = qfi(2, -1, 9)
  1008. ? \\ O
  1009. ? 1/(1+x)+o(x^20)
  1010. %230 = 1 - x + x^2 - x^3 + x^4 - x^5 + x^6 - x^7 + x^8 - x^9 + x^10 - x^11 + x^12 - x^13 + x^14 - x^15 + x^16 - x^17 + x^18 - x^19 + O(x^20)
  1011. ? omega(100!)
  1012. %231 = 25
  1013. ? ordell(acurve, 1)
  1014. %232 = [8, 3]
  1015. ? order(mod(33,2^16+1))
  1016. %233 = 2048
  1017. ? ordred(x^3-12*x+45*x-1)
  1018. %234 = [x - 1, x^3 + 33*x - 1, x^3 - 363*x - 2663]~
  1019. ? \\ P
  1020. ? pascal(8)
  1021. %235 = 
  1022. |1 0 0 0 0 0 0 0 0 |
  1023.  
  1024. |1 1 0 0 0 0 0 0 0 |
  1025.  
  1026. |1 2 1 0 0 0 0 0 0 |
  1027.  
  1028. |1 3 3 1 0 0 0 0 0 |
  1029.  
  1030. |1 4 6 4 1 0 0 0 0 |
  1031.  
  1032. |1 5 10 10 5 1 0 0 0 |
  1033.  
  1034. |1 6 15 20 15 6 1 0 0 |
  1035.  
  1036. |1 7 21 35 35 21 7 1 0 |
  1037.  
  1038. |1 8 28 56 70 56 28 8 1 |
  1039.  
  1040.  
  1041. ? permutation(7,1035)
  1042. %236 = [4, 7, 1, 6, 3, 5, 2]
  1043. ? pf(-44,3)
  1044. %237 = qfi(3, 2, 4)
  1045. ? phi(257^2)
  1046. %238 = 65792
  1047. ? pi
  1048. %239 = 3.14159265
  1049. ? plot(x=-5,5,sin(x))
  1050.  
  1051.       0.999 xxxx---------------------------------xxxx------------------|
  1052.             |   x                               x    xx                |
  1053.             |    x                             x       x               |
  1054.             |     x                           x                        |
  1055.             |      x                         x          x              |
  1056.             |       x                                    x             |
  1057.             |                               x                          |
  1058.             |        x                     x              x            |
  1059.             |         x                                    x           |
  1060.             |                             x                            |
  1061.             -----------x------------------------------------x-----------
  1062.             |                            x                             |
  1063.             |           x                                    x         |
  1064.             |            x              x                     x        |
  1065.             |                          x                               |
  1066.             |             x                                    x       |
  1067.             |              x          x                         x      |
  1068.             |                        x                           x     |
  1069.             |               x       x                             x    |
  1070.             |                xx    x                               x   |
  1071.      -0.999 |------------------xxxx---------------------------------xxxx
  1072.              -5.000                                                   5.000
  1073.  
  1074. ? \\ ploth(x=-5,5,sin(x))
  1075. ? \\ ploth2(t=0,2*pi,[sin(5*t),sin(7*t)])
  1076. ? \\ plothraw(vector(100,k,k),vector(100,k,k*k/100))
  1077. ? pnqn([2,6,10,14,18,22,26])
  1078. %240 = 
  1079. |19318376 741721 |
  1080.  
  1081. |8927353 342762 |
  1082.  
  1083.  
  1084. ? pnqn([1,1,1,1,1,1,1,1;1,1,1,1,1,1,1,1])
  1085. %241 = 
  1086. |34 21 |
  1087.  
  1088. |21 13 |
  1089.  
  1090.  
  1091. ? point(0,225,334)
  1092. ? points(0,vector(10,k,10*k),vector(10,k,5*k*k))
  1093. ? pointell(acurve,zell(acurve,apoint))
  1094. %242 = [0.999999998 + 0.000000000*i, 3.00000000 + 0.000000000*i]
  1095. ? polint([0,2,3],[0,4,9],5)
  1096. %243 = 25
  1097. ? polred(x^5-2*x^4-4*x^3-96*x^2-352*x-568)
  1098. %244 = [x - 1, x^5 - x^4 + 2*x^3 - 4*x^2 + x - 1, x^5 - x^4 + 4*x^3 - 2*x^2 + x - 1, x^5 + 4*x^3 - 4*x^2 + 8*x - 8, x^5 - x^4 - 6*x^3 + 6*x^2 + 13*x - 5]~
  1099. ? polred2(x^4-28*x^3-458*x^2+9156*x-25321)
  1100. %245 = 
  1101. |1 x - 1 |
  1102.  
  1103. |1/4485*x^3 - 7/1495*x^2 - 1034/4485*x + 7924/4485 x^4 - 8*x^2 + 6 |
  1104.  
  1105. |1/115*x^2 - 14/115*x - 327/115 x^2 - 10 |
  1106.  
  1107. |3/1495*x^3 - 63/1495*x^2 - 1607/1495*x + 13307/1495 x^4 - 32*x^2 + 216 |
  1108.  
  1109.  
  1110. ? polsym(x^17-1,17)
  1111. %246 = [17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17]~
  1112. ? poly(sin(x),x)
  1113. %247 = -1/1307674368000*x^15 + 1/6227020800*x^13 - 1/39916800*x^11 + 1/362880*x^9 - 1/5040*x^7 + 1/120*x^5 - 1/6*x^3 + x
  1114. ? polylog(5,0.5)
  1115. %248 = 0.508400578
  1116. ? polylog(-4,t)
  1117. %249 = (t^4 + 11*t^3 + 11*t^2 + t)/(-t^5 + 5*t^4 - 10*t^3 + 10*t^2 - 5*t + 1)
  1118. ? polylogd(5,0.5)
  1119. %250 = 0.939035495
  1120. ? polylogdold(5,0.5)
  1121. %251 = 1.03445942
  1122. ? polylogp(5,0.5)
  1123. %252 = 0.949569346
  1124. ? poly([1,2,3,4,5],x)
  1125. %253 = x^4 + 2*x^3 + 3*x^2 + 4*x + 5
  1126. ? polyrev([1,2,3,4,5],x)
  1127. %254 = 5*x^4 + 4*x^3 + 3*x^2 + 2*x + 1
  1128. ? \\draw([0,20,20])
  1129. ? postdraw([0,20,20])
  1130. ? postploth(x=-5,5,sin(x))
  1131. ? postploth2(t=0,2*pi,[sin(5*t),sin(7*t)])
  1132. ? postplothraw(vector(100,k,k),vector(100,k,k*k/100))
  1133. ? powell(acurve,10,apoint)
  1134. %255 = [-28919032218753260057646013785951999/292736325329248127651484680640160000, 478051489392386968218136375373985436596569736643531551/158385319626308443937475969221994173751192384064000000]
  1135. ? powrealraw(qfr(5,3,-1,0.),3)
  1136. %256 = qfr(125, 23, 1, 0.000000000)
  1137. ? pprint((x-12*y)/(y+13*x));
  1138. (-(11 /14))
  1139. ? pprint([1,2;3,4])
  1140.  
  1141. |1 2 |
  1142.  
  1143. |3 4 |
  1144.  
  1145.  
  1146. %258 = 
  1147. |1 2 |
  1148.  
  1149. |3 4 |
  1150.  
  1151.  
  1152. ? pprint1(x+y);pprint(x+y);
  1153. (2 x )(2 x )
  1154. ? \precision=100
  1155.    precision = 100 significant digits
  1156. ? pi
  1157. %260 = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117068
  1158. ? prec(pi,20)
  1159. %261 = 3.141592653589793238462643383254089766000000000000000000000000000000000000000000000000000000000000000
  1160. ? \precision=20
  1161.    precision = 20 significant digits
  1162. ? prime(100)
  1163. %262 = 541
  1164. ? primes(100)
  1165. %263 = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541]
  1166. ? forprime(p=2,100,print(p, " ", lift(primroot(p))))
  1167. 2 1
  1168. 3 2
  1169. 5 2
  1170. 7 3
  1171. 11 2
  1172. 13 2
  1173. 17 3
  1174. 19 2
  1175. 23 5
  1176. 29 2
  1177. 31 3
  1178. 37 2
  1179. 41 6
  1180. 43 3
  1181. 47 5
  1182. 53 2
  1183. 59 2
  1184. 61 2
  1185. 67 2
  1186. 71 7
  1187. 73 5
  1188. 79 3
  1189. 83 2
  1190. 89 3
  1191. 97 5
  1192. ? print((x-12*y)/(y+13*x));
  1193. -11/14
  1194. ? print([1,2;3,4])
  1195. [1, 2; 3, 4]
  1196. %265 = 
  1197. |1 2 |
  1198.  
  1199. |3 4 |
  1200.  
  1201.  
  1202. ? print1(x+y);print1(" egale ");print(x+y);
  1203. 2*x egale 2*x
  1204. ? prod(1,k=1,10,1+1/k!)
  1205. %267 = 3335784368058308553334783/905932868585678438400000
  1206. ? prod(1.,k=1,10,1+1/k!)
  1207. %268 = 3.6821540356142043935
  1208. ? pi^2/6*prodeuler(p=2,10000,1-p^-2)
  1209. %269 = 1.0000098157493066238
  1210. ? prodinf(n=0,(1+2^-n)/(1+2^(-n+1)))
  1211. %270 = 0.33333333333333333333
  1212. ? prodinf1(n=0,-2^-n/(1+2^(-n+1)))
  1213. %271 = 0.33333333333333333333
  1214. ? psi(1)
  1215. %272 = -0.57721566490153286060
  1216. ? \\ Q
  1217. ? quadgen(-11)
  1218. %273 = w
  1219. ? quadpoly(-11)
  1220. %274 = x^2 - x + 3
  1221. ? \\ R
  1222. ? smith(matrix(5,5,j,k,random()))
  1223. %275 = [226226340965260564453392384, 2147483648, 2147483648, 1, 1]
  1224. ? rank(matrix(5,5,x,y,x+y))
  1225. %276 = 2
  1226. ? move(0,50,50);rbox(0,100,100)
  1227. ? print1("give a value for s? ");s=read();print(1/s)
  1228. give a value for s? 37.
  1229. 0.027027027027027027027
  1230. %277 = 0.027027027027027027027
  1231. ? real(5-7*i)
  1232. %278 = 5
  1233. ? recip(3*x^7-5*x^3+6*x-9)
  1234. %279 = -9*x^7 + 6*x^6 - 5*x^4 + 3
  1235. ? redcomp(qfi(3,10,12))
  1236. %280 = qfi(3, -2, 4)
  1237. ? redreal(qfr(3,10,-20,1.5))
  1238. %281 = qfr(3, 16, -7, 1.5000000000000000000)
  1239. ? redrealnod(qfr(3,10,-20,1.5),18)
  1240. %282 = qfr(3, 16, -7, 0.00000000000000000000)
  1241. ? regula(17)
  1242. %283 = 2.0947125472611012942
  1243. ? kill(y);print(x+y);reorder([x, y]); print(x+y);
  1244. x + y
  1245. x + y
  1246. ? resultant(x^3-1,x^3+1)
  1247. %285 = 8
  1248. ? resultant2(x^3-1.,x^3+1.)
  1249. %286 = 8.0000000000000000000
  1250. ? reverse(tan(x))
  1251. %287 = x - 1/3*x^3 + 1/5*x^5 - 1/7*x^7 + 1/9*x^9 - 1/11*x^11 + 1/13*x^13 - 1/15*x^15 + O(x^16)
  1252. ? rhoreal(qfr(3,10,-20,1.5))
  1253. %288 = qfr(-20, -10, 3, 2.1074451073987839947)
  1254. ? rhorealnod(qfr(3,10,-20,1.5),18)
  1255. %289 = qfr(-20, -10, 3, 0.00000000000000000000)
  1256. ? rline(0,200,150)
  1257. ? cursor(0)
  1258. %290 = [200, 150]
  1259. ? rmove(0,5,5);cursor(0)
  1260. %291 = [205, 155]
  1261. ? rndtoi(prod(1,k=1,17,x-exp(2*i*pi*k/17)))
  1262. %292 = x^17 - 1
  1263. ? rootmod(x^16-1,41)
  1264. %293 = [mod(1, 41), mod(3, 41), mod(9, 41), mod(14, 41), mod(27, 41), mod(32, 41), mod(38, 41), mod(40, 41)]
  1265. ? rootpadic(x^4+1,41,6)
  1266. %294 = [3 + 22*41 + 27*41^2  + 15*41^3  + 27*41^4  + 33*41^5  + O(41^6), 14 + 20*41 + 25*41^2  + 24*41^3  + 4*41^4  + 18*41^5  + O(41^6), 27 + 20*41 + 15*41^2  + 16*41^3  + 36*41^4  + 22*41^5  + O(41^6), 38 + 18*41 + 13*41^2  + 25*41^3  + 13*41^4  + 7*41^5  + O(41^6)]~
  1267. ? roots(x^5-1)
  1268. %295 = [1.0000000000000000000 +  0.E-28*i, -0.80901699437494742410 + 0.58778525229247312916*i, -0.80901699437494742410 - 0.58778525229247312916*i, 0.30901699437494742410 + 0.95105651629515357211*i, 0.30901699437494742410 - 0.95105651629515357211*i]~
  1269. ? rootslong(x^4-1000000000000000000000)
  1270. %296 = [-177827.94100389228012 +  0.E-28*i, 177827.94100389228012 +  0.E-28*i, 6.1098727269992093641 E-151 + 177827.94100389228012*i, 6.1098727269992093641 E-151 - 177827.94100389228012*i]~
  1271. ? round(prod(1,k=1,17,x-exp(2*i*pi*k/17)))
  1272. %297 = x^17 - 1
  1273. ? rounderror(prod(1,k=1,17,x-exp(2*i*pi*k/17)))
  1274. %298 = -9
  1275. ? rpoint(0,20,20)
  1276. ? \\ S
  1277. ? q*series(anell(acurve,100),q)
  1278. %299 = q - 2*q^2 - 3*q^3 + 2*q^4 - 2*q^5 + 6*q^6 - q^7 + 6*q^9 + 4*q^10 - 5*q^11 - 6*q^12 - 2*q^13 + 2*q^14 + 6*q^15 - 4*q^16 - 12*q^18 - 4*q^20 + 3*q^21 + 10*q^22 + 2*q^23 - q^25 + 4*q^26 - 9*q^27 - 2*q^28 + 6*q^29 - 12*q^30 - 4*q^31 + 8*q^32 + 15*q^33 + 2*q^35 + 12*q^36 - q^37 + 6*q^39 - 9*q^41 - 6*q^42 + 2*q^43 - 10*q^44 - 12*q^45 - 4*q^46 - 9*q^47 + 12*q^48 - 6*q^49 + 2*q^50 - 4*q^52 + q^53 + 18*q^54 + 10*q^55 - 12*q^58 + 8*q^59 + 12*q^60 - 8*q^61 + 8*q^62 - 6*q^63 - 8*q^64 + 4*q^65 - 30*q^66 + 8*q^67 - 6*q^69 - 4*q^70 + 9*q^71 - q^73 + 2*q^74 + 3*q^75 + 5*q^77 - 12*q^78 + 4*q^79 + 8*q^80 + 9*q^81 + 18*q^82 - 15*q^83 + 6*q^84 - 4*q^86 - 18*q^87 + 4*q^89 + 24*q^90 + 2*q^91 + 4*q^92 + 12*q^93 + 18*q^94 - 24*q^96 + 4*q^97 + 12*q^98 - 30*q^99 - 2*q^100 + O(q^101)
  1279. ? shift(1,50)
  1280. %300 = 1125899906842624
  1281. ? shift([3,4,-11,-12],-2)
  1282. %301 = [0, 1, -2, -3]
  1283. ? shiftmul([3,4,-11,-12],-2)
  1284. %302 = [3/4, 1, -11/4, -3]
  1285. ? sigma(100)
  1286. %303 = 217
  1287. ? sigmak(2,100)
  1288. %304 = 13671
  1289. ? sigmak(-3,100)
  1290. %305 = 1149823/1000000
  1291. ? sign(-1)
  1292. %306 = -1
  1293. ? sign(0)
  1294. %307 = 0
  1295. ? sign(0.)
  1296. %308 = 0
  1297. ? signat(hilbert(5)-0.11*idmat(5))
  1298. %309 = [2, 3]
  1299. ? simplify(((x+i+1)^2-x^2-2*x*(i+1))^2)
  1300. %310 = -4
  1301. ? sin(pi/6)
  1302. %311 = 0.50000000000000000000
  1303. ? sinh(1)
  1304. %312 = 1.1752011936438014568
  1305. ? size([1.3*10^5,2*i*pi*exp(4*pi)])
  1306. %313 = 6
  1307. ? smallbase(x^3+4*x+5)
  1308. %314 = [1, x, 1/7*x^2 - 1/7*x - 2/7]
  1309. ? smalldiscf(x^3+4*x+5)
  1310. %315 = -19
  1311. ? smallfact(100!+1)
  1312. %316 = 
  1313. |101 1 |
  1314.  
  1315. |14303 1 |
  1316.  
  1317. |149239 1 |
  1318.  
  1319. |432885273849892962613071800918658949059679308685024481795740765527568493010727023757461397498800981521440877813288657839195622497225621499427628453 1 |
  1320.  
  1321.  
  1322. ? smallinitell([0,0,0,-17,0])
  1323. %317 = [0, 0, 0, -17, 0, 0, -34, 0, -289, 816, 0, 314432, 1728]
  1324. ? smallpolred(x^4+576)
  1325. %318 = [x - 1, x^2 - x + 1, x^2 + 1, x^4 - x^2 + 1]~
  1326. ? smallpolred2(x^4+576)
  1327. %319 = 
  1328. |1 x - 1 |
  1329.  
  1330. |-1/192*x^3 - 1/8*x + 1/2 x^2 - x + 1 |
  1331.  
  1332. |-1/24*x^2 x^2 + 1 |
  1333.  
  1334. |-1/192*x^3 + 1/48*x^2 + 1/8*x x^4 - x^2 + 1 |
  1335.  
  1336.  
  1337. ? smith(1/hilbert(6))
  1338. %320 = [27720, 2520, 2520, 840, 210, 6]
  1339. ? solve(x=1,4,sin(x))
  1340. %321 = 3.1415926535897932384
  1341. ? sort(vector(17,x,5*x%17))
  1342. %322 = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
  1343. ? sqr(1+o(2))
  1344. %323 = 1 + O(2^3)
  1345. ? sqred(hilbert(5))
  1346. %324 = 
  1347. |1 1/2 1/3 1/4 1/5 |
  1348.  
  1349. |0 1/12 1 9/10 4/5 |
  1350.  
  1351. |0 0 1/180 3/2 12/7 |
  1352.  
  1353. |0 0 0 1/2800 2 |
  1354.  
  1355. |0 0 0 0 1/44100 |
  1356.  
  1357.  
  1358. ? sqrt(13+o(127^12))
  1359. %325 = 34 + 125*127 + 83*127^2  + 107*127^3  + 53*127^4  + 42*127^5  + 22*127^6  + 98*127^7  + 127^8  + 23*127^9  + 122*127^10  + 79*127^11  + O(127^12)
  1360. ? srgcd(x^10-1,x^15-1)
  1361. %326 = x^5 - 1
  1362. ? move(0,100,100);string(0,pi)
  1363. ? move(0,200,200);string(0,"(0,0)")
  1364. ? \\draw([0,10,10])
  1365. ? postdraw([0,10,10])
  1366. ? apol=0.3+legendre(10)
  1367. %327 = 46189/256*x^10 - 109395/256*x^8 + 45045/128*x^6 - 15015/128*x^4 + 3465/256*x^2 + 0.053906250000000000000
  1368. ? sturm(apol)
  1369. %328 = 4
  1370. ? sturmpart(apol,0.91,1)
  1371. %329 = 1
  1372. ? subell(initell([0,0,0,-17,0]),[-1,4],[-4,2])
  1373. %330 = [9, -24]
  1374. ? subst(sin(x),x,y)
  1375. %331 = y - 1/6*y^3 + 1/120*y^5 - 1/5040*y^7 + 1/362880*y^9 - 1/39916800*y^11 + 1/6227020800*y^13 - 1/1307674368000*y^15 + O(y^16)
  1376. ? subst(sin(x),x,x+x^2)
  1377. %332 = x + x^2 - 1/6*x^3 - 1/2*x^4 - 59/120*x^5 - 1/8*x^6 + 419/5040*x^7 + 59/720*x^8 + 13609/362880*x^9 + 19/13440*x^10 - 273241/39916800*x^11 - 14281/3628800*x^12 - 6495059/6227020800*x^13 + 69301/479001600*x^14 + 26537089/118879488000*x^15 + O(x^16)
  1378. ? sum(0,k=1,10,2^-k)
  1379. %333 = 1023/1024
  1380. ? sum(0.,k=1,10,2^-k)
  1381. %334 = 0.99902343750000000000
  1382. ? \precision=20
  1383.    precision = 20 significant digits
  1384. ? 4*sumalt(n=0,(-1)^n/(2*n+1))
  1385. %335 = 3.1415926535897932384
  1386. ? suminf(n=1,2.^-n)
  1387. %336 = 1.0000000000000000000
  1388. ? 6/pi^2*sumpos(n=1,n^-2)
  1389. %337 = 1.0000000000000000000
  1390. ? supplement([1,3;2,4;3,6])
  1391. %338 = 
  1392. |1 3 0 |
  1393.  
  1394. |2 4 0 |
  1395.  
  1396. |3 6 1 |
  1397.  
  1398.  
  1399. ? \\ T
  1400. ? sqr(tan(pi/3))
  1401. %339 = 3.0000000000000000000
  1402. ? tanh(1)
  1403. %340 = 0.76159415595576488812
  1404. ? taylor(y/(x-y),y)
  1405. %341 = (O(y^16)*x^15 + y*x^14 + y^2*x^13 + y^3*x^12 + y^4*x^11 + y^5*x^10 + y^6*x^9 + y^7*x^8 + y^8*x^7 + y^9*x^6 + y^10*x^5 + y^11*x^4 + y^12*x^3 + y^13*x^2 + y^14*x + y^15)/x^15
  1406. ? tchebi(10)
  1407. %342 = 512*x^10 - 1280*x^8 + 1120*x^6 - 400*x^4 + 50*x^2 - 1
  1408. ? tchirnhausen(x^5-x-1)
  1409. %343 = x^5 + 65*x^4 + 1352*x^3 + 6890*x^2 - 49884*x - 641933
  1410. ? teich(7+o(127^12))
  1411. %344 = 7 + 57*127 + 58*127^2  + 83*127^3  + 52*127^4  + 109*127^5  + 74*127^6  + 16*127^7  + 60*127^8  + 47*127^9  + 65*127^10  + 5*127^11  + O(127^12)
  1412. ? texprint((x+y)^3/(x-y)^2)
  1413. {{x^{3} + {{3}y}x^{2} + {{3}y^{2}}x + {y^{3}}}\over{x^{2} - {{2}y}x + {y^{2}}}}
  1414. %345 = (x^3 + 3*y*x^2 + 3*y^2*x + y^3)/(x^2 - 2*y*x + y^2)
  1415. ? theta(0.5,3)
  1416. %346 = 0.080806418251894691300
  1417. ? thetanullk(0.5,7)
  1418. %347 = -804.63037320243369423
  1419. ? trace(1+i)
  1420. %348 = 2
  1421. ? trace(mod(x+5,x^3+x+1))
  1422. %349 = 15
  1423. ? trans(vector(2,x,x))
  1424. %350 = [1, 2]~
  1425. ? %*%~
  1426. %351 = 
  1427. |1 2 |
  1428.  
  1429. |2 4 |
  1430.  
  1431.  
  1432. ? trunc(-2.7)
  1433. %352 = -2
  1434. ? trunc(sin(x^2))
  1435. %353 = -1/5040*x^14 + 1/120*x^10 - 1/6*x^6 + x^2
  1436. ? type(mod(x,x^2+1))
  1437. %354 = 9
  1438. ? \\ U
  1439. ? unit(17)
  1440. %355 = 3 + 2*w
  1441. ? n=33;until(n==1,print1(n," ");if(n%2,n=3*n+1,n=n/2));print(1)
  1442. 33 100 50 25 76 38 19 58 29 88 44 22 11 34 17 52 26 13 40 20 10 5 16 8 4 2 1
  1443. %356 = 1
  1444. ? \\ V
  1445. ? valuation(6^10000-1,5)
  1446. %357 = 5
  1447. ? vec(sin(x))
  1448. %358 = [1, 0, -1/6, 0, 1/120, 0, -1/5040, 0, 1/362880, 0, -1/39916800, 0, 1/6227020800, 0, -1/1307674368000]
  1449. ? vecsort([[1,8],[2,5],[3,6],[4,1]],2)
  1450. %359 = [[4, 1], [2, 5], [3, 6], [1, 8]]
  1451. ? \\ W
  1452. ? wf(i)
  1453. %360 = 1.1892071150027210667 + 2.4994989708065986630 E-30*i
  1454. ? wf2(i)
  1455. %361 = 1.0905077326652576592 +  0.E-28*i
  1456. ? m=5; while(m<20, print1(m, " ");m=m+1); print()
  1457. 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 
  1458. ? \\ Z
  1459. ? zell(acurve, apoint)
  1460. %362 = 0.72491221490962306779 +  0.E-48*i
  1461. ? zeta(3)
  1462. %363 = 1.2020569031595942854
  1463. ? zeta(0.5+14.1347251*i)
  1464. %364 = 0.0000000052043097453468479398 - 0.000000032690639869786982176*i