1 2 3 4 5 6 7 8
clc //initialisation of variables w=28740000//kg-m s=6000//m //CALCULATIONS P=w/s//kg //RESULTS printf('the average tractive force=% f kg',P)