Jump to content

Euler's identity: Difference between revisions

Added 11l
(Added 11l)
Line 33:
that &nbsp; <big>e<sup>i<math>\pi</math></sup> + 1</big> &nbsp; is ''exactly'' equal to zero for bonus kudos points.
<br><br>
 
=={{header|11l}}==
{{trans|Python}}
 
<lang 11l>print(math:e ^ (math:pi * 1i) + 1)</lang>
 
{{out}}
<pre>
1.22465e-16i
</pre>
 
=={{header|ALGOL 68}}==
1,480

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.