Still experimenting

This commit is contained in:
abdulhakeem 2025-01-30 23:44:12 -06:00
parent a3378bd95f
commit ff13dc6825
357 changed files with 2888 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{
"question": "If Chester eats 3 eggs a day for 30 days and then increases it to 5 eggs a day for 30 days, how many dozens of eggs will Chester need for 60 days?",
"answer": "He starts off eating 3 eggs a day for 30 days for a total of 3*30 = <<3*30=90>>90 eggs\nThen he increases it to 5 eggs a day for 30 days for a total of 5*30 = <<5*30=150>>150 eggs\nAll total he will eat 90+150 = <<90+150=240>>240 eggs\nThere are 12 eggs in 1 dozen and he will 240 eggs which is 240/12 = 20 dozen eggs\n#### 20",
"id_orig": 1141,
"id_shuffled": 99,
"question_annotated": "If {name,Chester} eats {n1,3} {food,eggs} a day for {d1,30} days and then increases it to {n2,5} {food,eggs} a day for the rest of the days, how many dozens of {food,eggs} will {name,Chester} need for {k,2} weeks?\n\n#init:\n- name = sample(names)\n- food = sample(['eggs', 'waffles', 'pancakes', 'hotdogs', 'brownies', 'cookies'])\n- $n1 = range(2, 11)\n- $n2 = range(4, 13)\n- $d1 = range(10, 110)\n- $d2 = range(10, 110)\n- $k = range(2, 15)\n\n#conditions:\n- k * 7 == d1 + d2\n- n2 > n1\n- divides(n1*d1 + n2*d2, 12)\n\n#answer: (n1*d1 + n2*d2) // 12",
"answer_annotated": "{name} starts off eating {n1} {food} a day for {d1} days for a total of {n1}*{d1} = <<{n1}*{d1}={n1*d1}>>{n1*d1} {food}.\n{k} weeks is {k*7} days because {k} * 7 = {k*7}. For the rest of the days, {name} will eat {n2} {food} per day. That would be {k*7} - {d1} = {d2} days.\nThe number of {food} {name} will eat in those {d2} days will be {n2*d2} because {n2}*{d2} = <<{n2}*{d2}={n2*d2}>>{n2*d2} {food}.\nAll total {name} will eat {n1*d1}+{n2*d2} = <<{n1*d1}+{n2*d2}={n1*d1+n2*d2}>>{n1*d1+n2*d2} {food}\nThere are 12 {food} in a dozen {food}, so {name} will eat {n1*d1+n2*d2} {food} which is {n1*d1+n2*d2}/12 = {(n1*d1+n2*d2)//12} dozen {food}.\n#### {(n1*d1+n2*d2)//12}"
}