ASKSAGE: Sage Q&A Forum - Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 18 Jul 2018 01:59:32 -0500Construct a system of linear equationshttps://ask.sagemath.org/question/43061/construct-a-system-of-linear-equations/I would like to construct a system of linear equations as follows and find a basis of the solutions :
Fix $p$, $q$
$$a_{i, j} - 3a_{i-1,j} - 4a_{i,j-1} +10a_{i-1,j-1} = 0$$ for all $$0 \le i \le \frac{p-1}{2} - 1 ; 0 \le j \le q-2$$ with further conditions :
$ a_{-1,j} = -a_{\frac{p-1}{2}-1, j}, a_{i,-1} = a_{i,q-2} $ for all $i,j$ satisfying the above conditions
Further more, is there a way that the same can be implemented for $a_{i,j,k}$ and so on.
AbhishekWed, 18 Jul 2018 01:59:32 -0500https://ask.sagemath.org/question/43061/How to Plot/Graph/Show a system of linear equationshttps://ask.sagemath.org/question/36780/how-to-plotgraphshow-a-system-of-linear-equations/Disclaimer: I'm new to Sage Math and Linear equations.
Background: Google will plot/graph this search: "plot 3x+4y"
Questions:
1. In Sage Math, how can I show similar output as Google?
2. Is there a better way, in 2D or 3D, to plot the following? 3x+4y=2.5 AND 5x-4y=25.5 ?
x, y = var('x,y')
a=3*x+4*y==2.5
b=5*x-4*y==25.5
p1=implicit_plot(a, (x,-2,5), (y,-4,4), axes="true", aspect_ratio=1)
p2=implicit_plot(b, (x,-2,5), (y,-4,4), axes="true", aspect_ratio=1)
show(p1+p2)mellow-yellowWed, 01 Mar 2017 15:07:21 -0600https://ask.sagemath.org/question/36780/Linear diophantine equationshttps://ask.sagemath.org/question/10364/linear-diophantine-equations/Is there any basic function in Sage to solve linear diophantine equations?bakantThu, 18 Jul 2013 20:38:12 -0500https://ask.sagemath.org/question/10364/