integrating trig functions with large constants, exponent out of range
Subject: integrating trig functions with large constants, exponent out of range
From: Neilen Marais
Date: Sat, 06 Jan 2007 01:10:07 +0200
Hi
I get the following problem:
(%i8)
integrate(%i*sin((34037595938027*x3)/6154596958582590-(863833069661327*x2)/
6222711301569210-(863833069661327*x1)/6222711301569210-,
99614657/338602740)*x3,x3);
Exponent out of range
I tried reducing the error:
(%i9) integrate(%i*sin(34037595938027*x3)*x3, x3);
but had to interrupt it since it seemed to take forever. I found that
the integration time is dependent on the size of the constant in the
expression. integrate(%i*sin((3*x3))*x3, x3) happens fast,
integrate(%i*sin((30000*x3))*x3, x3) takes several seconds etc.
This is a bit strange, but usually one could just just a variable in place
of the number. I have an unsual use case that prevents me from
doing this without a lot of work. If there is no workaround for the
large-number integral problem I will post more details in the hopes of
someone better than me giving a workable solution :)
Regards
Neilen
--
you know its kind of tragic
we live in the new world
but we've lost the magic
-- Battery 9 (www.battery9.co.za)