Ask Your Question

tdc2bdc's profile - activity

2024-04-14 16:57:46 +0200 received badge  Famous Question (source)
2018-06-08 22:46:39 +0200 received badge  Notable Question (source)
2017-12-14 15:00:04 +0200 received badge  Popular Question (source)
2016-04-01 16:43:26 +0200 commented question How to fix Runtime Error while doing integration?

Excuse me for not researching deep enough. I think it was so on the basis of my experience with Wolfram Alpha's timeout error, ticket/#15902 AND 7653/setting-precision-in-sage/ . vdelecroix's fix is fine for me, if it is replicated by other CAS too. Thanks a lot.

2016-04-01 16:34:59 +0200 received badge  Scholar (source)
2016-04-01 16:34:52 +0200 commented answer How to fix Runtime Error while doing integration?

Thank you very much vdelecroix for your solution. BTW is it because I'm using Sage Cloud? I'm also trying to cross-check above solution's value with other CAS.

2016-04-01 14:45:37 +0200 received badge  Student (source)
2016-04-01 13:16:57 +0200 asked a question How to fix Runtime Error while doing integration?

I'm trying to evaluate:

definite_integral(z,t,0,2*pi)

where z is:

z = 1-exp(2.0*cos(t) - 2.0*sin(t)-0.4*sqrt(-25*(cos(t) - sin(t))^2 + 100)^2)

But it is throwing following error:

RuntimeError: ECL says: THROW: The catch RAT-ERR is undefined.

I' new to Sage, but following through some posts at ask.sagemath (I can't post link), I feel it may be due to precision. 5 digits are OK with me.

Any fix/workaround? Thanks.