Share your repls and programming experiences

← Back to all posts
#WEEKLY 15
h
Coder100 (6456)

Euler's Number

Basically, this is Leonhard Euler:

One of his eyes cannot see because he got ill. He is one of the best mathematicians ever.

Derive E

Covered in my WEEKLY, you can use limits (I used this one):

Or, as @ApoorvSingal told me :D

Usages

You can use it for your awesome natural logarithms and also exponential growth/decay.

Navigation

CommandDescription
Up arrow/WMove up
Down Arrow/SMove down
EnterSelect item
Commentshotnewtop
SixBeeps (2859)

You messed up the Math.Log call in the Ln function on usage.cs. The first parameter should be num, and the second should be Math.E, not the other way around: cool docs

SixBeeps (2859)

@Coder100 Oh yeah, much more accurate now :D

Coder100 (6456)

I wonder why the base doesn't come first
maybe how it's overloaded? @SixBeeps

JosephSanthosh (1093)

This is so confusing -- what does your program do?

JosephSanthosh (1093)

is this a calculator? um the program. @Coder100

Coder100 (6456)

oh, well the weekly says praise E @JosephSanthosh

Coder100 (6456)

this program does all things e: calculate it and a calculator for its purposes @JosephSanthosh

JosephSanthosh (1093)

How do you use ur calculator? @Coder100

JosephSanthosh (1093)

You said this was a calculator how do I use it? @Coder100

Coder100 (6456)

well, it kinda is a calculator a bit misleading it "calculates" e @JosephSanthosh

Coder100 (6456)

use arrow keys to move and enter to do stuff @JosephSanthosh

JosephSanthosh (1093)

oh ok -- that was confusing. @Coder100

LiamDonohue (294)

y r u doing calc in 8th grade xD

LiamDonohue (294)

xD isnt that like high school stuff @Coder100

ApoorvSingal (73)

The factorial series starts with i=0, not i=1. But yeah your code has it right.

HahaYes (1176)

Yessir, Euler was a great guy.