clear all;
close all;

%Implicit constants

i
pi

format long
i
pi

format short
i
pi

%Implicit functions
%Similar to Mathematica, there are many implicitly defined function for the users to use.

x=[0:0.2:pi]
f1=sin(x)
f2=cos(x)
f3=tan(x)

%but, if you want to obtain a function like this, you will meet problem

%f4=x*sin(x) %you will see an error message if you execute this command

% the correct way is to use

f5=x.*sin(x)

%or, use a for-loop

for i=1:length(x)
   f6(i)=x(i)*sin(x(i));
end
f6

