Appendix B Differentiation of the phasor