Skip to content

Commit f1f02ea

Browse files
authored
Update index.html
1 parent c8ff6ef commit f1f02ea

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

index.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,11 +1501,7 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
15011501
document.getElementById('segment-area').innerText = '';
15021502
return;
15031503
}
1504-
1505-
if ( ratio === 1) {
1506-
document.getElementById('segment-area').innerText = 'If it is twice as long as high that is a semi-circle.';
1507-
return;
1508-
}
1504+
15091505
if ( ratio > 1) {
15101506
document.getElementById('segment-area').innerText = 'A circle-segment is less than half as high as long.';
15111507
return;
@@ -1797,11 +1793,6 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
17971793
}
17981794

17991795
// Cap validity check
1800-
1801-
if ( height === radius) {
1802-
document.getElementById('cap-volume').innerText = 'If the radius equals the height that is a hemisphere.';
1803-
return;
1804-
}
18051796

18061797
if ( height > radius) {
18071798
document.getElementById('cap-volume').innerText = 'The height of a spherical cap is shorter than its radius.';

0 commit comments

Comments
 (0)