For questions concerning Sage. Consider whether your question would be a better fit at [ask Sage](http://ask.sagemath.org/).

learn more… | top users | synonyms

4
votes
0answers
73 views

Using sage to test for squares in residue fields

Let $K$ be a number field, $x \in \mathcal{O}_K$, and $\mathfrak{p} $ a prime of $K$. I want to find out using sage whether or not the reduction of $x$ modulo $\mathfrak{p}$ is a square in the ...
2
votes
1answer
340 views

How to draw a Frenet Trihedron in Sage?

How would I draw this in sage? It's a Frenet Trihedron along a given curve: Tools other then Sage are welcome too. Im just interested in which equations I need to input, besides the curve to ...
-1
votes
1answer
155 views

How to draw a cone in Sage?

Given a cone with equation z^2 = x^2 + y^2, how would I draw it in Sage? I tried turning it into a function and passing arguments but it didn't work out for me.
3
votes
1answer
854 views

Prove that curve lies on a cone?

I have a curve given by this equation: $$c(t) = (t\cos t,t \sin t,t)$$ I need to prove that this curve lies on a cone, and draw that cone and curve in Sage. I've read somewhere that I could prove it ...
1
vote
1answer
146 views

Sage returning 0 for curve arc length (integrals)

I'm using Sage to calculate a curve arc length. Basically, the curve is given by this equation: In sage, I'm calculating it's arc length by using this formula: ...
1
vote
0answers
89 views

How to calculate $L'(1,\chi)/L(1,\chi)$ in SAGE?

Question as in title, where $L(s,\chi)$ is the Dirichlet $L$-function associated with the nontrivial character modulo $3$. Please provide complete SAGE code. Thank you in advance.
3
votes
1answer
215 views

A question about modular forms in SAGE

I was trying to solve Exercise 1.4.5 in Alvaro Lozano-Robledo's book Elliptic Curves, Modular Forms and Their L-functions, which is about representations of integers as sums of 6 squares and its ...
3
votes
1answer
9k views

Is there a symbolic math package for octave?

I am using Octave (3.6) on Ubuntu 10.0.4 LTS. I want to do some research involving symbolic math. I was thinking of downloading sage (I just found about it today) - but thought I'd better ask in here ...
2
votes
3answers
577 views

How to load and use a PARI/GP script in Sage notebook?

I don't know whether this is the correct place to ask such a question, but I am dealing with this problem for a couple of days. Take for example the script ...
25
votes
1answer
8k views

Is Sage on the same level as Mathematica or Matlab for graph theory and graph visualization?

The context: I'm going to start working on a project that involves running predefined algorithms (and defining my own) for very big graphs (thousands of nodes). Visualization would also be welcome if ...
1
vote
2answers
206 views

Help need in Mathematica or Sage

I want to find the common positive solutions of two polynomials $f_{a,b}(x,y)$, $g_{a,b}(x,y)$ where $a,b$ runs from 0 to 1 with an interval 0.01. Let $(x_0,y_0)$ be a common positive solution. Then ...