clc //initialisation of variables k=0.006//mm Q=200000//kg d=15//mm //CALCULATIONS P=k*(2*Q/d)//kg //RESULTS printf('the acting along the length of the bridge=% f kg',P)