platform_agnostic:radius_of_an_arc_or_segment

#### Radius of an Arc or Segment

The radius of an arc or segment is the radius of the circle of which it is a part.

The segment length W is the base of the segment e.g. a straight line between two points on the circumference.

The segment height H is the distance from halfway along the base (at right angle to it) to the circumference.

The formula below calculates the radius of the circle for which the segment forms part of its circumference.

r = H/2 + W^{2} / 8H

Dim Float r,W,H Input "Segment length ",W Input "Segment height ",H r=H/2+((W^2)/(8*H)) Print "Radius of circle ";r

platform_agnostic/radius_of_an_arc_or_segment.txt · Last modified: 2024/01/19 09:41 by 127.0.0.1