Monday, March 25, 2013

3/25/2013

Calculate Estimate Shipping Charge.

Shipping engine can retrieve actual shipping weight with the following parameters.

Box Size

Zip Code (To and From)

Weight

For the purpose of phase 1, we will use an avg box size, and later an algorithm may be written to calculate the volume of all items in an order to determine a box size.

To calculate estimate shipping, since we do not have accurate weights in our system, the following approach was used past shipping weights to derive weights.

Note: Shipping charge by packages is capture with the shipping system.

For example, A package going out the door weights 2lb that contains 5 keyboards, going to xxxxx zip code in a box 2.

2lb/5 keyboard = .4lb per keyboard will be stored in the product table.

This will only work for single item packages.

In second phase of the project, the algorithm will calculate the unknown weight of a multi item shipment.

For example: a shipment of 3 keyboards and 3 mice weights 2lbs, we can derive the weight of the mices.

3x.4lb = 1.2.

2-1.2 = .8 non keyboard weight

.8/3 = .266lb per mouse.

In phase 3, all products that crosses with a product with a known weight will be spread across the other unknown products.

For example, a Logitech mouse with the derived weight of .266lb will populated to an unknown weight of a Microsoft mouse.

All the outliers will use a default weight of .75lb per item.

Since the weight clearly derived, the shipping system can provide the estimated shipping charge, based off of an average box size.

 

You must have enough tax withheld from your paycheck to cover most of your tax liability when you file your return.

If you don't withhold enough, you'll pay penalties and interest on what you should have paid in estimated taxes.

 

High-income bonds, as well as real estate investment trusts Annaly Capital (NYSE: NLY  ) and American Capital Agency (NASDAQ: AGNC  ) produce income that's typically taxed at high ordinary-income rates, and so they often do best in IRAs rather than taxable accounts.

 

 

No comments:

Post a Comment