% thetadot_m (in V)    delta_t (in s)

data = [1.5     0.8;

        4       0.3;

        5.53    0.22;

        8.07    0.15;

        11.02   0.11];

    

    

n = 6.75; % Gear ratio

thetadot = n*2*pi./data(:,2);



result = thetadot'*data(:,1)/(thetadot'*thetadot);