Distance-Time Graph Example
Loading the math board and drawing, please wait…
In collections
Primary School Mathematics Collection
This distance-time graph is suitable for classroom demonstration or self-review. It illustrates the movement of an object over different time intervals, involving linear functions. Using GeoGebra commands such as Segment, Function, If, Sequence, etc., you can dynamically adjust the journey parts, suitable for middle school students.
GeoGebra Commands & Parameters
Segment(A, B) → aFunction(((-(x(a) / y(a))) * x) - z(a) / y(a), x(A), x(B)) → f_{AB}Segment(B, C) → bIf(npart > 1, If[x(B) ≤ x ≤ x(C), ((-(x(b) / y(b))) * x) - z(b) / y(b)], f_{AB}) → f_{BC}Segment(C, D) → cIf(npart > 2, If[x(C) ≤ x ≤ x(D), ((-(x(c) / y(c))) * x) - z(c) / y(c)], f_{BC}) → f_{CD}Segment(D, E) → eIf(npart > 3, If[x(D) ≤ x ≤ x(E), ((-(x(e) / y(e))) * x) - z(e) / y(e)], f_{CD}) → f_{DE}Segment(E, F) → gIf(npart > 4, If[x(E) ≤ x ≤ x(F), ((-(x(g) / y(g))) * x) - z(g) / y(g)], f_{DE}) → f_{EF}If(t < x(B), f_{AB}, If[t < x(C), f_{BC}, If[t < x(D), f_{CD}, If[t < x(E), f_{DE}, If[t < x(F), f_{EF}, f_{end}]]]]) → fIf(turningback, ((-viewwidth)) / ((2 * carsizefactor)), viewwidth / ((2 * carsizefactor))) → halfcarwidthFunction(((-viewheight)) / 5, 0, 10000) → f_{distanceline}Sequence((i / journeylinescale, journeylineseparator), i, 0, 10000, 50) → listxaxisticksSequence(Text[i, (i / journeylinescale, journeylineseparator), true, true], i, 0, 10000, 50) → list1Vector((x(C_2), y(C_2) + (0.05 * viewheight)), C_2) → wMidpoint(a) → P_{midAB}Midpoint(b) → P_{midBC}Midpoint(c) → P_{midCD}If(t < x(B), abs(y(Q) - y(A)), If[t < x(C), abs(y(B) - y(A)) + abs(y(Q) - y(B)), If[t < x(D), abs(y(B) - y(A)) + abs(y(C) - y(B)) + abs(y(Q) - y(C)), If[t < x(E), abs(y(B) - y(A)) + abs(y(C) - y(B)) + abs(y(D) - y(C)) + abs(y(Q) - y(D)), If[t < x(F), abs(y(B) - y(A)) + abs(y(C) - y(B)) + abs(y(D) - y(C)) + abs(y(E) - y(D)) + abs(y(Q) - y(E)), totaljourneydistance]]]]) → totaldistancetravelled
AI Drawing Prompt Reference
Create a distance-time graph showing an object's movement over different time intervals. Start by drawing a line segment from point A to B, then add segments from B to C, C to D, D to E, and E to F, each representing a movement phase. Use functions to represent each segment's movement and dynamically adjust the phases with conditional statements. Finally, add a distance axis and time ticks to show the total distance traveled.
The prompt above was compiled from the original drawing commands and is for reference only.