The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Unexpected behaviour using CAS solve (Fixed)
04-09-2019, 06:31 PM (This post was last modified: 04-11-2019 10:18 PM by StephenG1CMZ.)
Post: #1
Unexpected behaviour using CAS solve (Fixed)
Whilst implementing a distance-to-horizon program, I saw some unexpected behaviour using CAS solve. On the 1st run results seem OK, but on subsequent runs all solves return undef, suggesting an initialisation issue.
http://www.hpmuseum.org/forum/thread-12769.html
One possible problem is that the cas solve is using upper case home variables, not cas variables...
But except for the one Print cas solve, other solutions are as expected.

Update: Changing the solve to solve for h instead of HT seems to fix the problem.

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Unexpected behaviour using CAS solve (Fixed) - StephenG1CMZ - 04-09-2019 06:31 PM



User(s) browsing this thread: 1 Guest(s)