function [ z ] = es3( )
%ES3 Valutazione incertezza misure HP54600B
%Caricamento dati
VCEmax=3.031;
G1=0.5;
P1=1.5;
VRmax2=1.106;
G2=0.2;
P2=-0.55;
VRmax1=1.112;
%VCEmax
U=zeros(4,1);
Q=G1/64;
U(1)=1.9/100;
U(2)=2.56*Q+0.5*abs(P1)/100;
U(4)=Q/2;
inc=incDir(U,VCEmax);
stringa=['VCEmax = ' num2str(VCEmax,'%0.3f') ' ' num2str(inc,'%0.3f') ' V'];
disp(stringa);
%VRmax2
U=zeros(4,1);
Q=G2/64;
U(1)=1.9/100;
U(2)=2.56*Q+0.5*abs(P2)/100;
U(4)=Q/2;
inc=incDir(U,VRmax2);
stringa=['VRmax2 = ' num2str(VRmax2,'%0.3f') ' ' num2str(inc,'%0.3f') ' V'];
disp(stringa);
%VRmax1
inc=incDir(U,VRmax1);
inc=inc+3*Q;
stringa=['VRmax1 = ' num2str(VRmax1,'%0.3f') ' ' num2str(inc,'%0.3f') ' V'];
disp(stringa);