We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb24feb commit a8c351dCopy full SHA for a8c351d
1 file changed
index.html
@@ -3070,10 +3070,6 @@ <h3 itemprop="eduQuestionType" style="margin:7px">Area of a Circle Segment</h3>
3070
const chordLength = 2 * Math.sqrt(radius ** 2 - (radius - height) ** 2);
3071
const area = segmentArea(chordLength, height, angle, radius);
3072
3073
- if (radius === height) {
3074
- document.getElementById('segment-area').innerText =
3075
- `Area of semi-circle: ${area.toFixed(5)} square units`;
3076
- } else {
3077
document.getElementById('segment-area').innerText =
3078
`Area: ${area.toFixed(5)} square units`;
3079
}
0 commit comments