Post Reply 
Improper integral
06-16-2014, 11:54 PM
Post: #43
RE: Improper integral
(06-14-2014 10:23 AM)Onkel Otto Wrote:  
(06-14-2014 09:40 AM)alexzkter Wrote:  Is it the way it's meant to be? I mean, if you change a setting on CAS, shouldn't it just affect the CAS mode?

+ 1

I really do not like this kind of inconsistencies.

No no no, it's not inconsistent at all. One of the main benefits of the "Change apparent integers to exact integers" CAS setting is that it lets you use CAS functions, with CAS accuracy, from Home (and in non-CAS programs).

Why? Here's why. In CAS, you can specify whether the input is an integer, or a whole real, by omitting or including a decimal point, respectively. For example, try the following with "sqrt" spelled out (not using the √ key):

CAS: sqrt(8) --> 2*√2
CAS: sqrt(8.) --> 2.82842712475

Nice, right? Ah, but Home does not make this distinction between integers and whole reals. In fact, Home doesn't support the integer object type at all; Home passes all numbers to CAS as reals. So how can the user force CAS functions, when called from home, to treat whole numbers as integers?

Answer: By setting the "Change apparent integers to exact integers" flag. That's what it's for.

Home: sqrt(8) = sqrt(8.) = 2.82842712475 if that flag is clear.
Home: sqrt(8) = sqrt(8.) = 2*√2 if that flag is set.

If that setting did not exist, people would be bellyaching about not being able to use CAS functions in Home the way they want to. So that flag was added... so that people CAN use CAS functions in Home and in programs the way they work in CAS if they want to. This is a Good Thing.

The only objection I can think of is, "But what good is that information to programmers, when that flag is not programmable???" To which I answer: If you want your program to use the integer object type and reals without needing to worry about that flag, then write CAS programs.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Improper integral - lrdheat - 06-11-2014, 06:01 PM
RE: Improper integral - lrdheat - 06-11-2014, 06:11 PM
RE: Improper integral - Onkel Otto - 06-11-2014, 06:20 PM
RE: Improper integral - CR Haeger - 06-11-2014, 07:15 PM
RE: Improper integral - ndzied1 - 06-11-2014, 06:42 PM
RE: Improper integral - ndzied1 - 06-11-2014, 06:50 PM
RE: Improper integral - Onkel Otto - 06-11-2014, 06:50 PM
RE: Improper integral - ndzied1 - 06-11-2014, 06:56 PM
RE: Improper integral - HP67 - 06-11-2014, 07:01 PM
RE: Improper integral - Mark Hardman - 06-11-2014, 07:22 PM
RE: Improper integral - Wes Loewer - 06-12-2014, 08:59 AM
RE: Improper integral - HP67 - 06-11-2014, 07:16 PM
RE: Improper integral - Onkel Otto - 06-11-2014, 08:21 PM
RE: Improper integral - Mark Hardman - 06-11-2014, 09:13 PM
RE: Improper integral - Onkel Otto - 06-11-2014, 09:58 PM
RE: Improper integral - Mark Hardman - 06-11-2014, 10:26 PM
RE: Improper integral - rprosperi - 06-11-2014, 11:09 PM
RE: Improper integral - Helge Gabert - 06-11-2014, 09:55 PM
RE: Improper integral - Onkel Otto - 06-11-2014, 10:46 PM
RE: Improper integral - Mark Hardman - 06-12-2014, 01:45 AM
RE: Improper integral - jte - 06-12-2014, 06:47 AM
RE: Improper integral - parisse - 06-12-2014, 06:49 AM
RE: Improper integral - Wes Loewer - 06-12-2014, 09:57 AM
RE: Improper integral - Angus - 06-12-2014, 10:56 AM
RE: Improper integral - parisse - 06-12-2014, 11:05 AM
RE: Improper integral - John Colvin - 06-12-2014, 06:27 PM
RE: Improper integral - alexzkter - 06-12-2014, 07:01 PM
RE: Improper integral - John Colvin - 06-12-2014, 07:25 PM
RE: Improper integral - alexzkter - 06-12-2014, 07:37 PM
RE: Improper integral - rprosperi - 06-13-2014, 06:42 PM
RE: Improper integral - Joe Horn - 06-14-2014, 03:51 AM
RE: Improper integral - alexzkter - 06-14-2014, 09:40 AM
RE: Improper integral - Onkel Otto - 06-14-2014, 10:23 AM
RE: Improper integral - Joe Horn - 06-16-2014 11:54 PM
RE: Improper integral - parisse - 06-13-2014, 06:21 AM
RE: Improper integral - Maro - 06-13-2014, 07:19 AM
RE: Improper integral - parisse - 06-13-2014, 08:13 AM
RE: Improper integral - Maro - 06-13-2014, 08:29 AM
RE: Improper integral - parisse - 06-13-2014, 11:02 AM
RE: Improper integral - Maro - 06-13-2014, 12:02 PM
RE: Improper integral - alexzkter - 06-13-2014, 09:21 AM
RE: Improper integral - jebem - 06-13-2014, 09:30 AM
RE: Improper integral - cutterjohn - 06-14-2014, 01:44 PM
RE: Improper integral - Onkel Otto - 06-17-2014, 10:40 AM
RE: Improper integral - alexzkter - 06-17-2014, 01:29 PM
RE: Improper integral - Joe Horn - 06-17-2014, 07:28 PM



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