20190608 10:04:35 0600  received badge  ● Popular Question (source) 
20190309 12:05:36 0600  edited question  TypeError: cannot solve differential equation I am trying to use sagemath to solve a system of ordinary differential equation. However, I failed and got an TypeError (This returns the following error: TypeError: Computation failed since Maxima requested additional constraints; using the 'assume' command before evaluation may help). Here is my code for it. Could anyone help me with this? Thank you. 
20190117 08:59:20 0600  answered a question  How can I solve the following (linear) differential equation? sympy does give a solution, but it leaves you to solve the characteristic equation. 
20190109 12:51:05 0600  received badge  ● Nice Answer (source) 
20181002 07:50:50 0600  answered a question  plotting autonomous differential equations Here is another option for plotting. The 
20180831 20:30:08 0600  received badge  ● Notable Question (source) 
20180718 05:54:33 0600  received badge  ● Nice Answer (source) 
20180628 13:47:20 0600  received badge  ● Nice Answer (source) 
20180611 12:57:11 0600  received badge  ● Famous Question (source) 
20180508 20:13:06 0600  answered a question  One interact slider for multiple functions I'm not sure exactly what you are aiming for, but in a sagews worksheet in CoCalc, you can do the following. 
20180504 12:10:56 0600  answered a question  Solve a system For the first For the second question, you can do the following: 
20180417 10:20:56 0600  received badge  ● Famous Question (source) 
20180411 11:31:56 0600  received badge  ● Nice Question (source) 
20180409 23:34:00 0600  received badge  ● Nice Answer (source) 
20180309 03:13:46 0600  received badge  ● Famous Question (source) 
20180303 06:52:14 0600  answered a question  Is it possible to speed up loop iteration in Sage? Using Cython can dramatically improve performance by converting the code to C and compiling it. For example, 
20180208 20:09:11 0600  edited question  How do get SVD inverse I formed my matrix $A$ from, 
20180112 20:37:35 0600  answered a question  Finding extrema and zeros in lists Another option is to use splines to approximate the curve. Here is some code inspired by https://stackoverflow.com/questions/3... You could then find a zero using: Also, you can compute the derivative using: Then, find potential extrema using 
20180112 20:12:12 0600  edited answer  Finding extrema and zeros in lists OK, I think I have a path to a solution. I have changed the differential equation so that it has zeros and this code prints the values on either side of where the function crosses zero. I can do something similar for the extrema. So I guess I am now asking if there is a function call that does this, or if there is a smarter way. Thanks, Wayne 
20180111 14:07:32 0600  commented answer  Plot/Show Png/jpg in sagemath worksheet You can doubleclick the sell to unhide it. 
20180108 10:42:22 0600  commented answer  Plot/Show Png/jpg in sagemath worksheet Try adding %hide before the %md. 
20180108 06:28:29 0600  received badge  ● Nice Answer (source) 
20180107 12:16:35 0600  answered a question  Plot/Show Png/jpg in sagemath worksheet I would create a markdown cell and link to the image using a markdown command. For example: 
20171230 06:49:28 0600  commented answer  solving nonlinear second order ordinary differential equations numerically @eric_g's solution can handle this. Just replace $g(t)$ with $y(t)$. Here is an example with $f(t)=2+\frac{t}{1+t}$. 
20171227 07:31:22 0600  edited question  Why does the code not work? Hi, I wanted to use a program from an older question from myself again and found the following strange thing: The following code works fine: The following code does not work: The only difference between two codes is that in the second code I have instead of Entering the second code gives an error. I do not really understand why the first works and the second does not, so any help is welcome how to fix the error. 
20171217 14:17:58 0600  answered a question  how to run maxima code in Sage? Try placing the magic 
20171217 14:15:11 0600  edited question  how to run maxima code in Sage? I have the following code in maxima to calculate the laplacian of a function in parabolic coordinates. What is the proper way to run those Maxima commands in SageMath? Thanks, Daniel 
20171201 12:33:52 0600  answered a question  What is useful for to upgrade a project or an account?

