972 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
81
views
Missing solutions when using solve in Sagemath
I have a set of equations which I tried to solve. The function solve gives me 4 solutions all of which have s5=0. However, when manually solving them, I had already found some solutions by setting s1 ...
Advice
0
votes
1
replies
89
views
Generating SageMath codes to solve this elliptic curve equation
I was working on this elliptic curve equation: y^2 = x^3 - 228n*x - (432n^6 - 1368n^3 - 361) and using SageMath, I have been able to develop rational points for the cases n = 1, 3 and 4. For the case ...
0
votes
0
answers
25
views
Pari Integer conversion error when solving quadratic forms in Sagemath
While playing with quadratic forms in Sagemath 10.7, I came across this specific error:
sage: version()
'SageMath version 10.7, Release Date: 2025年08月09日'
sage: t = 8
sage: B = matrix(ZZ, [(1, 0, 0),(1,...
0
votes
0
answers
59
views
Why is my Intacct PO Forward Commitment update (PATCH) not applying changes even though the API response shows no error?
I’m trying to update a Forward Commitment PO in Intacct using the PATCH method. The API call succeeds without errors, but the changes are not reflected in the document.
Note: Only Unit price is not ...
-1
votes
1
answer
117
views
issue with sagemath in jupyterhub
jupyterhub run with jupytrerlab on my vps (archlinux) in a venv.
Sagemath is installed at /usr/bin/sage.
venv/bin/jupyter kernelspec list
or sudo venv/bin/jupyter kernelspec list return
Available ...
2
votes
2
answers
93
views
Unusual substitution behavior when using x, as defined at Sage startup, different than if I explicitly define x later
I've been using SymPy, occasionally, and enjoy learning to use it better over time.
A problem I've encountered from time to time is that once I have done some work and then try to substitute actual ...
2
votes
1
answer
55
views
Sage Differentiation Taking Too Long to Compute
Let U, V both be independent uniform random variables from [0, 1]. I am interested in the function F(x, y) = Pr[2/3 U - 2/3 <= x, 2/3 V - 2/3 <= y] and its derivative. I wrote the following Sage ...
0
votes
0
answers
26
views
Sagemath plotting cannot let me change y position of my title
My sagemath is version 10.6. I found the y_pos part of title_pos parameter does not take effect. For example, in the follow statement (or p.show(...)), whatever value I change the 2nd value of (.5,*),...
0
votes
0
answers
71
views
Using lattice estimator with Sage
I'm looking to use the lattice-estimator here: https://github.com/malb/lattice-estimator?tab=readme-ov-file which depends on SageMath.
I have installed SageMath here:
john@sage:~/Downloads/sage-10.6$ ...
2
votes
2
answers
115
views
desired frequency in discrete fourier transform gets shifted by the factor of increasing sample duration
I have written a python script to compute DFT of a simple sin wave having frequency 3. I have taken the following consideration for taking sample of the sin wave
sin function for test = sin( 2 * pi * ...
1
vote
2
answers
151
views
One frequency is absent from fourier transform representation of the addition of two cosine wave of same amplitude and phase
I have wrote a general python code in Sage-math to find out the Fourier transform of the addition of two different frequency cosine wave in order to plot the frequency domain in a graph. The function :...
0
votes
0
answers
52
views
How can I substitude a subexpression in a equation with a variable in SageMath, when the subexpression doesn't appear in its original form?
I'm trying to use SageMath to substitute a subexpression in a formula with a variable. However, the subexpression doesn't appear in the formula in its original form and requires algebraic manipulation....
0
votes
1
answer
146
views
diophantine equation in sagemath
How do I use sagemath to solve this diophantine equation on sagemath:
36n^3 - 32 = xy * (y + 2(6n + x)) ?
This is what I had when I tried this on my MacBook.
sage: solve([36*n^3 -19 == x*y*(y + 2*(6*n ...
1
vote
1
answer
83
views
How to convert matrix of binary numbers into matrix of strings/symbols?
I have a matrix in Python consisting of 1s and 0s. As an example:
m= [1 0 1]
[1 1 1]
[0 0 1]
I would like to convert it to a matrix of symbols/strings. An example of the output I'm ...
2
votes
0
answers
56
views
Trying to understand why a newline character was added to simplified Finitely Presented Group
I was working with some large Finitely Presented Groups in sage and encountered some unexpected behavior. For one particular group, a newline character is introduced to the string representation of ...