function y = d2(s,sigma,r,K,t) % d2 i Black-Scholes formel. y = d1(s,sigma,r,K,t) - sigma*sqrt(t);