Python Forum
Brute Force method for solving equation - help needed
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Brute Force method for solving equation - help needed
#1
Lightbulb 
Hello,

Could anybody check if is possible to solve below equations by Brute Force method using Phyton? Unfortunately standard arithmetic or determinants methods doesn't work - set of equations don't have solution. I though about Brute Force method but I am not a programmer.

l*n - 60*l*b - 60*l*a*n + 3600*l*a*b = 43945.8598

l*n - 30*l*b - 30*l*a*n + 900*l*a*b = 43954.1614

l*n + 30*l*b + 30*l*a*n + 900*l*a*b = 43973.1560

l*n + 60*l*b + 60*l*a*n + 3600*l*a*b = 43982.4109

or shorter version if we set variables as: ln=W; lb=Z lan=Y; lab=X;

1W – 60Z – 60Y + 3600X = 43945.8598

1W – 30Z – 30Y + 900X = 43954.1614

1W + 30Z + 30Y + 900X = 43973.1560

1W + 60Z + 60Y + 3600X = 43982.4109

The expected values are: length l = ~30 000m, n = ~1.46, a and b are constans, a should be in the range 10E-5...10E-7, b should be in the range 10E-4...10E-6

Thank You very much for help.
Reply


Messages In This Thread
Brute Force method for solving equation - help needed - by MariuszDyrkacz - Feb-27-2024, 01:32 PM

Forum Jump:

User Panel Messages

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