ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 11 Dec 2021 09:43:10 +0100Integral points on a cubic curve which is not in Weierstrass formhttps://ask.sagemath.org/question/60207/integral-points-on-a-cubic-curve-which-is-not-in-weierstrass-form/ How can I compute the integral points on a cubic curve which is not in Weierstrass form? For example something like x^3 + y^3 + z^3 = 6xyz. I have tried using EllipticCurve_from_cubic, but this automatically transforms it into an equivalent (over Q) curve in Weierstrass form, which doesn't preserve the integral points.benwh1Sat, 11 Dec 2021 09:43:10 +0100https://ask.sagemath.org/question/60207/How to create random cubic planar graphs?https://ask.sagemath.org/question/33401/how-to-create-random-cubic-planar-graphs/ Hi,
I need to create random cubic planar graphs.
Do you know how can I do that?
Or alternatively, do you know a can create the dual of a random planar triangulation?
I saw that I can create triangulation using:
G = graphs.RandomTriangulation(n)
Bye and thanksstefanuttiFri, 13 May 2016 17:25:08 +0200https://ask.sagemath.org/question/33401/Display x-intercept of a plot, involving x raised to the 3rd power.https://ask.sagemath.org/question/10397/display-x-intercept-of-a-plot-involving-x-raised-to-the-3rd-power/The following is my syntax to generate the plot:
e1= x^3 + 4*x - 7
f(x)= e1.subs(x=x)
p1= plot(e1, (x,-15,15), ymin=-15, ymax=15)
p0= p1
show(p0)
Now to try and generate where on the x-axis the the plot crossed, 1.255 according to the author, I tried to get sage to solve for x, but it generated irrelevant answers:
ans = (solve(x^3 + 4*x - 7 == 0, x))
print (ans)
show(ans)
I tried substituting the value that didn't include imaginary into the original equation: x^3 + 4*x - 7, I got 1.333 x 10^-15, which is totally different from the author's.
The original question was: given f(x) = x^3 + 4*x - 2, one needs to evaluate f^-1(-5).
bxdinMon, 29 Jul 2013 20:19:45 +0200https://ask.sagemath.org/question/10397/CUBE+PLANES = POLYHEDRONShttps://ask.sagemath.org/question/9197/cubeplanes-polyhedrons/I have an cube and an collention of planes ( normal and one point, Ax = b ). how can I get the polyhedrons formed by the intersection of the cube and the planes? mfaTue, 31 Jul 2012 16:21:52 +0200https://ask.sagemath.org/question/9197/Newton's cubic Fractal help. Plotting https://ask.sagemath.org/question/8555/newtons-cubic-fractal-help-plotting/I'm solving newton's cubic for all the black points that occur within the fractal:
I have the code:
LA(x) = x - (x^3.0-1)/(3.0*x^2.0)
S = solve(LA==0,x)
for s in S:
solve(LA == s.rhs(),x)
and i want to take all those points I'm generating and plot them in a scatter plot. I think I have to use an array? Can anyone tell me exactly how I tell sage to put these points in an array then plot them? Thanks everyone for your help
----------
rower9911Wed, 14 Dec 2011 21:44:19 +0100https://ask.sagemath.org/question/8555/Newton's cubic Math Modelinghttps://ask.sagemath.org/question/8548/newtons-cubic-math-modeling/I need to find the "black points" (where the function becomes undefined) of an equation x^3 -1 using newtons method. So the function turns out to be F(x) = x - (x^3-1)/(3x^2). Is there a way to find a majority of the points (where x is undefined as in the Newton cubic fractal photo aka the black points) using Sage?rower9911Mon, 12 Dec 2011 22:05:24 +0100https://ask.sagemath.org/question/8548/