# Thread: Reverse Formula like ohms law

1. ## Reverse Formula like ohms law

I need help in reversing a formula, and solving L, W and H in reverse

S=L+W2+H2

38= 12.5 + 12.5*2 + .25*2

Where, I tried this, it gave me a good anwser, but I would like to make the results more cube shaped

L=S/W2+H2

If I had a size that is 165, I would like to make, wich is more cube shaped.
L=44, W=40, H=20

Any help would be appreciated, thanks in advance

2. Originally Posted by jkirkerx
I need help in reversing a formula, and solving L, W and H in reverse

S=L+W2+H2

38= 12.5 + 12.5*2 + .25*2
Is there a reason for writing the "2"s after the numbers? More standard notation would be S= L+ 2W+ 2H and 38= 12.5+ 2*12.5+2*.25.

Where, I tried this, it gave me a good anwser, but I would like to make the results more cube shaped

L=S/W2+H2
No, that is NOT a good answer. Since 2W and 2H are added to L, you subtract from both sides, not divide.
L= S- 2W+ 2H

I have no idea what you mean by "cube shaped".

If I had a size that is 165, I would like to make, wich is more cube shaped.
L=44, W=40, H=20

Any help would be appreciated, thanks in advance

3. Wow, thanks for the reply.

The first formula is a UPS, FedEx, DHL Package Size Calculation, In which the formula in text is. I guess my first example is pretty bad, but I need to learn.

S=L+W2+H2

Package Size = Length + (Width x 2) + (Height x 2)
so 160 = 44 + 40 + 20, which is a standard US Pallet 20" high.

What I'm doing is trying to calculate the entire volume and weight of an order, and then divide the order by
165 for packages, or 150 Lbs
264 for pallets, or 2200 Lbs

I'm using this formula I made to calculate the initial volume
Length + (Width x 2) + ((Height x Qty) x 2)
Which makes a tall stack of items. Sometimes, It makes a long stick.

What I mean by cube it, or more cube shaped, is to take the package size of the long stick or tall stack, and formulate a new set of dimensions that replace Length, Width and Height.

I came up with this last night, it works so far, I need to test it more, but I would like to learn and actually get it right.
Length = PackageSize - (PackageSize / 2) - Sqrt(PackageSize)
Width = (PackageSize - Length - sqrt(Length)) / 2
Height = PackageSize - (Width x 2) - Length

Now I can feed this new set of numbers into the UPS rating system.