Ask Your Question

domotorp's profile - activity

2016-11-03 06:14:28 -0500 received badge  Scholar (source)
2016-11-03 04:56:03 -0500 commented question Numerical real solution of derivative

The same issue persists - changing the variable x to 2x shouldn't make a difference, but it does. This might not even be an issue with precision, very weird.

2016-11-03 04:45:59 -0500 commented answer Numerical real solution of derivative

Thanks for your help again, I've again updated my answer. It seems that 2*x and x makes all the difference for Sage. The solution should be some x around 0.01.

2016-11-03 03:52:09 -0500 commented question Numerical real solution of derivative

I have added an example.

2016-11-03 03:50:53 -0500 received badge  Editor (source)
2016-11-03 02:58:31 -0500 asked a question Numerical real solution of derivative

I would like to know where a function attains its maximum, so I'm trying to solve some

diff(y,x),x

where y depends on y. I have difficulties with Sage returning equations, complex roots, converting equations, find_maximum_on_interval command etc, and instead of spending another hour trying to figure it out myself, I thought I would try asking here...

Here is a more concrete example:

f = log(2.02 * x + 1) / 2 + log( -2 * x + 1) / 2

find_local_maximum(diff(f,x), 0, 1)

What is mysterious for me, is that the above works if instead I have

f = log(1.01 * x + 1) / 2 + log( -x + 1) / 2

2015-01-25 14:29:50 -0500 commented question "Too many output messages"

I would also love to know this.

2014-06-01 08:01:47 -0500 received badge  Supporter (source)