Skip to content

Commit 0acb3a7

Browse files
authored
Update index.html
1 parent fbd486e commit 0acb3a7

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

index.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ <h3 itemprop="name">Dividing Fractions</h3>
773773
<mo>&#x00D7;</mo>
774774
<mfrac>
775775
<mn>1</mn>
776-
<mfrac><mn>3</mn><mn>2</mn></mfrac>
776+
<mrow><mo>(</mo><mfrac><mn>3</mn><mn>2</mn></mfrac><mo>)</mo></mrow>
777777
</mfrac>
778778
<mo>=</mo>
779779
<mfrac><mn>5</mn><mn>4</mn></mfrac>
@@ -3275,9 +3275,6 @@ <h3 itemprop="name" style="margin:7px">Area of a Circle Segment</h3>
32753275
<br>
32763276
<label for="segment-height">Height:</label>
32773277
<input id="segment-height" type="number" value="1" step="any">
3278-
<br>
3279-
<label for="segment-parent-radius">Radius:</label>
3280-
<input id="segment-parent-radius" type="number" value="1" step="any">
32813278
<script>
32823279
function segmentArea(length, height, angle, radius) {
32833280
return angle * radius ** 2 - (radius - height) * length / 2;
@@ -3286,7 +3283,6 @@ <h3 itemprop="name" style="margin:7px">Area of a Circle Segment</h3>
32863283
function updateSegmentArea() {
32873284
const length = parseFloat(document.getElementById('segment-length').value);
32883285
const height = parseFloat(document.getElementById('segment-height').value);
3289-
const radius = parseFloat(document.getElementById('segment-parent-radius').value);
32903286

32913287
if (isNaN(length) || isNaN(height) || height === 0) {
32923288
document.getElementById('segment-area').innerText = '';
@@ -3324,7 +3320,6 @@ <h3 itemprop="name" style="margin:7px">Area of a Circle Segment</h3>
33243320

33253321
document.getElementById('segment-length').addEventListener('input', updateSegmentArea);
33263322
document.getElementById('segment-height').addEventListener('input', updateSegmentArea);
3327-
document.getElementById('segment-parent-radius').addEventListener('input', updateSegmentArea);
33283323
</script>
33293324
<p id="segment-area"></p>
33303325
</div>

0 commit comments

Comments
 (0)