Mat Lab Program Solution-1