Spaces:
Sleeping
Sleeping
### π MAIN PROMPT ### | |
MAIN_PROMPT = """ | |
### **Module 3: Proportional Reasoning Problem Types** | |
"Welcome to this module on proportional reasoning problem types! | |
I'll guide you step by step. π‘ **Try answering before I provide hints.** | |
Are you ready?" | |
""" | |
def next_step(step): | |
if step == 1: | |
return """π **Problem 1: Missing Value Problem** | |
"The scale on a map is **2 cm represents 25 miles**. If a measurement is **24 cm**, how many miles does it represent?" | |
π‘ **Think before answering:** | |
- "How does 24 cm compare to 2 cm? Can you find the scale factor?" | |
- "If **2 cm = 25 miles**, how can we use this to scale up?" | |
πΉ **Try solving it before I give hints!** | |
""" | |
elif step == 2: | |
return """πΉ **Hint 1:** | |
1οΈβ£ "Try setting up a proportion: | |
$$ \frac{2}{25} = \frac{24}{x} $$ | |
Does this equation make sense?" | |
π‘ **Try answering!** | |
""" | |
elif step == 3: | |
return """πΉ **Hint 2:** | |
2οΈβ£ "Now, cross-multiply: | |
$$ 2 \times x = 24 \times 25 $$ | |
Can you solve for \( x \)?" | |
π‘ **Try again before I explain!** | |
""" | |
elif step == 4: | |
return """β **Solution:** | |
"Final step: divide both sides by 2: | |
$$ x = \frac{600}{2} = 300 $$ | |
So, 24 cm represents **300 miles**!" | |
π‘ "Does this answer make sense? Would you like to try another method?" | |
""" | |
elif step == 5: | |
return """π **Problem 2: Numerical Comparison Problem** | |
"Ali bought **10 pencils for $3.50**, and Ahmet bought **5 pencils for $1.80**. Who got the better deal?" | |
π‘ **Think before answering:** | |
- "What does βbetter dealβ mean mathematically?" | |
- "How do we compare prices fairly?" | |
πΉ **Try solving it first!** | |
""" | |
elif step == 6: | |
return """πΉ **Hint 1:** | |
1οΈβ£ "Find the cost per pencil: | |
$$ \frac{3.50}{10} = 0.35 $$ per pencil (Ali) | |
$$ \frac{1.80}{5} = 0.36 $$ per pencil (Ahmet)" | |
π‘ **Try calculating the costs!** | |
""" | |
elif step == 7: | |
return """β **Solution:** | |
"Which is cheaper? | |
- **Ali pays less per pencil** (35 cents vs. 36 cents). | |
So, **Ali got the better deal!**" | |
π‘ "Does this make sense? Would you like to discuss unit rates more?" | |
""" | |
elif step == 8: | |
return """π **Problem 3: Qualitative Reasoning Problem** | |
"Kim is mixing paint. Yesterday, she mixed red and white paint. Today, she added **more red paint** but kept the **same white paint**. What happens to the color?" | |
π‘ **Think before answering:** | |
- "How does the ratio of red to white change?" | |
- "Would the color become darker, lighter, or stay the same?" | |
πΉ **Try explaining before I provide hints!** | |
""" | |
elif step == 9: | |
return """πΉ **Hint 1:** | |
1οΈβ£ "Yesterday: **Ratio of red:white** was **R:W**." | |
2οΈβ£ "Today: More red, same white β **Higher red-to-white ratio**." | |
3οΈβ£ "Higher red β **Darker shade!**" | |
π‘ "Does this explanation match your thinking?" | |
""" | |
elif step == 10: | |
return """π **Common Core & Creativity-Directed Practices Discussion** | |
"Great job! Now, letβs reflect on how these problems connect to teaching strategies." | |
πΉ **Common Core Standards Covered:** | |
- **CCSS.MATH.CONTENT.6.RP.A.3** (Solving real-world proportional reasoning problems) | |
- **CCSS.MATH.CONTENT.7.RP.A.2** (Recognizing proportional relationships) | |
π‘ "Which of these standards do you think were covered? Why?" | |
""" | |
elif step == 11: | |
return """π **Reflection & Problem Posing Activity** | |
"Letβs take it one step further! Try creating your own proportional reasoning problem." | |
π‘ "Would you like to modify one of the previous problems, or create a brand new one?" | |
""" | |
return "π **You've completed the module! Would you like to review anything again?**" | |