The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
[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
[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
Find all posts by this user
Quote this message in a reply
Post Reply 


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



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