2023-03-29 04:14:30 +0200 | received badge | ● Famous Question (source) |
2022-01-14 14:47:30 +0200 | received badge | ● Nice Answer (source) |
2021-08-12 17:25:01 +0200 | received badge | ● Nice Answer (source) |
2021-03-11 11:26:15 +0200 | received badge | ● Nice Answer (source) |
2021-02-10 17:57:00 +0200 | received badge | ● Good Question (source) |
2021-02-10 17:56:34 +0200 | received badge | ● Famous Question (source) |
2021-01-29 17:48:13 +0200 | received badge | ● Nice Question (source) |
2021-01-19 17:32:29 +0200 | marked best answer | Set axes in 3d plot Is there a way to set the kind of axes shown in a 3d plot? Seems like you should be able to specify boxed, axes, etc. in the |
2020-05-01 08:49:27 +0200 | received badge | ● Good Answer (source) |
2020-04-28 16:58:57 +0200 | received badge | ● Notable Question (source) |
2019-12-24 22:44:24 +0200 | received badge | ● Famous Question (source) |
2019-12-24 22:44:24 +0200 | received badge | ● Notable Question (source) |
2019-06-08 17:04:35 +0200 | received badge | ● Popular Question (source) |
2019-03-09 19:05:36 +0200 | 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. |
2019-01-17 15:59:20 +0200 | 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. |
2019-01-09 19:51:05 +0200 | received badge | ● Nice Answer (source) |
2018-10-02 14:50:50 +0200 | answered a question | plotting autonomous differential equations Here is another option for plotting. The |
2018-09-01 03:30:08 +0200 | received badge | ● Notable Question (source) |
2018-07-18 12:54:33 +0200 | received badge | ● Nice Answer (source) |
2018-06-28 20:47:20 +0200 | received badge | ● Nice Answer (source) |
2018-06-11 19:57:11 +0200 | received badge | ● Famous Question (source) |
2018-05-09 03:13:06 +0200 | 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. |
2018-05-04 19:10:56 +0200 | answered a question | Solve a system For the first For the second question, you can do the following: |
2018-04-17 17:20:56 +0200 | received badge | ● Famous Question (source) |
2018-04-11 18:31:59 +0200 | marked best answer | How to color a 3d plot by z-level? I'd like to color a 3d plot based on z-level. 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? |
2018-04-11 18:31:56 +0200 | received badge | ● Nice Question (source) |
2018-04-10 06:34:00 +0200 | received badge | ● Nice Answer (source) |
2018-03-09 10:13:46 +0200 | received badge | ● Famous Question (source) |
2018-03-03 13:52:14 +0200 | 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, |
2018-02-09 03:09:11 +0200 | edited question | How do get SVD inverse I formed my matrix $A$ from, |
2018-01-13 03:37:35 +0200 | 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 |
2018-01-13 03:12:12 +0200 | 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 |
2018-01-11 21:07:32 +0200 | commented answer | Plot/Show Png/jpg in sagemath worksheet You can double-click the sell to unhide it. |
2018-01-08 17:42:22 +0200 | commented answer | Plot/Show Png/jpg in sagemath worksheet Try adding %hide before the %md. |
2018-01-08 13:28:29 +0200 | received badge | ● Nice Answer (source) |
2018-01-07 19:16:35 +0200 | 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: |
2017-12-30 13:49:28 +0200 | 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}$. |
2017-12-27 14:31:22 +0200 | 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. |
2017-12-17 21:17:58 +0200 | answered a question | how to run maxima code in Sage? Try placing the magic |
2017-12-17 21:15:11 +0200 | 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 |
2017-12-01 19:33:52 +0200 | answered a question | What is useful for to upgrade a project or an account?
|
2017-10-22 05:12:28 +0200 | answered a question | how to print the printout not too long on Sagecell How about: |
2017-10-15 20:22:56 +0200 | 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? |
2017-10-08 21:20:14 +0200 | received badge | ● Notable Question (source) |
2017-10-07 20:51:29 +0200 | commented question | Get the constant value of an equation You can define |
2017-10-07 20:45:17 +0200 | answered a question | Solving a system of equations -- small known number hinders the solution Here is an approach using Sympy. |
2017-10-07 20:12:48 +0200 | 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.48e-13: I get: [] I do get numbers when I change the known value of "K" in the 2nd line to 4.48e-10 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 1e-10. 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! |