[Help: CAS Code] Comparing answers history view
11-02-2016, 07:56 PM (This post was last modified: 02-10-2018 07:01 PM by compsystems.)
Post: #1
 compsystems Senior Member Posts: 1,342 Joined: Dec 2013
[Help: CAS Code] Comparing answers history view
Example #1:

Steps

Step 1:
root:=√(2.) [enter] 1.41421356237

Step 2:
exact(root) == approx(root) [enter] true

Where:
left(exact(root)) ->1607521/1136689
right(approx(root)) -> 1.41421356237
then
1607521/1136689 == 1.41421356237 -> true

now

Step 3:
approx(root) [enter] 1.41421356237
Step 4:
exact(root) [enter] 1607521/1136689
Step 5:
Ans == [up][up][up] -> (0) false
1607521/1136689 == 1.41421356237 -> 0 // expr 2

Why two different answers?

1607521/1136689 == 1.41421356237 // expr1
1607521/1136689 == 1.41421356237 // expr2

expr1 same expr2 yes
 « Next Oldest | Next Newest »

 Messages In This Thread [Help: CAS Code] Comparing answers history view - compsystems - 11-02-2016 07:56 PM RE: Comparing expressions - Tim Wessman - 11-02-2016, 08:01 PM RE: Comparing expressions - Carlos295pz - 11-02-2016, 08:31 PM RE: - compsystems - 11-02-2016, 11:23 PM RE: [Help: CAS Code] Comparing math expressions - Carlos295pz - 11-03-2016, 08:24 PM

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