// Example 6.24 Trend equation for certain production clc; clear; x1=20; y1=(240)/12+(36*(x1+0.5))/(12*12); disp(y1,"Trend values for the month of March,1982 =","Considering Unit = 1 month",x1,"Time with origin at year July,1980= ");