Skip to content

Commit 397b3bd

Browse files
authored
Update index.html
1 parent 1362f3f commit 397b3bd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,10 +1476,6 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
14761476

14771477
// Segment validity check
14781478

1479-
if (ratio < 0.11 || ratio > 1) {
1480-
document.getElementById('segment-area').innerText = 'The ratio is out of range';
1481-
return;
1482-
}
14831479

14841480
const angle = parseFloat(2 * Atan(ratio));
14851481
const sine = parseFloat(sin(angle));

0 commit comments

Comments
 (0)