Sorry if there's some good reason why this would be redundant, but I have an idea. It's a bit scary that you can't simply draw a triangle with sage given a set of three coordinates...
Why doesn't sage make some sort of interface to KIG? It can be scripted in python (using pykig.py), and draws geometry very well using scripted commands. It would give the program another input-output option, as well as bolstering sage's capabilities. I'd certainly make great use of it. Does that make sense? Anyway, KIG may be more what you're looking for, Santanu. Alec On Wed, Jul 28, 2010 at 2:05 PM, kcrisman <kcris...@gmail.com> wrote: > > > On Jul 28, 1:16 am, Santanu Sarkar <sarkar.santanu....@gmail.com> > wrote: >> Let a, b,c be the length of three sides of a triangle. >> How can I draw the triangle using Sage? > > Of course one issue is that there are infinitely many triangles with > these sides, when it comes to the coordinate plane. I guess, assuming > a>b>c (isoceles could be separate), one could choose the origin to > (0,a) as one side, and then say the triangle must be in the first > quadrant and have the shortest side on the right or something, to make > it unique. > > But more seriously, I don't think there is one command that would do > this. One could use the laws of cosines and sines to get an > approximation to the coordinates, at any rate. Is that what you are > thinking of? I'm not sure whether this is something that should be a > built-in command. > > - kcrisman > > -- > To post to this group, send email to sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org