theoretical vs real angles
This commit is contained in:
parent
9a36562ac0
commit
265f85ae56
@ -52,11 +52,15 @@ pals = [
|
|||||||
PAL(4, guess('150-15-41'), Dec('179.336')),
|
PAL(4, guess('150-15-41'), Dec('179.336')),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
angle_sum = Dec(0)
|
||||||
|
for pal in pals:
|
||||||
|
angle_sum += pal.ang
|
||||||
|
theoretical_angle_sum = Dec(int((len(pals)-2)*180))
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print("""
|
print("""
|
||||||
Pradinis direkcinis kampas: %.4f""" % (90 - A11_2) + """
|
Pradinis direkcinis kampas: %.4f""" % (90 - A11_2) + """
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
print("angle sum %.4f, theoretical angle sum %d" % \
|
||||||
for i in pals:
|
(angle_sum, theoretical_angle_sum))
|
||||||
print(i)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user