Hurray for hyperbolic trig functions! 8 bytes!


Code:
int(-π+e^(cosh(e
That is sech(ξ) indeed.
π/π
While 1
Disp Ans+1
End

Um, is that even a valid solution to this problem?
Asian wrote:
π/π
While 1
Disp Ans+1
End

Um, is that even a valid solution to this problem?

No, because it uses number tokens. What you could do is this:

Code:
π/π
While π
Ans+int(π-int(e
Disp Ans
End

but that's bigger than runers solution. and it's pretty impractical.
π/π
While π
Ans+π/π
End

New code, I don't actually have a calc or an emulator with me right now. Does it work?
hehe, this is pretty big and totally impractical, but it works... Razz

π/π+int(πππππ(π/eee)-πππππ(π/e)-ππππ(π/e)-ππππ(π/e)-eee
Since I didn't win the "fewest characters" contest I thought I'd go for "fewest distinct characters".


Code:
ππππππln(πln(πln(πππln(πln(ππln(πln(πln(ππln(πln(ππln(ππln(πππln(ππln(ππln(πππln(ππln(ππ
rounds to 2015 when displayed.
another long solution:

Code:
int(πππππln(πππππe)-eeeint(e)-int(e
I am already amazed by how you got to the very small solutions...
But how the hell did you get to these long solutions? Just trial and error?
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement