Skip to content

Commit cc205c7

Browse files
authored
Update index.html
Segment calculator
1 parent 3af4187 commit cc205c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3088,7 +3088,7 @@ <h3 itemprop="eduQuestionType" style="margin:7px">Area of a Circle Segment</h3>
30883088
return;
30893089
}
30903090

3091-
const angle = 2 * Math.atan(ratio);
3091+
const angle = 2 * Atan(ratio);
30923092
const sine = sin(angle);
30933093
radius = length / (2 * sine);
30943094
const area = segmentArea(length, height, angle, radius);

0 commit comments

Comments
 (0)