Linear Function Modeling Charity Walkathon Example

Linear Function Modeling Charity Walkathon Example
Loading the math board and drawing, please wait…
2015-09-02 03:53
This example demonstrates how to model the amount of money Garrett raises for charity using the linear function d=50m+120. Key mathematical concepts include linear functions, variable relationships, and practical applications. Construction involves GeoGebra commands like Segment, Distance, OrthogonalLine. Suitable for middle school students learning function modeling and data analysis.

GeoGebra Commands & Parameters

  1. Segment(C_0, (x(C_0), 0)) → D_1
  2. Distance(L2, D_1) → val1
  3. LaTeX("\text{Identify the domain of the function.}") → text1
  4. LaTeX("\text{depends on the number of miles he walks.}") → text7
  5. LaTeX("\text{Garrett cannot walk a negative number of miles, and right when he starts, the number of}") → text8
  6. LaTeX("\text{In this case, the independent variable is \textcolor{#000099}{m}, the number of miles Garrett walks, because}") → text4
  7. LaTeX("\text{its value is not determined by \textcolor{#000099}{d}. That is, the number of miles Garrett walks does not}") → text5
  8. LaTeX("\text{Identify the range of the function.}") → text12
  9. LaTeX("\text{The range of a linear function is all the possible values of the function’s dependent}") → text13
  10. LaTeX("\text{variable.}") → text14
  11. LaTeX("\text{Garrett raises depends on the number of miles he walks.}") → text17
  12. LaTeX("\text{In this case, the dependent variable is \textcolor{#000099}{d}, which represents the number of dollars Garrett }") → text15
  13. LaTeX("\text{raises, because its value is determined by \textcolor{#000099}{m}. In other words, the amount of money}") → text16
  14. LaTeX((("\text{symbolically, \textcolor{#000099}{d ≥ " * dollars) * "}.}")) → text21
  15. LaTeX("\text{the domain of the function is all real numbers \textcolor{#000099}{m} such that \textcolor{#000099}{m} is greater than or equal to}") → text10
  16. LaTeX((("\text{range of the function is all real numbers \textcolor{#000099}{d} such that \textcolor{#000099}{d} is greater than or equal to \textcolor{#000099}{" * dollars) * "} or,}")) → text20
  17. LaTeX((("\text{\textcolor{#000099}{m} \textendash number of miles; \textcolor{#000099}{d} \textendash number of dollars; \textcolor{#000099}{" * money) * "} \textendash money donated by Garrett}")) → Question2
  18. OrthogonalLine(L2, xAxis) → c
  19. LaTeX("\text{The domain of a linear function is all the possible values of the function’s independent variable.}") → text2
  20. OrthogonalLine(L2, xAxis) → k
  21. LaTeX((((((((("\text{he can raise is \textcolor{#000099}{" * distance) * "(") * val2) * ") + ") * money) * " = ") * dollars) * "}. In theory, there is no maximum. Therefore, the}")) → text19
  22. LaTeX("\text{m}") → text22
  23. LaTeX((("\text{Since the minimum number of miles Garrett can walk is \textcolor{#000099}{" * val2) * "}, the minimum number of dollars}")) → text18
  24. LaTeX((("\text{miles he will have walked is \textcolor{#000099}{" * val2) * "}. In theory, there is no maximum value for \textcolor{#000099}{m}. Therefore,}")) → text9
  25. LaTeX((((("\text{ \textcolor{#000099}{" * val2) * "} or, symbolically, \textcolor{#000099}{m ≥ ") * val2) * "}.}")) → text11
  26. LaTeX((("\text{Number of miles=" * val2) * "}")) → text26
  27. LaTeX("\text{depend on the amount of money he raises \textendash instead, the amount of money he raises }") → text6
  28. Sequence(Segment[A_0 + (i, 0), A_0 + (i, (-0.5))], i, 0, 10) → list1
  29. Sequence(Segment[A_0 + (i - 0.5, 0), A_0 + (i - 0.5, (-0.4))], i, 1, 10) → list2
  30. Sequence(Sequence[Segment[A_0 + ((0.5 * i) + (0.1 * j), 0), A_0 + ((0.5 * i) + (0.1 * j), (-0.3))], j, 1, 4], i, 0, 19) → list3
  31. Segment((0, 0), (0, 1)) → i
  32. Vector(B_0, C_0) → u
  33. LaTeX("\text{0}") → scalevalue1
  34. LaTeX("\text{5}") → scalevalue2
  35. LaTeX("\text{10}") → scalevalue3
  36. LaTeX("\text{15}") → scalevalue4
  37. LaTeX("\text{20}") → scalevalue5
  38. LaTeX("\text{25}") → scalevalue6
  39. LaTeX("\text{30}") → scalevalue7
  40. LaTeX("\text{35}") → scalevalue8
  41. LaTeX("\text{40}") → scalevalue9
  42. LaTeX("\text{45}") → scalevalue10
  43. LaTeX("\text{50}") → scalevalue11
  44. Segment(D_0, A_0) → Scaleline
  45. LaTeX("\text{the function}") → text24
  46. LaTeX("\text{the function}") → text27
  47. LaTeX("\text{\mathbf{Linear \;function}}\; \text{a function that can be written in the form \textcolor{#000099}{f(x)=mx+b}, in}") → text30
  48. LaTeX("\text{\mathbf{Range}}\text{ the set of all outputs of a function; the set of \textcolor{#000099}{y}-values that are valid for }") → text32
  49. LaTeX("\text{\mathbf{Domain}} \text{ the set of all inputs of a function; the set of \textcolor{#000099}{x}-values that are valid for }") → text31
  50. LaTeX("\text{which \textcolor{#000099}{m} is the slope, \textcolor{#000099}{b} is the \textcolor{#000099}{y}-intercept, and the graph is a straight line }") → text3
  51. LaTeX((((("\text{Solve the linear function \textcolor{#000099}{d = " * distance) * "m + ") * money) * "}.}")) → Question1

AI Drawing Prompt Reference

Draw a coordinate system with the x-axis representing the number of miles walked (m) and the y-axis representing the amount of money raised in dollars (d). Plot a slanted line representing the linear function d=50m+120. Label the function equation and mark tick values on both axes from 0 to 50 in increments of 5. Include text explaining that the domain is m≥0 (Garrett cannot walk a negative number of miles) and the range is d≥120 (the base donation even without walking). Annotate the independent variable m and dependent variable d, explaining their meanings and relationship. Present a complete function graph with explanatory mathematical text about domain and range.
The prompt above was compiled from the original drawing commands and is for reference only.