Question about the use of the CAS solve function in a program
|
11-11-2023, 05:03 AM
Post: #1
|
|||
|
|||
Question about the use of the CAS solve function in a program
Is there any way to have a program use the solve function found in the CAS mode of the Prime? (or any other CAS function for that matter)
if I create a simple program like this: EXPORT solve_function_test(x, y) BEGIN LOCAL answer; answer := solve(x^2 - 2 * y + n = 0.5 * n^3, n); RETURN answer; END; It gives a syntax error around the variable n, which I would assume is just contained to the solve function. If I create n as a local variable, it doesn't give any errors but always returns 0. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Question about the use of the CAS solve function in a program - ZDog2002 - 11-11-2023 05:03 AM
RE: Question about the use of the CAS solve function in a program - StephenG1CMZ - 11-11-2023, 04:51 PM
RE: Question about the use of the CAS solve function in a program - Gene222 - 11-11-2023, 11:53 PM
RE: Question about the use of the CAS solve function in a program - Gene222 - 11-12-2023, 10:31 PM
RE: Question about the use of the CAS solve function in a program - ra4532 - 05-29-2024, 04:18 PM
|
User(s) browsing this thread: 1 Guest(s)