[sage-support] Re: Graphics3d Object face_list()

2010-09-05 Thread TeamTeamUSA
Upon reflection, it looks like the first item of the quadruple is the normal. True? Go! =ml= On Sep 5, 10:36 pm, TeamTeamUSA wrote: > Apologies if this is a FAQ or is somewhere in the docs; I could only > find this: > > #http://sagemath.org/doc/reference/sage/plot/plot3d/parametric_surface... >

[sage-support] Graphics3d Object face_list()

2010-09-05 Thread TeamTeamUSA
Apologies if this is a FAQ or is somewhere in the docs; I could only find this: # http://sagemath.org/doc/reference/sage/plot/plot3d/parametric_surface.html What is the format of the Graphics3d Object's face_list()? Here's sample output: [(2.0, 0.0, -1.5011), (1.9917900138232461, 0.0

[sage-support] Re: Two basic questions

2010-09-05 Thread Niko
Thanks, Nils. That's actually very helpful to know. -- 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 UR

[sage-support] Re: Two basic questions

2010-09-05 Thread Nils Bruin
On Sep 5, 3:17 pm, Nick wrote: > Q1. How can I extract elements from a solution set? > > For example, consider: > > sage: x, y = var('x, y') > sage: solve([x+y==6, x-y==4], x, y) > [[x == 5, y == 1]] If you use "solution_dict=true", you get the solutions back in a form that is probably more suita

[sage-support] Disappearing notebook

2010-09-05 Thread Innigo
Hi all, I've just upgraded form Unbuntu 9.10, on which I tried compiling from source to Ubuntu10.04 on which I installed the pre-fab binary. So, on 10.04 it seemed to be working but I've had a problem with the notebook disappearing and this is the second time it's happened now. $sage -n Please wa

[sage-support] Re: Two basic questions

2010-09-05 Thread Niko
Thanks, Phil. That worked like a dream! Much obliged. -- 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-suppor

Re: [sage-support] Two basic questions

2010-09-05 Thread Philipp Schneider
Hi, > Q2. How can I define the set of all primes up to some limit N but > excluding 2 and multiples of some number D? Try this: sage: N=100 sage: D=5 sage: [i for i in primes(3,N+1) if not i.divides(D)] [3, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97] Gr

Re: [sage-support] Two basic questions

2010-09-05 Thread Philipp Schneider
Hi, > Q1. How can I extract elements from a solution set? > > For example, consider: > > sage: x, y = var('x, y') > sage: solve([x+y==6, x-y==4], x, y) > [[x == 5, y == 1]] Like this: sage: sol = solve([x+y==6, x-y==4], x, y) sage: sol[0] [x == 5, y == 1] sage: sol[0][0] x == 5 sage: sol[0][0].r

[sage-support] Two basic questions

2010-09-05 Thread Nick
Q1. How can I extract elements from a solution set? For example, consider: sage: x, y = var('x, y') sage: solve([x+y==6, x-y==4], x, y) [[x == 5, y == 1]] How can I extract these values for x and y so that I can, for instance, use them as the coefficients for a polynomial f(t)=x+ty so that I hav

Re: [sage-support] installation of Sage

2010-09-05 Thread Mitesh Patel
On 09/05/2010 07:57 AM, Michael wrote: > Since yesterday I have been trying to Install Sage 4.5.2 on my > netbook. After many years of using Windows I just changed to Linux (32 > Bit, Opensuse 11), so I'm not yet used to working with this operating > system. So I downloaded the binary installation

RE: [sage-support] installation of Sage

2010-09-05 Thread Jorge E . ´Sanchez Sanchez
Hi Michael have you tried just typing sage after the system prompt (something ending with $) Regards Jorge > Date: Sun, 5 Sep 2010 05:57:38 -0700 > Subject: [sage-support] installation of Sage > From: michael.helmut.mert...@rwth-aachen.de > To: sage-support@googlegroups.com > > Hello! > > S

[sage-support] Sage Binaries and Fedora 13

2010-09-05 Thread lutusp
In the past, there was a Debian binary among the provided binaries, and this served as a fallback in the event that other binaries failed for a particular Linux distribution. I just downloaded all existing binaries -- all of them -- and tried to install them in Fedora 13. None of them successfully

[sage-support] installation of Sage

2010-09-05 Thread Michael
Hello! Since yesterday I have been trying to Install Sage 4.5.2 on my netbook. After many years of using Windows I just changed to Linux (32 Bit, Opensuse 11), so I'm not yet used to working with this operating system. So I downloaded the binary installation archive from sage.org and followed exac