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
  Is there a Python solution to select unique frames from a video? rownong 1 611 Feb-02-2025, 09:56 AM
Last Post: Larz60+
  How to do "fixed size" (wrapping) math in Python? AlexanderWulf 13 5,524 Jul-19-2023, 04:13 PM
Last Post: deanhystad
  Math python question Deonvek 6 2,343 Apr-05-2023, 09:27 PM
Last Post: deanhystad
  math.log versus math.log10 stevendaprano 10 4,516 May-23-2022, 08:59 PM
Last Post: jefsummers
  Math Package in python Uma 1 2,109 Dec-12-2021, 02:01 PM
Last Post: jefsummers
  Why getting ValueError : Math domain error in trig. function, math.asin() ? jahuja73 3 5,275 Feb-24-2021, 05:09 PM
Last Post: bowlofred
  "SyntaxError: invalid syntax" running code in Doing Math With Python b saucerdesigner 2 3,514 Nov-03-2020, 04:23 PM
Last Post: saucerdesigner
  Python gives " -0.0 " as solution for an equation akar 2 2,697 Aug-27-2020, 12:15 PM
Last Post: akar
  Python scipy odeint: solving with solution-dependent functions etienne 0 3,596 Jun-05-2020, 01:29 PM
Last Post: etienne
  Programming Difficult math in Python Huntern 6 6,772 Oct-17-2019, 06:32 AM
Last Post: Huntern

Forum Jump:

User Panel Messages

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