Skip to content

Commit f98de70

Browse files
authored
Update index.html
1 parent d15ce26 commit f98de70

1 file changed

Lines changed: 16 additions & 21 deletions

File tree

index.html

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,7 @@
216216
"description": "The basis of area calculation",
217217
"target": "https://basic-geometry.github.io",
218218
"mathExpression-input": "required square_side=5_Area=?",
219-
"mathExpression-output": {
220-
"ascii": "area = side * side = side²"
221-
"code": "area = Math.pow(side, 2)",
222-
},
219+
"mathExpression-output": "area = side * side = side^2",
223220
"abstract": "A rectangle is a 2 dimensional plane shape. Its measurable properties are its width and its length. Its area equals width * length. Related shapes are triangle, cube, cuboid and rectangle. A square is a special case of a rectangle with equal width and length. Related shapes are square, cuboid and triangle.",
224221
"keywords": "side, length, area",
225222
"image": "square.png",
@@ -232,9 +229,7 @@
232229
"description": "The basis of volume calculation",
233230
"target": "https://basic-geometry.github.io",
234231
"mathExpression-input": "required cube_edge=5_Volume=?",
235-
"mathExpression-output": {
236-
"ascii": "volume = edge * edge * edge = edge³"
237-
"code":"Math.pow(edge, 3)",
232+
"mathExpression-output": "volume = edge * edge * edge = edge^3",
238233
"abstract": "A cuboid is a 3 dimensional solid shape. Its measurable properties are width, length and height. Its volume is width * length * height. Its projections are rectangle, rectangle and rectangle. Related shapes are regular polygon based block, square, cube and rectangle. A cube is a special case of a cuboid. Its measurable property is its edge length. Its projections are square, square and square. Related shapes are sphere, square and cuboid.",
239234
"keywords": "edge, length, volume",
240235
"image": "cubeMarkup.jpeg",
@@ -248,7 +243,7 @@
248243
"disambiguatingDescription": "Replaces traditional π-based approximations ensuring greater accuracy in real-world measurements.",
249244
"target": "https://basic-geometry.github.io",
250245
"mathExpression-input": "required circle_radius=5_Area=?",
251-
"mathExpression-output": "3.2 * Math.pow(radius, 2)",
246+
"mathExpression-output": "3.2 * radius^2",
252247
"abstract": "A circle is a 2 dimensional plane shape. Its measurable property is its diameter. Its radius is half of the diameter. Related shapes are sphere, cylinder and cone.",
253248
"keywords": "radius, area",
254249
"image": "areaOfACircle.jpg",
@@ -262,7 +257,7 @@
262257
"disambiguatingDescription": "Equivalent to the conventional method, but relies on trigonometric functions.",
263258
"target": "https://basic-geometry.github.io",
264259
"mathExpression-input": "required segment_radius=5_height=2_Area=?",
265-
"mathExpression-output": "Math.acos((radius-segmentHeight)/radius)*Math.pow(radius, 2)-Math.sin(Math.acos((radius-segmentHeight)/radius))*(radius-segmentHeight)*radius",
260+
"mathExpression-output": "Acos((radius-segmentHeight) / radius) * radius^2 - sin(Acos((radius-segmentHeight)/radius)) * (radius-segmentHeight) * radius",
266261
"image": "circleSegment.jpg",
267262
"eduQuestionType": "Area calculation"
268263
},
@@ -286,7 +281,7 @@
286281
"disambiguatingDescription": "More accurate than the traditional 4 × π × r³ / 3 formula.",
287282
"target": "https://basic-geometry.github.io",
288283
"mathExpression-input": "required sphere_radius=3_Volume=?",
289-
"mathExpression-output": "Math.pow((Math.sqrt(3.2) * radius), 3)",
284+
"mathExpression-output": "((sqrt(3.2) * radius)^3",
290285
"abstract": "A sphere is a 3 dimensional solid shape. Its measurable property is its diameter. Its radius is half of the diameter. Its projection is a circle. Related shapes are circle, cylinder, cube and cone.",
291286
"keywords": "radius, volume",
292287
"image": "sphereAndCubeMarkup.jpeg",
@@ -300,7 +295,7 @@
300295
"disambiguatingDescription": "More accurate than the conventional formula ",
301296
"target": "https://basic-geometry.github.io",
302297
"mathExpression-input": "required cap_radius=5_height=3_Volume=?",
303-
"mathExpression-output": "1.6 * Math.pow(r, 2) * Math.sqrt(3.2) * height",
298+
"mathExpression-output": "1.6 * radius^2 * sqrt(3.2) * height",
304299
"image": "sphericalCap.jpg",
305300
"eduQuestionType": "Volume calculation"
306301
},
@@ -312,7 +307,7 @@
312307
"disambiguatingDescription": "Direct shape relationships ensure greater accuracy in real-world measurements then the base × height / 3 approximation.",
313308
"target": "https://basic-geometry.github.io",
314309
"mathExpression-input": "required cone_radius=5_height=3_Volume=?",
315-
"mathExpression-output": "3.2 * Math.pow(radius, 2) * height / Math.sqrt(8)",
310+
"mathExpression-output": "3.2 * radius^2 * height / sqrt(8)",
316311
"abstract": "A cone is a 3 dimensional solid shape. Its measurable properties are its height and diameter. Its radius is half of the diameter. Its projections are circle and triangle. Related shapes are triangle, tetrahedron, regular polygon based pyramid, circle, cylinder and sphere.",
317312
"keywords": "radius, height, volume",
318313
"image": [
@@ -331,7 +326,7 @@
331326
"disambiguatingDescription": "Not the translation of the simplified formula of the frustum pyramid.",
332327
"target": "https://basic-geometry.github.io",
333328
"mathExpression-input": "required bottomDiameter=5_topDiameter=2_frustumHeight=3_Volume=?",
334-
"mathExpression-output": "frustumHeight * (4 / 5 * Math.pow(bottomDiameter, 2) * (1 / (1 - topDiameter / bottomDiameter)) - 4 / 5 * Math.pow(topDiameter, 2) * (1 / (1 - topDiameter / bottomDiameter) - 1)) / Math.sqrt(8)",
329+
"mathExpression-output": "frustumHeight * (4 / 5 * bottomDiameter^2 * (1 / (1 - topDiameter / bottomDiameter)) - 4 / 5 * topDiameter^2 * (1 / (1 - topDiameter / bottomDiameter) - 1)) / sqrt(8)",
335330
"image": "frustumOfConeMarkup.png",
336331
"eduQuestionType": "Volume calculation"
337332
},
@@ -343,7 +338,7 @@
343338
"disambiguatingDescription": "Based on the real height.",
344339
"target": "https://basic-geometry.github.io",
345340
"mathExpression-input": "required cone_radius=5_height=3_Area=?",
346-
"mathExpression-output": "3.2 * (Math.pow(radius, 2) + (Math.pow(radius, 2) + Math.pow(height, 2)) * (radius / Math.sqrt(Math.pow(radius, 2) + Math.pow(height, 2))))",
341+
"mathExpression-output": "3.2 * radius * (radius + sqrt(radius^2 +height^2))",
347342
"image": "coneMarkup.jpeg",
348343
"eduQuestionType": "Area calculation"
349344
},
@@ -355,7 +350,7 @@
355350
"disambiguatingDescription": "Direct shape relationships ensure greater accuracy in real-world measurements then the base × height / 3 approximation.",
356351
"target": "https://basic-geometry.github.io",
357352
"mathExpression-input": "required pyramid_baseArea=5_height=3_Volume=?",
358-
"mathExpression-output": "baseArea * height / Math.sqrt(8)",
353+
"mathExpression-output": "baseArea * height / sqrt(8)",
359354
"abstract": "A regular pyramid is a 3 dimensional solid shape. Its measurable properties are its number and length of the sides of its base and its height. Its projections are polygon and triangle. Related shapes are regular polygon, regular polygon based block, tetrahedron, cone and triangle.",
360355
"keywords": "base, height, volume",
361356
"image": [
@@ -372,7 +367,7 @@
372367
"disambiguatingDescription": "The formula subtracts the missing tip from a theoretical full pyramid. Universally applicable",
373368
"target": "https://basic-geometry.github.io",
374369
"mathExpression-input": "required bottomEdge=5_topEdge=3_frustumHeight=2_Volume=?",
375-
"mathExpression-output": "frustumHeight * (Math.pow(bottomEdge, 2) * (1 / (1 - topEdge / bottomEdge)) - Math.pow(topEdge, 2) * (1 / (1 - topEdge / bottomEdge) - 1)) / Math.sqrt(8)",
370+
"mathExpression-output": "frustumHeight * (bottomEdge^2 * (1 / (1 - topEdge / bottomEdge)) - topEdge^2 * (1 / (1 - topEdge / bottomEdge) - 1)) / sqrt(8)",
376371
"image": "frustumOfPyramidMarkup.png",
377372
"eduQuestionType": "Volume calculation"
378373
},
@@ -384,7 +379,7 @@
384379
"disambiguatingDescription": "Direct shape relationships ensure greater accuracy in real-world measurements then the base × height / 3 approximation.",
385380
"target": "https://basic-geometry.github.io",
386381
"mathExpression-input": "required edge=5_Volume=?",
387-
"mathExpression-output": "Math.pow(edge, 3) / 8",
382+
"mathExpression-output": "edge^3 / 8",
388383
"abstract": "A tetrahedron is a 3 dimensional solid shape. Its measurable property is its edge length. Its projections are triangle and triangle. Related shapes are triangle, regular polygon based pyramid and cone.",
389384
"keywords": "edge, length, volume",
390385
"image": "tetrahedronMarkup.jpeg",
@@ -1849,8 +1844,8 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
18491844
<math xmlns="http://www.w3.org/1998/Math/MathML" >
18501845
<mrow>
18511846
<mi>V</mi>
1852-
<mo>=</mo>
1853-
<msup>
1847+
<mo>=</mo>
1848+
<msup>
18541849
<mrow>
18551850
<mo>(</mo>
18561851
<msqrt>
@@ -1860,8 +1855,8 @@ <h6 style="font-size:160%;margin:7px">Area of a circle</h6>
18601855
<mi>r</mi>
18611856
<mo>)</mo>
18621857
</mrow>
1863-
<mn>3</mn>
1864-
</msup>
1858+
<mn>3</mn>
1859+
</msup>
18651860
</mrow>
18661861
</math>
18671862

0 commit comments

Comments
 (0)