Euler's formula
三角函数的指数表达
根据泰勒级数有: ex=1+x+12!x2+13!x3+14!x4+⋯ cos(x)=1−12!x2+14!x4−16!x6+⋯ sin(x)=x−13!x3+15!x5−17!x7+⋯
ez=1+z+z22!+z33!+z44!+⋯+znn!⋯ eix=1+ix−x22!−ix33!+x44!+ix55!−x66!−ix77!+⋯ 实部: 1−x22!+x44!−x66!+⋯ 即 cos(x) 虚部: ix−ix33!+ix55!−ix77!+⋯ 即 isin(x)