Empty Boxes Invariant/Algorithmic Problem

  • Thread starter SpunkyDonutz
  • Start date
  • Tags
    Empty
In summary: Medium Boxes in them18 Large Boxes that have 7 Medium Boxes in them18(7) = 1268 of the 18 Large Boxes that have Medium Boxes in them, would have Small Boxes in them8(7) = 56126 + 56 = 18225 + 175 = 200200 + 182 = 382291 - 382 = 91I'm really sorry, I'm having a lot of trouble with this, I know I'm being a pain but I've been stuck on this for hours :/It's probably just me being stupid but I'm having trouble understanding, and having a bit of difficulty recognising what is what. In summary,
  • #36
tiny-tim said:
so far, so good :smile:

what about m?​

7l + 7m + 25
 
Physics news on Phys.org
  • #37
SpunkyDonutz said:
7l + 7m + 25

:biggrin:Woohoo!:biggrin:

ok, if 7L + 7M + 25 = 291, what can you say about L and M ? :wink:
 
  • #38
tiny-tim said:
:biggrin:Woohoo!:biggrin:

ok, if 7L + 7M + 25 = 291, what can you say about L and M ? :wink:

7L + 7M + 25 = 291
= {-25 from each side}
7L + 7M = 266
= {let L be 18}
(7*18) + 7M = 266
= {Simplify}
126 + 7M = 266
= {-126 from each side}
7M = 140
= {140 / 7 = M}
M = 20

L = 18
M = 20
 
  • #39
SpunkyDonutz said:
{let L be 18}

why? :confused:
 
  • #40
tiny-tim said:
why? :confused:

It works, I have no clue on how to solve two variable equations.
Couldn't find anything helpful on the net either.
 
  • #41
remember: you know t = 7L + 7M + 25

and you know e = 6L + 6M + 25

so what you can you say about the relation between t and e ?​
 
  • #42
tiny-tim said:
remember: you know t = 7L + 7M + 25

and you know e = 6L + 6M + 25

so what you can you say about the relation between t and e ?​

t - e is the invariant.
 
  • #43
SpunkyDonutz said:
t - e is the invariant.

hmm … i need to remind myself of the original question …
SpunkyDonutz said:
1. Introduce the variables e and t for the number of empty and the number of
total boxes, respectively.
2. Identify the information that is given about the initial and final values of e and
t.
3. Model the process of putting seven boxes inside a box as an assignment to e
and t.
4. Calculate an invariant of the assignment.
5. Combine the previous steps to deduce the final value of e

i honestly don't know what an "invariant" is in this context :redface:, so i can't say whether you're right or not

but t - e is certainly very important!

can you solve t - e ? :wink:
 
  • #44
tiny-tim said:
i honestly don't know what an "invariant" is in this context :redface:, so i can't say whether you're right or not

An expression that doesn't change.

tiny-tim said:
but t - e is certainly very important!

can you solve t - e ? :wink:

The calculation would be:
(6(L + M) + 25) - (7(L + M) + 25)

But I don't know what the outcome would be.
 
  • #45
remember: you know t = 7L + 7M + 25

and you know e = 6L + 6M + 25

so what is t - e ?​
 
  • #46
tiny-tim said:
remember: You know t = 7l + 7m + 25

and you know e = 6l + 6m + 25

so what is t - e ?​

m + l
 
  • #47
SpunkyDonutz said:
m + l

ok, and you know 7M + 7L + 25 = 291

sooo … ?​
 
  • #48
tiny-tim said:
ok, and you know 7m + 7l + 25 = 291

sooo … ?​

l + m = 38?
 
  • #49
yes of course :smile:

and you should be able to solve the problem now​
 
  • #50
253 empty boxes

L = 18
M = 20

Thanks :D
 
  • #51
SpunkyDonutz said:
253 empty boxes

L = 18
M = 20

Thanks :D

(yes, 253 is correct, but …)

wait a moment

L doesn't have to be 18

did you use L = 18 to get that?

if so, you're missing the point
 
  • #52
tiny-tim said:
L doesn't have to be 18

Yeah, I know it's just one of the many possibilities I know of.

tiny-tim said:
did you use L = 18 to get that?

if so, you're missing the point

I did 298 - 25 - 38 to get it.
 
  • #53
SpunkyDonutz said:
I did 298 - 25 - 38 to get it.

298? 25? :confused:
 
  • #54
tiny-tim said:
298? 25? :confused:

Argh, I'm not thinking straight, bouncing between two assignments.

I meant 291 - 38.
 
  • #55
SpunkyDonutz said:
291 - 38.

ah, that's ok then :smile:

yes, t - e = L + M, and L + M = (291 - 25)/7
 
  • #56
tiny-tim said:
ah, that's ok then :smile:

yes, t - e = L + M, and L + M = (291 - 25)/7

Thanks a lot for the help, I really appreciate it! :smile:
 

Similar threads

  • Special and General Relativity
Replies
15
Views
464
  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
1K
Replies
5
Views
1K
  • Classical Physics
Replies
0
Views
127
  • Programming and Computer Science
Replies
7
Views
414
  • Engineering and Comp Sci Homework Help
Replies
33
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
3K
Back
Top