solver trouble



On 4/5/13, Ben Blomberg <bblomberg at mail.bradley.edu> wrote:
> Dear Barton,
>
> My apologies I should have explained more.
>
> 1)nmax is 20.
> 2) c1 is a list and each value in the list is a complex number.
> 3)That is exactly it, I am looking for a numerical solution. I wrote
> this code in matgematica as well and I want to compare results. In
> mathematica I used FindRoot. I just cant seem to find an equivalent
> function.
>
> Best,
> Ben
>
>
> On 4/4/13, Barton Willis <willisb at unk.edu> wrote:
>> (1) What is the value of nmax?
>>
>> (2) You didn't say thing about c1. Is it a list of explicit numbers?
>>
>> (3) Are you thinking about a purely numerical solution (Newton method,
>> for
>> example)?
>>
>>
>> --Barton
>> ________________________________
>> From: maxima-bounces at math.utexas.edu [maxima-bounces at math.utexas.edu] on
>> behalf of Ben Blomberg [bblomberg at mail.bradley.edu]
>> Sent: Thursday, April 04, 2013 20:22
>> To: maxima at math.utexas.edu
>> Subject: solver trouble
>>
>> Hello All,
>>
>> I am trying to use maxima to solve for y with the following code:
>>
>>     Ucr(y):=offset+c1[21]+2*sum(realpart(c1[m+20])*cos(2*3.14*(m-1)*y/dp)
>> -
>> imagpart(c1[m+20])*sin(2*3.14*(m-1)*y/dp),m,2,nmax+1);
>>
>>      solve(Ucr(y)-40.985=0,y);
>>
>> c1 is a list and there are numerical values for offset, and dp.
>>
>> When I try this i either get an error about adjusting 'linel' or a big
>> block
>> of nonsensical numbers and no value for y. Adjusting 'linel' only affects
>> the display. I am not sure exactly what to do. IS there a way I can give
>> 'solve' a range and to have it search for solutions in that range?
>>
>> Thanks,
>> Ben
>>
>