- 注册时间
- 2007-12-27
- 最后登录
- 1970-1-1
- 威望
- 星
- 金币
- 枚
- 贡献
- 分
- 经验
- 点
- 鲜花
- 朵
- 魅力
- 点
- 上传
- 次
- 下载
- 次
- 积分
- 40149
- 在线时间
- 小时
|
发表于 2019-4-5 12:18:44
|
显示全部楼层
line3rd(d1,d2)={local(u,v,w);u=F(x,y,1);v=(d1[2]-d2[2])/(d1[1]-d2[1])*(x-d1[1])+d1[2];u=subst(u,y,v);w=-polcoeff(u,2,x)/polcoeff(u,3,x)-d1[1]-d2[1];v=subst(v,x,w);[w,v]}
(12:14) gp > line3rd([-4,-11],[0,-1])
%14 = [4/11, -1/11]
(12:15) gp > line3rd([-8784/9499, 5165/9499],[4/11,-1/11])
%15 = [883659076/679733219, -375326521/679733219]
(12:16) gp > line3rd([-4,-11],%15)
%16 = [6696085890501216/6334630576523495, -6531563383962071/6334630576523495]
(12:16) gp > line3rd([-4,-11],%16)
%17 = [883659076/679733219, -375326521/679733219]
(12:16) gp > line3rd([-4,-11],%15)
%18 = [6696085890501216/6334630576523495, -6531563383962071/6334630576523495]
(12:16) gp > line3rd(%18,[0,-1])
%19 = [-6696085890501216/6531563383962071, -6334630576523495/6531563383962071]
(12:16) gp > line3rd(%19,[-4,-11])
%20 = [-2798662276711559924688956/5824662475191962424632819, 5048384306267455380784631/5824662475191962424632819]
(12:16) gp > line3rd(%,[4/11,-1/11])
%21 = [434021404091091140782000234591618320/287663048897224554337446918344405429, -399866258624438737232493646244383709/287663048897224554337446918344405429]
(12:17) gp > line3rd(%,[-4,-11])
%22 = [3386928246329327259763849184510185031406211324804/1637627722378544613543242758851617912968156867151, -678266970930133923578916161648350398206354101381/1637627722378544613543242758851617912968156867151]
(12:17) gp > line3rd(%,[4/11,-1/11])
%23 = [-2054217703980198940765993621567260834791816664149006217306067776/2110760649231325855047088974560468667532616164397520142622104465, 343258303254635343211175484588572430575289938927656972201563791/2110760649231325855047088974560468667532616164397520142622104465]
(12:17) gp > line3rd(%,[-4,-11])
%24 = [4373612677928697257861252602371390152816537558161613618621437993378423467772036/36875131794129999827197811565225474825492979968971970996283137471637224634055579, 154476802108746166441951315019919837485664325669565431700026634898253202035277999/36875131794129999827197811565225474825492979968971970996283137471637224634055579]
于是找到了a=4373612677928697257861252602371390152816537558161613618621437993378423467772036,b=154476802108746166441951315019919837485664325669565431700026634898253202035277999,
c=36875131794129999827197811565225474825492979968971970996283137471637224634055579 |
|