Anonymous user
Length of an arc between two angles: Difference between revisions
Length of an arc between two angles (view source)
Revision as of 18:04, 5 October 2020
, 3 years ago→{{header|Python}}
m (added a note about the disagram website (it leaves cookies).) |
|||
Line 306:
return (360.0 - abs(angleB - angleA)) * math.pi * r / 180.0
</lang>▼
<pre>▼
radius = 10
angleA = 10
Line 314 ⟶ 316:
print(result)
Output:
▲</lang>
▲<pre>
43.63323129985823
</pre>
|