clear all AB=4000;//langth AB,given,in mm BC=3000;//langth BC,given,in mm A=200;//area of bar,given,in mm^2 delT=30;//change in temprature,given,in celcius; alpha=7/10^6;//coefficient of linear expansion,given,in 1/celcius E=200000;//given in N/mm^2