Python Forum
Python modeling a math solution
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python modeling a math solution
#1
My colleague shared this fun game. Tickled my math bone. What code would you write to solve the generalized problem? [Image: 05-maximaze-sq1.png]

Presume that using an operation constitutes "a path."
Reply
#2
To kick off the discussion why don't you share what code would you write?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to do "fixed size" (wrapping) math in Python? AlexanderWulf 13 1,731 Jul-19-2023, 04:13 PM
Last Post: deanhystad
  Math python question Deonvek 6 1,089 Apr-05-2023, 09:27 PM
Last Post: deanhystad
  math.log versus math.log10 stevendaprano 10 2,301 May-23-2022, 08:59 PM
Last Post: jefsummers
  Math Package in python Uma 1 1,462 Dec-12-2021, 02:01 PM
Last Post: jefsummers
  Why getting ValueError : Math domain error in trig. function, math.asin() ? jahuja73 3 3,704 Feb-24-2021, 05:09 PM
Last Post: bowlofred
  "SyntaxError: invalid syntax" running code in Doing Math With Python b saucerdesigner 2 2,702 Nov-03-2020, 04:23 PM
Last Post: saucerdesigner
  Python gives " -0.0 " as solution for an equation akar 2 1,741 Aug-27-2020, 12:15 PM
Last Post: akar
  Python scipy odeint: solving with solution-dependent functions etienne 0 2,706 Jun-05-2020, 01:29 PM
Last Post: etienne
  Programming Difficult math in Python Huntern 6 4,688 Oct-17-2019, 06:32 AM
Last Post: Huntern
  Looking for solution in Python ankitasharma111 1 1,795 Oct-01-2019, 12:35 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020