File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
18061797if ( height > radius ) {
18071798 document . getElementById ( 'cap-volume' ) . innerText = 'The height of a spherical cap is shorter than its radius.' ;
You can’t perform that action at this time.
0 commit comments