20171021 22:12:28 0600  answered a question  how to print the printout not too long on Sagecell How about: 
20171015 13:22:56 0600  edited question  plot operation error I'm trying to plot the following. def myfn2(x): if x<0: return 1 else: return 1 plot(myfn2(x),x,3,3,figsize=3,color="red") The graph is only displayed as 1. Why? 
20171008 14:20:14 0600  received badge  ● Notable Question (source) 
20171007 13:51:29 0600  commented question  Get the constant value of an equation You can define 
20171007 13:45:17 0600  answered a question  Solving a system of equations  small known number hinders the solution Here is an approach using Sympy. 
20171007 13:12:48 0600  edited question  Solving a system of equations  small known number hinders the solution Hello, I'm trying to solve a system of equations in the treatment of an equilibrium system. I don't get any answers when I use the code below as is. If I define K = 4.48e13: I get: [] I do get numbers when I change the known value of "K" in the 2nd line to 4.48e10 or bigger. [[0.75039762  0.00068968040I, 0.00039762382 + 0.00068968023I, 0.00019881201 + 0.00034484028I], [0.75039762 + 0.00068968040I, 0.00039762382  0.00068968023I, 0.00019881201  0.00034484028I], [0.74920475, 0.00079524857, 0.00039762445]] I did not test past 1e10. I tried increasing the number of bits to 100 for all 3 unknowns with no luck. Is there any way to solve the problem using SageMath using the smaller number? Thanks! 
20170928 12:16:25 0600  commented answer  Displaying images with matplotlib This works in a .sagews file in CoCalc. It does not work interactively in a Jupiter notebook in CoCalc, but I understand that interacts don't work in that notebook in CoCalc right now. 
20170923 17:39:59 0600  edited question  Output too long in SAGE I have a program whos output is too long to be displayed in the terminal where I run sage. Is there a possiblity that the output of SAGE is automatically "copied" (as if I mark it and use ctrl+c) and then I can paste it into a text file? Or is there another way that the result can be automatically be saved into a text file or a way to make the terminal allow larger text before the text gets cut off? Here the code Im talking about: It takes about 20 minits for my computer to finish the calculation while the calculation seems to never finish in the online sage cell https://sagecell.sagemath.org/. The code is from the thread https://ask.sagemath.org/question/388... ) edit: Another option would be to divide the set [format_poset(P) for P in posets(n) if P.is_lattice] into smaller pieces (lets say 5 pieces) and apply the code to those smaller pieces. The set contains 222 elements. Is there a way to apply the cod to the first 40 of those elements first and then I do it seperately for the next 40 and so on till I have all. Maybe it is possible to filter instead of posets(n) (for n=8) over just the first 40 posets of posets(n) and then the next 40 and so on. 
20170916 16:38:59 0600  edited question  solution to logistic differential y'=r*y*(1y)/b How to solve this logistic differential in sage? mathematica solution is: Other questions/answers found on the logistic topic were not helpful for this problem 
20170914 07:43:53 0600  marked best answer  How to color a 3d plot by zlevel? I'd like to color a 3d plot based on zlevel. I think this is easy to do in Maple or Mathematica, but I've been searching the web for help on doing this in Sage and can't find anything to help with plot3d or implicit_plot3d. Here's the implicit_plot3d I'm using. Also, are there color maps in Sage that produce plots with colors and lighting similar to the default in Mathematica? 
20170912 10:59:02 0600  answered a question  plot sage Graphics() from jupyter notebok in CoCalc Here is something that works, although I don't view it as perfect. 
20170908 08:52:24 0600  answered a question  hi , what wrong with this code Sage wants to put two tickmarks on the graph and is asking that you extend the xrange so that it can do so. Try changing the code to: 
20170802 16:50:45 0600  received badge  ● Popular Question (source) 
20170727 09:22:42 0600  received badge  ● Nice Answer (source) 
20170713 20:41:10 0600  received badge  ● Good Question (source) 
20170710 12:25:14 0600  answered a question  Collecting coefficients of derivatives Try this: 