Singularity Functions For Beam Deflection