20190117 06:10:57 0600  answered a question  How to compute the number of nods in each orbit of a graph? If you define you can get the list of number of vertices in each orbit as follows: If you prefer a vector: 
20190115 08:28:25 0600  commented question  sage 8.5 windows jupyter can't work Does it work when launch the notebook by clicking to the "jupyter noebook" icon, not typing 
20190114 07:26:54 0600  received badge  ● Good Answer (source) 
20190111 07:23:51 0600  commented answer  Combine plots with builtin Maxima, trajectory in Sage available? What feature of maxima is missing in Sage ? The only code from maxima that i see is the plotting, so i just explained how to move that part in Sage. 
20190111 04:17:22 0600  answered a question  Plot of linear programming restrictions 2d, 3d You should give more deatils (e.g. your linear proogram, what do you want to restrict, etc). Without more informations, given a linear program that you can plot as follows: 
20190110 18:38:20 0600  received badge  ● Nice Answer (source) 
20190110 18:34:48 0600  answered a question  can we use BFS and DFS algorithm in sagemath? You can do BFS and DFS as follows: What you get is the ordered list of vertices visited in both searches, starting from vertex 3. Regarding coloring, i am not sure about your exact question. If you want to provide colors to the vertices to show the order of visit, you can try somthing like: With more striking example: 
20190110 18:03:21 0600  commented question  Expected value of random variables Is it homework ? Before trying to solve such a problem with Sage, how would you have solved it by hand ? 
20190110 18:00:43 0600  answered a question  Combine plots with builtin Maxima, trajectory in Sage available? You can add plots in Sage, so in your case: 
20190110 12:57:16 0600  commented question  How to solve this system of equation in sage?

20190110 10:29:39 0600  commented answer  How to format posts on this forum? Once you have 1000 karma points, you will be able to do that :) 
20190110 10:28:44 0600  answered a question  Is it possible to import machine learning libraries in Sage? You have to install the Python packages in the Sage virtual environement. For this, you have to open a terminal (assuming you are using GNU/Linux) and type: And then, from Sage: 
20190109 14:06:49 0600  received badge  ● Nice Answer (source) 
20190109 14:00:02 0600  received badge  ● Nice Answer (source) 
20190108 16:15:02 0600  answered a question  Quadratic equation with complex coefficients The solutions are correct but they are not fully simplified. For each solution, you can simplify its righthandside as follows: 
20190108 16:11:26 0600  edited question  Quadratic equation with complex coefficients How can I solve I get 
20190108 16:10:04 0600  answered a question  How to format posts on this forum? Not exactly Markdown, but close to it, you can discover the syntax by editing a post and clicking on the icons on top of the edit section (e.g. B, I, planet, ", 101010, picture,...). For example bild is obtained with **, italic with *, and so on. Regarding formatting Sage, you can have a monospaced code either with the button 101010, or by adding 4 spaces at the beginning of very code line. I edited your other question, you can check the markup by editing it. 
20190108 08:01:09 0600  received badge  ● Nice Answer (source) 
20190108 06:20:13 0600  commented question  Can't display figures Could you please give us some informations so that someone can try to reproduce your problem:

20190108 04:33:01 0600  commented answer  Generic Symbolic function as input in actual funciton

20190107 12:43:32 0600  answered a question  Any way to make Sage display large matrices all in 1 line? I do not know about cocalc, but on sagenb and jupyter you can simply do: Or, if you want to see dots on the nonzero indices: Or, if you want to see the matrix in a pdf file: 
20190107 12:32:29 0600  answered a question  Generic Symbolic function as input in actual funciton Here are some remarks: First, remove any timerelated lines and variables from your function. You can later time it with: or even: so that you get a race between many executions. Then, you might want to run something like: and see that your code is lagging. To understand what happens, let me suggest to add some debug information just after the As you can see, the value of the Since you the Newton Raphson will never reach the zero of the function exactly, wht you are looking for is an approximation, so you don not care to have a long expression for such a point whose only virtue is to be close to the zero. So, yo may want a numerical approximation. For this, you can transform each of So just after defining Of course, you should not redefine With such improvement, you can now get: Hmm, apparently the error is zero. The reason is that in your code there is: so of course the error is zero ! perhaps should you permute those two lines. 
20190106 10:39:47 0600  commented question  a.N(3) DID WORK past now only N(a,3) ??? Could you please tell u show did you define 
20190106 08:15:37 0600  answered a question  Working with sums/products of lists I am not sure to understand your request, but if it is OK to work with 
20190106 06:37:39 0600  commented question  count in numbers x**x Could you plase make your question more explicit ? Dou you want to count the number of solutions to this equation ? On which domain ? 
20190105 07:22:30 0600  received badge  ● Nice Answer (source) 
20190104 23:05:27 0600  received badge  ● Nice Answer (source) 
20190104 05:00:58 0600  answered a question  Deformed 3d shapes You should define your deformed cube as a polyhedron, see the inline doc at: See also: 
20190103 13:47:17 0600  received badge  ● Good Answer (source) 
20190103 12:15:25 0600  commented question  .coefficients output Could you please provide your current code (in particular the differential equation) ? 
20190103 12:12:51 0600  commented question  Quaternion * integer Culd you please provide your implementation of the quaternions ? 
20190103 10:28:45 0600  received badge  ● Good Answer (source) 
20190103 09:29:11 0600  received badge  ● Nice Answer (source) 
20190103 08:53:43 0600  commented answer  3dplot molecule drawing You can use 
20190103 08:50:42 0600  answered a question  plot parametric curve from symbolic expressions There is a dedicated function for parametric plots: 
20190103 07:52:33 0600  received badge  ● Good Answer (source) 
20190103 05:22:22 0600  received badge  ● Nice Answer (source) 
20190102 16:18:26 0600  answered a question  permutation with repetition count You can use 
20190102 16:15:56 0600  commented question  I=∫e^x((sin−1x)−3x(3+2x^2)/(1−x^2)^7/2)dx Sure, but what is your question ? 
20190102 16:14:49 0600  answered a question  3dplot molecule drawing You can draw a sphere as follows: You can add plots together: You can ensure that all the axes are on the same scale, with 