Skip to content

Commit 41e932e

Browse files
authored
Update index.html
1 parent 89590a5 commit 41e932e

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
@@ -3307,7 +3307,7 @@ <h3 itemprop="name" style="margin:7px">Area of a Circle Segment</h3>
33073307

33083308
const ratio = (radius - height) / radius;
33093309
const angle = parseFloat(Acos(ratio));
3310-
const length = parseFloat(2 * sqrt(radius**2 - (radius - height)**2);
3310+
const length = parseFloat(2 * sqrt(radius**2 - (radius - height)**2));
33113311

33123312
document.getElementById('segment-area').innerText =
33133313
`Area: ${area.toFixed(5)} square units`;

0 commit comments

Comments
 (0)