Post Reply 
Geometry App, Distance, Intersections
09-09-2019, 08:12 AM (This post was last modified: 09-12-2019 04:01 AM by Dirk.nl.)
Post: #1
Geometry App, Distance, Intersections
This post is based on the thread “find distance between intersections of circle and line”
This seemed like a nice thing to solve with the Geometry App.

What I've done;

Symb -> GA line (y = (2 * x + 3))
Symb -> GB circle (((x + 1) ^ 2 + y ^ 2) = 55)
Symb -> GC inter (GA,GB) (command intersections)

The above was well displayed on the Plot page.

Num -> distance (GC) -> Error: Bad Argument

Hey, that's weird that "distance" can't calculate the distance between the two points of GC.
GC has the value [point (val, val), point (val, val)] .... between square brackets, it’s a list.
On the command line: VARS -> App -> Geometry -> GC value also between square brackets.
After I copied the GC value from command line to distance in the Geometry App and deleted the square brackets, distance could calculate the value.

Conclusion; distance cannot calculate the distance between two points calculated with command intersections. Or distance must take into account the fact that the answer is between square brackets, that the answer is a list.
Or am I doing something wrong myself?

— Dirk Hartland
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Geometry App, Distance, Intersections - Dirk.nl - 09-09-2019 08:12 AM



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