Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. k=4
  2. syms x;
  3. f=x;
  4. for i=2:k
  5. f=f+1/factorial(i)*x^i;
  6. end
  7. f2 = f;
  8. for i=2:k
  9. f2=f2+(-1)^(i+1)/i*f^i;
  10. end
  11. disp(k)
  12. disp(expand(f2))
  13.  
  14. - x^16/1327104 - x^15/82944 - x^14/9216 - (29*x^13)/41472 - (71*x^12)/20736 - (23*x^11)/1728 - x^10/24 - (541*x^9)/5184 - (239*x^8)/1152 - (5*x^7)/16 - (47*x^6)/144 - (5*x^5)/24 + x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement