Actual Room Dimensions – Level 2 (Decimals)
Loading the math board and drawing, please wait…
In collections
Maßstab
① This example shows how to reconstruct the real dimensions of a room from a scaled drawing and express the results as decimals. ② Key mathematical concepts include scale conversion, length measurement, decimal arithmetic, and geometric construction of polygons. ③ Construction highlights: Polygon creates the room outline; Length computes side lengths; Shuffle and Element randomize problem instances; Textfield and InputBox capture student answers; Append/Remove manage dynamic object lists; validate, showanswer, and related commands handle answer checking, solution display, and retry logic. ④ Suitable for grades 5‑6 measurement and proportion lessons, and as an introductory activity for geometric construction and numeric computation in lower secondary school.
GeoGebra Commands & Parameters
Shuffle(l1) → task, {4, 2, 12, 10, 5, 3, 13, 1, 11, 7, 15, 6, 8, 14, 9}Element(task, switch) → nTextfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {10, 4, 1, 7, 3, 4, 8, 10, 3, 9, 6, 4, 1, 1, 4, 9, 0, 2, 5, 7, 0, 5, 7, 2, 5, 0, 0, 5, 1, 9, 1, 7, 10, 0, 1, 9, 2, 0, 0, 1, 8, 9, 8, 10, 1, 5, 7, 0, 4, 7, 10, 9, 3, 7, 8, 10, 2, 9, 9, 3, 9, 4, 0, 4, 1, 1, 5, 2, 10, 0, 7, 2, 0, 8, 8, 9, 3, 5, 10, 7, 6, 2, 3, 3, 7, 5, 10, 4, 0, 7, 8, 1, 1, 7, 3, 1, 7, 0, 9, 10}Element(randomNosForX, Mod[questionCount, 100] + 1) → numXShuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {7, 7, 4, 5, 7, 5, 3, 6, 5, 10, 0, 9, 6, 3, 2, 6, 1, 4, 1, 1, 4, 5, 5, 1, 9, 7, 9, 5, 3, 0, 0, 8, 2, 5, 8, 9, 7, 4, 4, 0, 6, 7, 10, 5, 8, 8, 1, 9, 1, 7, 6, 4, 10, 2, 9, 0, 0, 8, 5, 7, 8, 3, 7, 9, 10, 0, 7, 1, 0, 4, 5, 6, 3, 1, 5, 9, 1, 2, 6, 0, 1, 10, 1, 7, 10, 1, 0, 2, 2, 6, 7, 6, 0, 10, 8, 10, 3, 7, 1, 9}Element(randomNosForY, Mod[questionCount, 100] + 1) → numYAppend(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayXAppend(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayYRemove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatRemove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeatElement(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeatElement(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeatPolygon(A, B, C, D) → q1, a, b, c, dLength(task) → numberOfQuestions
AI Drawing Prompt Reference
Draw a scaled room floor plan where four randomly generated corner points form a rectangle; compute and display the side lengths, provide two input fields for the student to enter the actual length and width as decimals, and include a feedback rectangle for answer comparison; the app should randomize multiple problem instances, validate answers, show the correct solution, and allow retries.
The prompt above was compiled from the original drawing commands and is for reference only.