expansion of sinx code example Example: expansion of sinx sin(x) = x - x^3/3! + x^5/5! - x^7/7! +……. Trick: odd powers since sin(x) is odd