Timeline for How to simplify the following trigonometry expression such that the number of used characters is minimal?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 23, 2012 at 8:59 | comment | added | Yves Klett | Same thing here: "es ist zu heiß..." (it is too hot). | |
Aug 23, 2012 at 7:52 | vote | accept | kiss my armpit | ||
Aug 23, 2012 at 7:07 | history | edited | J. M.'s missing motivation♦ | CC BY-SA 3.0 |
added 225 characters in body
|
Aug 23, 2012 at 7:02 | comment | added | J. M.'s missing motivation♦ | Ah, I'm slow today. Of course... | |
Aug 23, 2012 at 7:00 | comment | added | Yves Klett | Just wanted to suggest you include that verbatim in the answer for educational purposes. | |
Aug 23, 2012 at 6:57 | comment | added | J. M.'s missing motivation♦ |
Yes, I had scoping with something like With[] in mind when I said "evaluate the cosine once as a common subexpression". Putting the expression in Horner form additionally cuts down on the multiplications needed.
|
|
Aug 23, 2012 at 6:47 | comment | added | Yves Klett |
Good one, many-gravatared one! For speed, one might perhaps further save on cycles with a With[{cos=Cos[t]},...] or similar.
|
|
Aug 23, 2012 at 5:12 | history | answered | J. M.'s missing motivation♦ | CC BY-SA 3.0 |