//Finding of convective acceleration //Given v1=2.5; v2=16; s=3.75; //To Find a=(v2-v1)/s; a1=v1*a; a2=v2*a; disp("Acceleration at inlet="+string(a1)+" m/s^2"); disp("Acceleration at outlet="+string(a2)+" m/s^2");