You are on page 1of 4

->help

-->scipad
!--error 4
Undefined variable: scipad

-->cd D:
ans =

D:\

-->scipad
!--error 4
Undefined variable: scipad

-->help[

-->[P,Q]=cdfnor("PQ",X,Mean,Std)
!--error 4
Undefined variable: X

-->[P Q] = cdfnor("PQ",45,50,10)
Q =

0.6914625
P =

0.3085375

-->[P1 Q1] = cdfnor("PQ",45,50,10)


Q1 =

0.6914625
P1 =

0.3085375

-->[P2 Q2] = cdfnor("PQ",62,50,10)


Q2 =

0.1150697
P2 =

0.8849303

-->P2 - P1

ans =

0.5763928

-->help

-->getd('Instal')

-->normal(62,45,50,10)
ans =

- 0.5763928

-->normal(45,62,50,10)
ans =

0.5763928

-->cdC:
!--error 4
Undefined variable: cdC

-->cd D:
ans =

D:\

-->getd('instal')
Warning : redefining function: normal
message

function [x] = normal(X1,X2,u,s)


[P1 Q1] = cdfnor("PQ",X1,u,s)
[P2 Q2] = cdfnor("PQ",X2,u,s)
x = P2 - P1
endfunction
-->normal(45,62,50,10)
U = rata2
S = variasi

. Use funcprot(0) to avoid this

You might also like