Each bag has 240 calories because 24 x 10 = <<24*10=240>>240

He needs two bags because 480 / 240 = <<480/240=2>>2

It will cost $4 because 2 x 2 = <<2*2=4>>4

# Answer

4
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Peter is eating chips. Each chip is 10 calories. A bag has 24 chips and costs $2. If he wants to eat 480 calories, how much does he have to spend on chips?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
4
Peter is eating chips. Each chip is 10 calories. A bag has 24 chips and costs $2. If he wants to eat 480 calories, how much does he have to spend on chips?
train