//Eg-1.8 //pg-21 clear clc a=input("enter any number") if a<=0 then disp("logarithm cannot be computed") else p=log(a); disp("logarithm of given number is ") disp(p) end