I'm working to reproduce an example made in GeoGebra* using Sage. What I got in GeoGebra looks like this,
- would add link if I could …
The goal is to find the length of _j_ only knowing _A_, _B_, and _C_.
Here's where I'm at in Sage, it seems really smart, but all help files and templates I find online feels way too advanced for where I'm currently at. I've written the code below and it's currently look like this,
code,
var('t')
A = (9, 5); B = (2, 4); C = (16, -2);
P = plot(x,(x,2,5), rgbcolor=(1,1,0))
P += (vector(B)-vector(A)).plot(color='green', start=A)
P += (vector(C)-vector(B)).plot(color='green', start=B)
show(P, figsize=5)