| Author |
Message |
Topic: iTunes and AutoHotkey |
maximo3491
Replies: 37
Views: 12300
|
Forum: Scripts & Functions Posted: Mon Nov 22, 2010 6:32 pm Subject: iTunes and AutoHotkey |
It might just be me, but I think this needs updating.
Windows 7 iTunes 10.0.1 gets error "Could not locate iTunes! Applications exits." (lng_NoiTunes) |
Topic: Complex Polynomial Root Solver (for all powers) |
maximo3491
Replies: 16
Views: 2141
|
Forum: Scripts & Functions Posted: Fri Apr 09, 2010 3:32 am Subject: Complex Polynomial Root Solver (for all powers) |
| Understanding that the actual problem of odd-powered polynomials suffering the chance of divergence (which ultimately causes longer processing time of the function call) is rooted in the basic logic o ... |
Topic: Complex Polynomial Root Solver (for all powers) |
maximo3491
Replies: 16
Views: 2141
|
Forum: Scripts & Functions Posted: Thu Apr 08, 2010 2:44 am Subject: Complex Polynomial Root Solver (for all powers) |
Both problems seem to be at work here. There a floating point precision problem as well as an inherit issue with divergence of odd power polynomials with only a single real root.
Unfortunately, the ... |
Topic: Complex Polynomial Root Solver (for all powers) |
maximo3491
Replies: 16
Views: 2141
|
Forum: Scripts & Functions Posted: Thu Apr 08, 2010 1:45 am Subject: Complex Polynomial Root Solver (for all powers) |
| Oh, I understand what you were saying. I was a little bit confused by your suggestions, mainly because I was unaware of the divergence that occurs in this specific cases of an odd degree with only 1 r ... |
Topic: Complex Polynomial Root Solver (for all powers) |
maximo3491
Replies: 16
Views: 2141
|
Forum: Scripts & Functions Posted: Thu Apr 08, 2010 12:57 am Subject: Complex Polynomial Root Solver (for all powers) |
Well, I'm not exactly sure why this is the case, I'm no expert on the inner workings for floating point precision, but the script hangs because beta2 is unable to fall below the tolerance.
If i mak ... |
Topic: Complex Polynomial Root Solver (for all powers) |
maximo3491
Replies: 16
Views: 2141
|
Forum: Scripts & Functions Posted: Wed Apr 07, 2010 10:06 pm Subject: Complex Polynomial Root Solver (for all powers) |
| I read up a little on the Lin-Bairstow method, specifically the iteration with the random start. The thing is you can pick two arbitrary numbers and start with them, doesn't have to be random. So I ch ... |
Topic: Equation Solver\Root Finder 2.0 - up to four degrees |
maximo3491
Replies: 42
Views: 2899
|
Forum: Scripts & Functions Posted: Wed Apr 07, 2010 1:00 pm Subject: Equation Solver\Root Finder 2.0 - up to four degrees |
| You could make the gui to go with the function |
Topic: Complex Polynomial Root Solver (for all powers) |
maximo3491
Replies: 16
Views: 2141
|
Forum: Scripts & Functions Posted: Wed Apr 07, 2010 6:23 am Subject: Complex Polynomial Root Solver (for all powers) |
It has many possible applications, many of which are physics related.
For example, an object attracted by gravity can have its position in space be expressed in terms of quadratic equations. Even t ... |
Topic: Equation Solver\Root Finder 2.0 - up to four degrees |
maximo3491
Replies: 42
Views: 2899
|
Forum: Scripts & Functions Posted: Wed Apr 07, 2010 3:14 am Subject: Equation Solver\Root Finder 2.0 - up to four degrees |
| I added a polynomial solver function that solves for virtually any polynomial order. I uploaded it [url=http://www.autohotkey.com/forum/viewtopic.php?p=345761#345761]here. I think its much easier to u ... |
Topic: Complex Polynomial Root Solver (for all powers) |
maximo3491
Replies: 16
Views: 2141
|
Forum: Scripts & Functions Posted: Wed Apr 07, 2010 3:11 am Subject: Complex Polynomial Root Solver (for all powers) |
| I have created a polynomial root solver that will solve (theoretically) for any amount of roots. Polynomials behave in a manner where the highest power ultimately determines how many solutions exist i ... |
Topic: Equation Solver\Root Finder 2.0 - up to four degrees |
maximo3491
Replies: 42
Views: 2899
|
Forum: Scripts & Functions Posted: Wed Apr 07, 2010 1:48 am Subject: Equation Solver\Root Finder 2.0 - up to four degrees |
Laszlo, just try a simple case of x^4+1=0
Doing simple algebra we would get that x = 4th root of -1. This can only be a complex solution. The quartic function returns real solutions, which is impos ... |
Topic: Equation Solver\Root Finder 2.0 - up to four degrees |
maximo3491
Replies: 42
Views: 2899
|
Forum: Scripts & Functions Posted: Tue Apr 06, 2010 10:29 pm Subject: Equation Solver\Root Finder 2.0 - up to four degrees |
the index of the treeview is unique from computer to computer and so would not work properly for all users of the script
Also, your additions (cubic and quartic) still don't solve for complex solut ... |
Topic: Age Calculator |
maximo3491
Replies: 6
Views: 1125
|
Forum: Scripts & Functions Posted: Tue Apr 06, 2010 6:28 am Subject: Age Calculator |
Your code is inaccurate in that there aren't exactly 12 months in a year or 52 weeks in a year.
I edited it a bit and you will find my version to be more accurate and less computation. Also, I took ... |
Topic: Equation Solver\Root Finder 2.0 - up to four degrees |
maximo3491
Replies: 42
Views: 2899
|
Forum: Scripts & Functions Posted: Fri Apr 02, 2010 1:03 am Subject: Equation Solver\Root Finder 2.0 - up to four degrees |
I tested what I wrote and it did require a few modifications.
;Quadratic Equation Solver v1.8
;By Muhammad Umar and maximo3491
#singleinstance, force
MinParam := -100000
MaxParam : ... |
Topic: Equation Solver\Root Finder 2.0 - up to four degrees |
maximo3491
Replies: 42
Views: 2899
|
Forum: Scripts & Functions Posted: Thu Apr 01, 2010 7:22 am Subject: Equation Solver\Root Finder 2.0 - up to four degrees |
I would add this to the top of the Equation subroutine right after the gui, submit, no hide
Also, do not change '%var%' to 'val' in the initiation of the second loop. This ensures that the replace ... |
| |