Post Reply 
Problem with equation in Programming
05-29-2015, 10:29 PM
Post: #6
RE: Problem with equation in Programming
There are two pertinent points:

1. The formula used in your program is not the same as the formula used to manually produce the values in your screenshot. The difference is in the paren's.

2. Local variables in HOME mode don't cross over to CAS mode as expected. That is why the snippet I sent (with GLOBAL variables) produces the same result as obtained in your screenshot; or, conversely, why your program isn't working as you expect.

There are ways to get around this, such as by not mixing HOME and CAS program constructs, use of global variables, and possibly other means. You can work out the details from this information.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Problem with equation in Programming - DrD - 05-29-2015 10:29 PM



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