Speed Time Graph Example (Customizable)

Speed Time Graph Example (Customizable)
Loading the math board and drawing, please wait…
2014-04-20 15:31
This example uses an interactive applet to demonstrate speed-time graphs, suitable for self-directed learning. It can model up to 5 distinct parts of given text problems. Through the GeoGebra commands listed in the construction summary, such as Segment, Function, Integral, etc., the construction process of speed-time graphs can be clearly understood. Suitable for students and teachers at the junior high school level and above.

GeoGebra Commands & Parameters

  1. Segment(E, F) → j
  2. Function(((-(x(j) / y(j))) * x) - z(j) / y(j), x(E), x(F)) → f_{EF}
  3. Integral(f_{EF}, x(E), x(F)) → area_{EF}
  4. Segment(D, E) → i
  5. Function(((-(x(i) / y(i))) * x) - z(i) / y(i), x(D), x(E)) → f_{DE}
  6. Integral(f_{DE}, x(D), x(E)) → area_{DE}
  7. Segment(C, D) → c
  8. Function(((-(x(c) / y(c))) * x) - z(c) / y(c), x(C), x(D)) → f_{CD}
  9. Integral(f_{CD}, x(C), x(D)) → area_{CD}
  10. Segment(B, C) → b
  11. Function(((-(x(b) / y(b))) * x) - z(b) / y(b), x(B), x(C)) → f_{BC}
  12. Integral(f_{BC}, x(B), x(C)) → area_{BC}
  13. Segment(A, B) → a
  14. Function(((-(x(a) / y(a))) * x) - z(a) / y(a), x(A), x(B)) → f_{AB}
  15. Integral(f_{AB}, x(A), x(B)) → area_{AB}
  16. 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}]]]]) → f
  17. Integral(f_{EF}, x(E), x(Q)) → area_{EQF}
  18. If(x(Q) < x(E), 0, If[x(Q) < x(F), area_{EQF}, area_{EF}]) → distanceunderEF
  19. Integral(f_{DE}, x(D), x(Q)) → area_{DQE}
  20. If(x(Q) < x(D), 0, If[x(Q) < x(E), area_{DQE}, area_{DE}]) → distanceunderDE
  21. Integral(f_{CD}, x(C), x(Q)) → area_{CQD}
  22. If(x(Q) < x(C), 0, If[x(Q) < x(D), area_{CQD}, area_{CD}]) → distanceunderCD
  23. Integral(f_{BC}, x(B), x(Q)) → area_{BQC}
  24. If(x(Q) < x(B), 0, If[x(Q) < x(C), area_{BQC}, area_{BC}]) → distanceunderBC
  25. Integral(f_{AB}, x(A), x(Q)) → area_{AQB}
  26. If(x(Q) < x(A), 0, If[x(Q) < x(B), area_{AQB}, area_{AB}]) → distanceunderAB
  27. If(turningback, ((-viewwidth)) / ((2 * carsizefactor)), viewwidth / ((2 * carsizefactor))) → halfcarwidth
  28. Derivative(f) → f_{derivative}
  29. Function(journeylineseparator2, 0, 10000) → f_{distanceline}
  30. Vector((x(C_2), y(C_2) + (0.05 * viewheight)), C_2) → w
  31. Midpoint(a) → P_{midAB}
  32. Midpoint(b) → P_{midBC}
  33. Midpoint(c) → P_{midCD}
  34. Function(Integral[f_{AB}] / yaxisdistancescaleadjustable, x(A), x(B)) → g_{AB}
  35. Segment((0, 0), (0, y(Corner[1, 4]))) → Ydistanceaxis
  36. Segment((0, 0), (x(Corner[1, 2]), 0)) → Xdistanceaxis
  37. Sequence((i, 0), i, 0, viewwidth, AxisStepX[]) → listxaxisdistanceticks
  38. Function((Integral[f_{BC}] - Integral[f_{BC}, x(A), x(B)] + Integral[f_{AB}, x(A), x(B)]) / yaxisdistancescaleadjustable, x(B), x(C)) → g_{BC}
  39. Function((Integral[f_{CD}] - Integral[f_{CD}, x(A), x(C)] + Integral[f_{BC}, x(B), x(C)] + Integral[f_{AB}, x(A), x(B)]) / yaxisdistancescaleadjustable, x(C), x(D)) → g_{CD}
  40. Sequence(Text[i, (i - AxisStepX[] / 8, ((-AxisStepY[]) * 1 / 3)), true, false], i, 0, viewwidth, AxisStepX[]) → listx
  41. Function((Integral[f_{DE}] - Integral[f_{DE}, x(A), x(D)] + Integral[f_{CD}, x(C), x(D)] + Integral[f_{BC}, x(B), x(C)] + Integral[f_{AB}, x(A), x(B)]) / yaxisdistancescaleadjustable, x(D), x(E)) → g_{DE}
  42. Function((Integral[f_{EF}] - Integral[f_{EF}, x(A), x(E)] + Integral[f_{DE}, x(D), x(E)] + Integral[f_{CD}, x(C), x(D)] + Integral[f_{BC}, x(B), x(C)] + Integral[f_{AB}, x(A), x(B)]) / yaxisdistancescaleadjustable, x(E), x(F)) → g_{EF}
  43. Sequence(Text[i, (i / journeylinescale, journeylineseparator), true, true], i, 0, 10000, journeylineinterval) → list1
  44. Sequence((i / journeylinescale, journeylineseparator), i, 0, 10000, journeylineinterval) → listxaxisticks
  45. Vector(K, K_{atyaxis}) → u
  46. Vector(K, K_{atxaxis}) → v_d
  47. Segment((x(Corner[2]) - (0.1 * (x(Corner[2]) - x(Corner[1]))), 0), (x(Corner[2]) - (0.1 * (x(Corner[2]) - x(Corner[1]))), y(Corner[4]))) → rightDistanceAxis
  48. Sequence(Text[i, (x(Corner[2]) - (0.1 * (x(Corner[2]) - x(Corner[1]))) + (AxisStepX[] * 1 / 4), i / yaxisdistancescaleadjustable), true, false], i, 0, (ceil((totaljourneydistance + yaxisdistancelineinterval) / 10) * 10), yaxisdistancelineinterval) → listy
  49. Sequence((x(Corner[2]) - (0.1 * (x(Corner[2]) - x(Corner[1]))), i / yaxisdistancescaleadjustable), i, 0, (ceil((totaljourneydistance + yaxisdistancelineinterval) / 10) * 10), yaxisdistancelineinterval) → listyaxisdistanceticks
  50. Midpoint(K, K_{atyaxis}) → K_m
  51. Vector(Q, (0, y(Q))) → v_s
  52. Midpoint(Q, (0, y(Q))) → P_{speedtext}

AI Drawing Prompt Reference

Draw a customizable speed-time graph with time on the horizontal axis and speed on the vertical axis. The graph consists of five consecutive time intervals, each represented by a straight line segment connecting endpoints, forming a piecewise linear function. Shade the area under each segment down to the time axis to represent displacement for that interval. Also plot a cumulative distance curve that starts at the origin and increases by adding each interval's area, resulting in a rising polyline. Include coordinate axes, tick labels, grid lines, and a movable vertical reference line to inspect speed and cumulative distance at any time.
The prompt above was compiled from the original drawing commands and is for reference only.