//Eg-6.8 //pg-291 clear clc //Theoretical Problem disp("This example is solved analytically.")