Draw a diagram of the rod and set up a coordinate system (e.g. forces applied to the right are "positive," forces applied to the left are "negative").
Label all forces that are applied to the object with an arrow that is pointing in the direction the force is applied. This is what's known as a "free-body diagram."
Separate the forces into horizontal and vertical components. If the force is applied at an angle, draw a right triangle with the force acting as the hypotenuse. Use the rules of trigonometry to find the adjacent and opposite sides, which will be the horizontal and vertical components of the force.
To find the resultant tension, add up the total forces on the rod in the horizontal and vertical directions.
Find the bending moment of the rod. This is found by subtracting the length of the rod L by the position variable z, and then multiplying the result by the vertical force applied to the rod -- denoted by the variable F. The formula for this is M = F x (L - z).
Multiply the modulus of elasticity of the beam by the moment of inertia of the beam about the non-symmetric axis.
Divide the bending moment of the rod from Step 1 by the result from Step 2. The ensuing result will be a function of the position along the rod (given by the variable z).
Integrate the function from Step 3 with respect to z, with the limits of integration being 0 and L, the length of the rod.
Integrate the resulting function again with respect to z, with the limits of integration again ranging from 0 to L, the length of the rod.