On Tuesday, April 2, 2013 9:32:40 AM UTC+1, Neda wrote:

> Hi Is there any commands for writing affine variety (Let k be a field, and 
> let f1,...,fs be polynomials in k[ x1,...,xn]. Then we set V(f1,...,fs)= { 
> (a1,...,an) ? k^n : fi (a1,...,an)=0 for all 1 ?i?s } we call V(f1,...,fs) 
> the affine variety defined by f1,...,fs ) ?
>
sage: A3.<x,y,z> = AffineSpace(QQ, 3)
sage: V = A3.subscheme([x^2- y^2*z^2+ z^3])
sage: V
Closed subscheme of Affine Space of dimension 3 over Rational Field defined 
by:
  -y^2*z^2 + z^3 + x^2
 

> Also how can I drew an affine variety plane such as V(x^2- y^2*z^2+ z^3) ?
>
sage: var('x,y,z')
sage: implicit_plot3d(x^2- y^2*z^2+ z^3, [-3,3], [-3,3], [-3,3]) 

 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to