andreabat

10 Reputation

2 Badges

13 years, 254 days

MaplePrimes Activity


These are questions asked by andreabat

Hi,

I have to solve a very complex trigonometric equation which has 0,1 or 2 solutions between 0 and Pi (it depends from some parameters...).

The first problem I solved is to find the two solutions (when they exist), because at the beginning, the fsolve function returned only one solution. So, reading in your site, I solved this problem "splitting" che solutions domain in two parts in which I expect to find the two different solutions.

So for example a I wrote:

Hi everybody,

I have just started to learn using maple and now I have a trouble.

I thought programming was similar to C language, and I tried to write this simple code:

> restart:
> a := 2;
   b := 5;
>
> for i from 1 by 1 to 4 do
   if a = b then 
        print('before'); 
        plot(x^2, x = -2 .. 2); 
        print('later')
   end if; 
Page 1 of 1