Ask Your Question

gg's profile - activity

2024-02-08 12:26:22 +0200 received badge  Notable Question (source)
2023-11-14 18:07:16 +0200 received badge  Notable Question (source)
2023-11-14 18:07:16 +0200 received badge  Famous Question (source)
2023-07-14 04:18:39 +0200 received badge  Popular Question (source)
2023-07-14 04:18:39 +0200 received badge  Famous Question (source)
2023-07-14 04:18:39 +0200 received badge  Notable Question (source)
2022-12-30 23:17:00 +0200 received badge  Popular Question (source)
2022-05-18 14:04:10 +0200 received badge  Popular Question (source)
2022-01-18 22:34:52 +0200 received badge  Famous Question (source)
2021-10-02 18:38:52 +0200 received badge  Good Question (source)
2021-07-15 08:21:39 +0200 received badge  Popular Question (source)
2021-04-29 21:13:30 +0200 received badge  Notable Question (source)
2020-10-15 21:31:44 +0200 received badge  Popular Question (source)
2020-05-24 17:24:24 +0200 commented answer Unexpected result for trigonometric function

Sorry, I didn't take a screenshot. But admins can look at the logs.

2020-05-24 05:18:06 +0200 commented answer Unexpected result for trigonometric function

Thanks for the reply. BTW, I was trying to post this question since yesterday, but it was being flagged as spam. Why is that? I am not behind proxy or anything.

2020-05-24 03:39:24 +0200 asked a question Unexpected result for trigonometric function

I'm trying to solve the following trig eqn using sage.

$$sin(x)-cos(x) = 0$$

Hand calculation give me the result of: $$x=\frac{\pi}{4} + n\pi$$

However, the solve() function gives me a different result, why is that?:

sage: 
sage: solve(sin(x)-cos(x) == 0, x, to_poly_solve=True)
[x == 1/4*pi + pi*z25]
sage:

Also, what's z in the answer? I haven't defined any such variable.

2020-05-20 07:57:03 +0200 asked a question How to calculate twos and ones complement?

How can I calculate twos and ones complement in sage?

I tried searching the docs but didn't find anything.

2020-05-09 06:50:16 +0200 commented answer Solving quadratic inequality

Thanks, I didn't notice it.

2020-05-08 19:40:27 +0200 commented answer Solving quadratic inequality

but the answer doesn't contain the last part (2, 6)

2020-05-08 19:31:51 +0200 asked a question Solving quadratic inequality

How to solve the following quadratic inequality:

$$0.3 < \frac{2x}{x^{2} + 4} <0.5$$

The call to solve function return the following output:

sage: 
sage: solve( [(2*x / (4+x**2)) < .5 , (2*x / (x**2 + 4)) > .3 ], x, to_poly_serve=True )
[[-2*x/(x^2 + 4) + 0.5 > 0, 2*x/(x^2 + 4) - 0.3 > 0]]
sage:

By hand calculation I found the following answer $(2/3, 2) \cup (2, 6)$.

2020-04-26 11:53:52 +0200 commented answer How to correctly plot x^(1/3)

So, its a function to plot relations rather than function. Thanks

2020-04-25 19:32:10 +0200 commented answer How to correctly plot x^(1/3)

what's the difference between plot and implicit_plot?

2020-04-25 18:47:56 +0200 received badge  Nice Question (source)
2020-04-25 17:08:30 +0200 commented answer How to correctly plot x^(1/3)

How you arrive at this function sgn(x)*abs(x)^(1/3)?

2020-04-25 16:03:54 +0200 commented answer How to correctly plot x^(1/3)

Specifying these arguments still doesn't plot the correct graph.

2020-04-25 16:02:09 +0200 commented question How to correctly plot x^(1/3)

I was expecting this

2020-04-25 13:53:08 +0200 asked a question How to correctly plot x^(1/3)

sage: plot(x**(1/3))

This command produces a graph that looks like this:

image

I was expecting a graph like this:

image

2020-04-18 08:20:46 +0200 commented answer Unexpected result in calculating limits

BTW, I don't quite understand the term "complex plane" and how the square root converges to 0. Where I can read more about it?