The deflection of a particular section is a function of how the load is acting (uniform, concentrated, etc), the method of end supports (fixed, supported, etc) and the strength of the section under consideration (modulus of elasticity and moment of inertia). For simple beam theory and some useful info on section properties you could pick-up a Machinery's Handbook.