Post Reply 
Function app — Signed Area
08-10-2021, 10:30 PM (This post was last modified: 08-11-2021 05:54 PM by jte.)
Post: #8
RE: Function app — Signed Area
(03-02-2020 12:30 AM)cdmackay Wrote:  
The Signed Area function is great, which gives the area under one function and above another (or the X-axis) between two points.

However, one thing I thought could be easier, would be a quicker way to select the two end-points as intersection points of the functions.

Methods I've used so far include:

The earlier versions of the Plot view didn't provide Copy-X capability. I added it as it was a minor change which could give a slight improvement to Signed Area use. (So that one wouldn't have to travel to Home or sneakily do an assignment in Go To etc. to store the ending coordinate for later use.)

I think part of what makes this seem fiddly is that one has to go into Signed Area with a plan already in effect: one must first have (at least) the ending coordinate stored somewhere before beginning Signed Area (so that one can Go To it). (Assuming one wants an ending coordinate that comes from something beyond simple cursoring around.)

Perhaps a way forward is to have Signed Area be an overlay, something more akin to how Tangent (two steps down from Signed Area in Fcn) works. Have some sub-choices in Fcn / Signed Area for
  • beginning the process (perhaps picking the "above"),
  • for fixing the start point, and
  • for fixing the end point (at which point calculation occurs and the overlay is removed).
With an interface of this sort, one would choose Fcn / Signed Area / Below F1(X) & / Above F2(X), then move the cursor as one likes using the same interface as when Signed Area is not in use (including using extrema / intersection finding etc.), then select Fcn / Signed Area / Set Start, again move the cursor as desired, and then finally select Fcn / Signed Area / Set End. There are choices with this approach that affect how much the user is railroaded along a certain track (there could be "... / Compute" and "... / Dismiss" choices so that computing multiple signed areas with the same start or end point would be convenient etc.).

(03-02-2020 12:30 AM)cdmackay Wrote:  
Alternatively, to store more than just the single last result of a function, e.g. store the last n results, so that you may select from them, or as a list.

The most generic approach along these lines would have a new "stack" sort of object added to PPL (perhaps quite like a list, with normal evaluation returning the top item and indexing allowing other items to be retrieved; a setting somewhere could control stack depth for stored results like Isect). (Or, more simply, use lists to store computed results, but this would break existing programs / workflows.)

(03-02-2020 12:30 AM)cdmackay Wrote:  Does anyone have any other tips/tricks for this sort of thing?

I thought you were quite thorough enumerating the possibilities! Nevertheless, Carlos295pz also reminded us that "Get from Home" via the Menu key is yet another possibility.

Writing this, I did wonder about adding anotations to the Paste dialog that would show where each paste item originated.

(03-02-2020 12:30 AM)cdmackay Wrote:  Anyway, that's just a quibble; what struck me was the wonder of being able to seamlessly switch between different views, Symbolic, Numeric, Plot, Vars, Toolbox, cmdline, and Help, without getting lost, or having to read the paper/PDF manuals, and it all Just Works. That's a fine piece of design, for sure. And that's without even being able to move/access data between Apps, which I've yet to explore.

And my daughter is now desperate to get her hands on the Prime Smile

My daughter enjoyed using her Prime during her last few years in public school (edit: by "public school", I meant grades 10⁠–⁠12; she's in university now). :-)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Function app — Signed Area - cdmackay - 03-02-2020, 12:30 AM
RE: Function app — Signed Area - lrdheat - 03-02-2020, 03:29 AM
RE: Function app — Signed Area - jte - 08-10-2021 10:30 PM



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