PSeInt Euler: the number e
The number e, about 2.7183, the base of continuous growth (compound interest, populations).
- Group:
- Constants
- Template
Euler
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.
Algoritmo Example Escribir EulerFinAlgoritmoOutput
Shows: 2.7182818285
This is what the console shows when the example runs.
2.7182818285In a flowchart
This is how it appears in a flowchart, with the same shapes Codoritmo draws.
Template
The general form. Replace what's inside < > with your own data.
EulerExamples that use it
Programs from the example library where it appears, from the simplest to the most complete.
Temperature Converter
Converts degrees Celsius to Fahrenheit and Kelvin.
BeginnerTip Calculator
Splits a restaurant bill, tip included.
BeginnerFibonacci Sequence
Prints the first terms of the Fibonacci sequence.
BeginnerBody Mass Index
Computes your BMI and classifies it as underweight, normal and so on.
IntermediateParking Fee
Charges every started hour, with a daily maximum.
IntermediatePrime Numbers
Finds every prime number up to a limit.
Intermediate
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.