wrote and tested Eload_linear & EDload_linear