Guest User

Untitled

a guest
Feb 24th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. doublesin[Sin[function_]] := 2 Sin[#/2] Cos[#/2] &@ function
  2. doublecos[Cos[function_]] := 1 - 2 Sin[#/2]^2 &@ function
  3.  
  4. In[278]:= doublesin[Sin[2 a]]
  5.  
  6. Out[278]= 2 Cos[a] Sin[a]
  7.  
  8. In[279]:= Sin[2 b] // doublesin
  9.  
  10. Out[279]= 2 Cos[b] Sin[b]
  11.  
  12. In[288]:= doublecos[Cos[4 c]]
  13.  
  14. Out[288]= 1 - 2 Sin[2 c]^2
  15.  
  16. In[289]:= Cos[4 c] Sin[4 a] // doublesin // doublecos
  17.  
  18. Out[289]= doublecos[doublesin[Cos[4 c] Sin[4 a]]]
  19.  
  20. In[291]:= Cos[4 c] Sin[4 a] // doublecos
  21.  
  22. Out[291]= doublecos[Cos[4 c] Sin[4 a]]
Add Comment
Please, Sign In to add comment