Skip to content
EspañolWorkspace →

PSeInt Euler: the number e

The number e, about 2.7183, the base of continuous growth (compound interest, populations).

Group:
Constants
Template
Euler
Open it in Codoritmo

Opens the editor with this example loaded. Run it step by step and watch the flowchart.

Worked example

A complete algorithm, ready to copy and run.

euler-constant.psc · 3 lines
Algoritmo Example    Escribir EulerFinAlgoritmo

Output

Shows: 2.7182818285

This is what the console shows when the example runs.

2.7182818285

In a flowchart

This is how it appears in a flowchart, with the same shapes Codoritmo draws.

y ← Euler ^ x
Used inside a calculation. It has no shape of its own; it's used inside a calculation. Flowchart: a process rectangle reading "y ← Euler ^ x", with one arrow in and one arrow out.
Draw the flowchart of your own algorithm →

Template

The general form. Replace what's inside < > with your own data.

Euler · 1 line
Euler

Examples that use it

Programs from the example library where it appears, from the simplest to the most complete.

See every Math example →

More constants

Codoritmo is an independent, open-source project inspired by PSeInt and compatible with its syntax. It is not affiliated with the PSeInt project. Official PSeInt website.