d1 is ln(SpotPrice/StrikePrice)+((RiskFreeRate + (0.5*(sigma^2)))*TimeToMaturity)
d2 is SpotPrice-sigma*TimeToMaturity^0.5
These equations are taken from the spreadsheet found in the related link
Suppose X1 = N1/D1 and X2 = N2/D2 are two rational expressions, where the numerators N1 and N2 and denominators D1 and D2 are simpler expressions. Then X1 * X2 = (N1*N2)/(D1*D2) and X1 / X2 = (N1*D2)/(D1*N2).
1/2 d1 d2
d1=[log(S/E)+(r+(sigma)2(T-t)]/sigma*Sq(T-t) d2=[log(S/E)+(r-(sigma)2(T-t)]/sigma*Sq(T-t) Sq means square root. S is price of asset E is the Excercise price r is interest rate sigma is the volatility T-t is time to maturity d2 is very similar to d1 but notice the minus sign. Another useful property is d2=d1-Sq(T-t)
they are also multiplied. When multiplying fractions: (N1/D1) x (N2/D2). The new product is (N1 x N2) / (D1 x D2).
The answer is half the product of the length of its diagonals... 1/2(d1*d2) it can also be 1/2 times x times y
Terminator Theme ============= C2 D2 D2# ------ D2 A1# D1# ------- C2 D2 D2# ------ D2 A1# G2 F2 ----- C2 D2 D2# ------ D2 A1# F1 --------- D1# --------- C1 D1# D1 -------------
R2, U4, D2, R3, U2, L1, U2, R1, U1, R3, D2, L3, D1, L1, U1, D1, R1, D2, L3, D2, L2, U2, R4, D1, R1, U5, D1, R2, D2, R1, D2, L1, U1, L5, D2, L2, U2, R4, D1, R1, U4, R2, D2, R1, D1, L6, D2, L2, U2, R4, D1, R1, U3, D2, L3, U2, L1, U2, R1, D4, L2, D2, R2, U1, D1, L2, U2, R4, D1, R1, U2, D1, L3, U3, RI R2, U4, D2, R3, U2, L1, U2, R1, U1, R3, D2, L3, D1, L1, U1, D1, R1, D2, L3, D2, L2, U2, R4, D1, R1, U5, D1, R2, D2, R1, D2, L1, U1, L5, D2, L2, U2, R4, D1, R1, U4, R2, D2, R1, D1, L6, D2, L2, U2, R4, D1, R1, U3, D2, L3, U2, L1, U2, R1, D4, L2, D2, R2, U1, D1, L2, U2, R4, D1, R1, U2, D1, L3, U3, RI
using pointers, example: void Swapd (double *d1, double *d2) { . double tmp= *d1; . *d1= *d2; . *d2= *tmp; }
In the key of C: E E E, E E E, E G C D E, F F F F F E E E E D D E D, G, E E E, E E E, E G C D E, F F F F F E E E G G F D C. In String name-finger reference: D1 D1 D1, D1 D1 D1, D1 D3 G3 D0 D1, D2 D2 D2 D2 D2 D1 D1 D1 D1 D0 D0 D1 D0, D3, D1 D1 D1, D1 D1 D1, D1 D3 G3 D0 D1, D2 D2 D2 D2 D2 D1 D1 D1 D3 D3 D2 D0 G3.
L3-d1-r1-d1-l1-d1-r1-d1-l3-r2-u4-l2-d1-r1-u1-r2-d4-l3-u2-d2-r2-u1-l1-r2-u3-l1-d2-r1-u2-r2-d1-l1-u1-l2-d2-r1-u1-d3-l1-u2-d2-r3-u1-l2-u2-r1-d2-r1-d1-l1
its so much fun, playin the can-can. capital letters are half notes, lowercase are quarter notes. equal signs (=) are rests. here goes: D D d1 d3 d2 d1 A0 A0 a0 a1 d2 d3 D1 D1 d1 d3 d2 d1 d0 a3 a2 a1 a0 d3 d2 d1 D0 D0 d1 d3 d2 d1 A0 A0 a0 a1 d2 d3 D1 D1 d1 d3 d2 d1 d0 a0 d1 d2 d0
Suppose X1 = N1/D1 and X2 = N2/D2 are two rational expressions, where the numerators N1 and N2 and denominators D1 and D2 are simpler expressions. Then X1 * X2 = (N1*N2)/(D1*D2) and X1 / X2 = (N1*D2)/(D1*N2).
R3, D2, R2, U2, L3, R2, U2, L4, D3, U3, R4, D2, L3, R3, U2, L4, D2, L1, D1, R1, U1, R1, D1, U1, R5, U1, L1, D1, L5, U2, R4, D1, U1, L4, D2, R3, D2, R2, U2, L4, R3, U2, L4, D2, L1, D1, R1, U1, R5, D2, L1, U1, R1, U1, L4, R3, U2, L4, D2
LEVEL 33 D2 L2 U1 L1 U2 R1 L1 D2 R1 U1 D2 R2 U2 L1 D1 R1 U3 R2 D1 R1 D2 L2 R2 U2 L1 U1 L2 D3 L3 U1 R2 D1 R1 U2 D2 R3 U2 L1 D1 L1 U1 R2 D3 L1 U2 L1 U1 L1 D1 L1 D1 R1 L3 U3 R1 D2
d2 [6x]d3[6x]d2[6x]d1[6x]d2[6x]d3[6x]d2[3x]d1[3x]d0[3x]
L1 U1 L2 D2 R1 D2 L1 U1 L5 R1 D2 L1 U1 L2 D1 R1 D3 L1 D2 R1 U1 R4 D2 U1 R2 D1 R2 U1 L1 U1 R5 D1 R1 U9 D8 L6 U2 L1 U3 R1 U3 L2 D2 L3 D1 L2 D4 L1 D2 R1 U1 R4 D1 R3 D1 R1 U1 L1 U1 R5 D1 R1 >>> Just like this set them one by one in the correct sequence. xauyala
The formula for the area of a kite is 1/2 * d1 * d2. d1 is the first diagonal, and d2 is the second diagonal.