Code to calculate tetration using my method
#2
I use Python 3.11 x64 for Windows 10 and I tried to run your code... but I got errors:
Code:
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from math import*
>>>
>>> def mod(a,b):
...     A=(a**2+b**2)**0.5
...     return A
... def Arg(a,b):
  File "<stdin>", line 4
    def Arg(a,b):
    ^^^
SyntaxError: invalid syntax
>>>     Z=atan2(b,a)
  File "<stdin>", line 1
    Z=atan2(b,a)
IndentationError: unexpected indent
>>>     return Z
  File "<stdin>", line 1
    return Z
IndentationError: unexpected indent
>>> def p(x):
...   a=x
...   while a<0:
...     a=a+1
...   return a
... def fn(a,n):
  File "<stdin>", line 6
    def fn(a,n):
    ^^^
SyntaxError: invalid syntax
...

What's your version of Python for no any errors?
Reply


Messages In This Thread
RE: Code to calculate tetration using my method - by nuninho1980 - 07/31/2023, 03:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Terse Schroeder & Abel function code Daniel 1 3,872 10/16/2022, 07:03 AM
Last Post: Daniel
  The beta method program JmsNxn 0 4,230 02/25/2022, 03:05 AM
Last Post: JmsNxn
  C++ code for tet, ate and hexp MorgothV8 0 7,870 07/10/2014, 04:24 PM
Last Post: MorgothV8
  Which method is currently "the best"? MorgothV8 2 13,058 11/15/2013, 03:42 PM
Last Post: MorgothV8
  "Kneser"/Riemann mapping method code for *complex* bases mike3 2 16,743 08/15/2011, 03:14 PM
Last Post: Gottfried
  An incremental method to compute (Abel) matrix inverses bo198214 3 20,478 07/20/2010, 12:13 PM
Last Post: Gottfried
  Single-exp series computation code mike3 0 7,266 04/20/2010, 08:59 PM
Last Post: mike3
  Toying with the Borel summation to calculate tetration mike3 11 44,110 03/25/2010, 09:00 PM
Last Post: mike3
  SAGE code for computing flow matrix for exp(z)-1 jaydfox 4 22,309 08/21/2009, 05:32 PM
Last Post: jaydfox
  Matrix-method: compare use of different fixpoints Gottfried 23 71,636 11/30/2007, 05:24 PM
Last Post: andydude



Users browsing this thread: 1 Guest(s)