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 
On the format of the output of fMax
06-27-2014, 12:32 AM (This post was last modified: 06-27-2014 04:29 PM by Alberto Candel.)
Post: #1
On the format of the output of fMax
In CAS, the input fMax(f(x),x=a..b) returns a sequence consisting of the numbers x between a and b where the function f attains a Max value. For example, fMax(x^2, x=-2..2) returns -2,2. However, if there is just one such value x, it returns seq[x], like fMax(x+1,x=-2..2) returning seq[2].
Why not just 2, or even better, {2} (or {-2,2} above)?

Some of my Adv Calc students have a Prime (because I suggested it to them) and at first could not understand the "seq[x]" thing.

(As Helge points out below, there was a typo. I have replaced fMax(x+1,x=-2,2) with fMax(x+1,x=-2..2).)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
On the format of the output of fMax - Alberto Candel - 06-27-2014 12:32 AM



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