Let us consider the following beam structure:

 

 

Now we can calculate the bending moment in the point A.

 

 

In calculation we assume that L=1 [m], P1=1012 [N], P2=500 [N], then

 

 

Now we change the force  in 5%.

 

 

Now we can calculate the value of bending moment:

 

 

The relative error of calculation:

 

 

 

 

 

however