Ask Your Question

tdc2bdc's profile - activity

2018-06-08 15:46:39 -0500 received badge  Notable Question (source)
2017-12-14 08:00:04 -0500 received badge  Popular Question (source)
2016-04-01 09:43:26 -0500 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 09:34:59 -0500 received badge  Scholar (source)
2016-04-01 09:34:52 -0500 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 07:45:37 -0500 received badge  Student (source)
2016-04-01 06:16:57 -0500 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.