Post Reply 
Program code with solve function
06-28-2024, 05:54 PM
Post: #7
RE: Program code with solve function
Can someone confirm the following?

1. In the previous post, the line gX := 'gX' simply converts the variable gX into a symbolic variable. Is this an accurate statement?

2. In the program below, the variable noX is a purge variable that "does not exist". Is the variable noX just a symbolic variable within the confines of the solve function?

Code:
LOCAL gX,gY,gAns;
EXPORT rooty2()
BEGIN
  gY:=1.5;
  gAns := CAS.solve("gY = 3*noX^2 - 2*noX - 4, noX");
  PRINT(gAns);
END;

My apologies if this is covered in the user guide.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Program code with solve function - SoxxoZ - 06-19-2024, 02:23 PM
RE: Program code with solve function - Gene222 - 06-28-2024 05:54 PM



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