12.直角三角形一条直角边长为11,另外两条边长也为正整数,则其周长为--
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 00:51:22
12.直角三角形一条直角边长为11,另外两条边长也为正整数,则其周长为--
12.直角三角形一条直角边长为11,另外两条边长也为正整数,则其周长为--
12.直角三角形一条直角边长为11,另外两条边长也为正整数,则其周长为--
三边长为61,60,11
下面附上VB代码,是吧第二条直角边算到10000
Private Sub Command1_Click()
For a = 1 To 10000
c = Sqr(121 + a ^ 2)
If c = Int(c) Then
Print a
End If
Next a
设另外两条边长分别为a,b,则a+b>11,a>|11-b|
|a-b|<11,a<11+b。即|11-b|b.....|11-b|1.....10.....11.....12.....23
2.......9.....10.....13.....23
2.......9.....11.....13.....24...
全部展开
设另外两条边长分别为a,b,则a+b>11,a>|11-b|
|a-b|<11,a<11+b。即|11-b|b.....|11-b|1.....10.....11.....12.....23
2.......9.....10.....13.....23
2.......9.....11.....13.....24
2.......9.....12.....13.....25
3.......8.......9.....14.....23
3.......8.....10.....14.....24
......................................
10.....1.......2.....21.....23
.....................................
10.....1.....20.....21.....41
11.....0.......1.....22.....23
.....................................
12.....1.......2.....23.....25
.....................................
收起
三边长分别为61,60,11
周长为132