Ask Your Question

nkauf's profile - activity

2024-02-15 10:43:43 +0200 received badge  Notable Question (source)
2022-04-03 19:08:10 +0200 received badge  Popular Question (source)
2020-10-08 22:20:07 +0200 commented answer Trouble Using QEPCAD

When I try to check the log in the Jupyter notebook, I get an invalid syntax error. Same thing if I try putting "sage:" in front.

In terms of examples, for some reason when I copy/pasted an example from the sage: ?qepcad thing, "sage: qepcad('[a x + b > 0]', vars='(a,b,x)')" the program runs (it goes on to the next line, but does not output the answer), whereas if I put "sage: qepcad('[a*x + b > 0]', vars='(a,b,x)')", for some reason it gets stuck again. I have no idea if this narrows anything down. Maybe another thing that factors into it is that I'm using the notebook in my browser rather than downloading anything. I'm sure there's something really basic somewhere that I'm just missing, but I really don't know enough about programming to know what it would be.

2020-10-08 14:36:36 +0200 commented answer Trouble Using QEPCAD

I think the invisible typo comes from copying this from an email sent to my advisor, I just double checked by both copy/pasting what you have as well as manually typing in this particular inequality and it still doesn't work for me. But I guess it is a good start to know that the problem is not with QEPCAD's capabilities but rather with mine. I don't really know what extra info would be helpful here, but I'm doing this on a Jupyter notebook with Sagemath 9.1 as the kernel. There's also an error message I get when I interrupt the kernel that starts with "Keyboard Interrupt Traceback (most recent call last)", would that be helpful to post?

2020-10-07 22:35:02 +0200 received badge  Student (source)
2020-10-07 22:14:04 +0200 asked a question Trouble Using QEPCAD

I'm having trouble doing even relatively basic (at least, it seems relatively basic) simplification in QEPCAD.

For instance, when I try to run the following line of code:

sage: qepcad(-k**2 + 6*k*m - 9*m**2 + 1​ > 0)

(with k, m already set as variables), the computation goes on for much longer than I want it to, and in fact I have yet to see it finish. I'm not really sure why this is the case, or if problems like this just take a long time for QEPCAD (I know that Wolfram Alpha does these very quickly). Really what I want is just to find one integer solution to the above inequality (i.e. k = m = 0) and more generally, I want to be able to take n of these kind of inequalities (I would prefer being able to do higher degrees as well, but I think just quadratic would be fine) and find integers k, m which satisfy all of them, or have the program tell me no such k, m exist. So if there's a different approach I should be taking then please let me know, or if I need to give more information on anything just say so. I have absolutely no experience programming, I'm just trying to write up a calculator for something I'm working on for my math PhD.

2020-10-07 22:14:04 +0200 asked a question Trouble Using QEPCAD

For some reason, I'm having trouble doing even relatively basic (at least, it seems relatively basic) simplification in QEPCAD. For instance, when I try to run the following line of code:

sage: qepcad(-k2 + 6km - 9*m2 + 1​ > 0)

(with k,m already set as variables), the computation goes on for much longer than I want it to, and in fact I have yet to see it finish. I'm not really sure why this is the case, or if problems like this just take a long time for QEPCAD (I know that Wolfram Alpha does these very quickly). Really what I want is just to find one integer solution to the above inequality (i.e. k = m = 0) and more generally, I want to be able to take n of these kind of inequalities (I would prefer being able to do higher degrees as well, but I think just quadratic would be fine) and find integers k,m which satisfy all of them, or have the program tell me no such k,m exist. So if there's a different approach I should be taking then please let me know, or if I need to give more information on anything just say so. I have absolutely no experience programming, I'm just trying to write up a calculator for something I'm working on for my math PhD.