Post Reply 
Program returns String - how to fix
02-22-2023, 06:20 PM (This post was last modified: 02-22-2023 06:21 PM by roadrunner.)
Post: #2
RE: Program returns String - how to fix
I think it's a bug in the firmware because in cas this:

solve([(r/(1+6*r^2*c^2)) = 400,(2*c*r^2/(1+6*r^2*c^2)) = 400],[r,c])

returns this for an answer:

{[1000,1/2000]}

but this:

solve([(r/(1+6*r^2*c^2)) = 400,(2*c*r^2/(1.+6*r^2*c^2)) = 400],[r,c])

causes a bad arg value error and returns this string:

["solve([(r/(1+6*r^2*c^2)) = 400,(2*c*r^2/(1.0+6*r^2*c^2)) = 400],[r,c])
Error: Bad Argument Value"]

The only difference is that I added a desimal point after the 1 in the second equation. fsolve and csolve do the same thing. Perhaps someone with access to the bug tracker can check to see if this is a known bug or not.

-road
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Program returns String - how to fix - hape - 02-22-2023, 06:05 AM
RE: Program returns String - how to fix - roadrunner - 02-22-2023 06:20 PM



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