How to resolve the algorithm Real constants and functions step by step in the E programming language
Published on 12 May 2024 09:40 PM
How to resolve the algorithm Real constants and functions step by step in the E programming language
Table of Contents
Problem Statement
Show how to use the following math constants and functions in your language (if not available, note it):
Let's start with the solution:
Step by Step solution about How to resolve the algorithm Real constants and functions step by step in the E programming language
Source code in the e programming language
? 1.0.exp()
# value: 2.7182818284590455
? 0.0.acos() * 2
# value: 3.141592653589793
? 2.0.sqrt()
# value: 1.4142135623730951
? 2.0.log()
# value: 0.6931471805599453
? 5.0.exp()
# value: 148.4131591025766
? (-5).abs()
# value: 5
? 1.2.floor()
# value: 1
? 1.2.ceil()
# value: 2
? 10 ** 6
# value: 1000000
You may also check:How to resolve the algorithm Detect division by zero step by step in the E programming language
You may also check:How to resolve the algorithm Singly-linked list/Element definition step by step in the E programming language
You may also check:How to resolve the algorithm Checkpoint synchronization step by step in the E programming language
You may also check:How to resolve the algorithm Symmetric difference step by step in the E programming language
You may also check:How to resolve the algorithm Delete a file step by step in the E programming language