private float addConcentratedForceDeflection(ConcentratedSpanLoad load, float x, float lineLength, ref float angle, float a, float b, float RA, float P, float c1, float c3)
{
float flecha = 0.0f;
if (x < a)
{
flecha = RA * (float)Math.Pow(x, 3) / 6f + c1 * x;
angle = RA * (float)Math.Pow(x, 2) / 2f + c1;
}
else
{
flecha = RA * (float)Math.Pow(x, 3) / 6f - P * (float)Math.Pow(x - a, 3) / 6f + c3 * x;
angle = RA * (float)Math.Pow(x, 2) / 2f - P * (float)Math.Pow(x - a, 2) / 2f + c3;
}
return flecha;
}