ap8888

10 Reputation

2 Badges

16 years, 278 days

MaplePrimes Activity


These are replies submitted by ap8888

Thanks mr. pagan. 

Thanks mr. pagan. 

That seems to work sometimes, but now I'm having the same problem again. 

 

For example, see the long but relatively simple example shown here: forforum3.mw

 

That seems to work sometimes, but now I'm having the same problem again. 

 

For example, see the long but relatively simple example shown here: forforum3.mw

 

Thanks so much. Problem solved. 

Thanks so much. Problem solved. 

Thanks to your help I fixed Problem 2. 

 

Problem 1 persists:

 

Basically every other time I run the program, it gets stuck in the inner 'WHILE' loop. It seems the solution for 'lambda' gives an empty matrix (every other time the program is run) and so ofcourse we end up an infinite loop. 

 

Any ideas?

forforum2.mw

Thanks to your help I fixed Problem 2. 

 

Problem 1 persists:

 

Basically every other time I run the program, it gets stuck in the inner 'WHILE' loop. It seems the solution for 'lambda' gives an empty matrix (every other time the program is run) and so ofcourse we end up an infinite loop. 

 

Any ideas?

forforum2.mw

Second:

Even if I declare Calt2 as "Calt2 := Vector(mx)", where mx:=2, I still don't get the subs if the "with(Packages)" are at the top.

Second:

Even if I declare Calt2 as "Calt2 := Vector(mx)", where mx:=2, I still don't get the subs if the "with(Packages)" are at the top.

First:

Why is it that j is always 0? I don't think that's always true. why does the loop sometimes work and sometimes not?

First:

Why is it that j is always 0? I don't think that's always true. why does the loop sometimes work and sometimes not?

It seems the problem is the line:

Bet(k,m):=(J(m,lambda(k,m)*a))/(J(m,lambda(k,m)*b))=(Y(m,lambda(k,m)*a))/(Y(m,lambda(k,m)*b))

Including this line leads to u(r,theta,t) producing an integration error.

What is wrong with this?

 

-------

Bet(k,m):=(J(m,lambda(k,m)*a))/(J(m,lambda(k,m)*b))=(Y(m,lambda(k,m)*a))/(Y(m,lambda(k,m)*b))

What does this imply? How do I remedy the problem?

I left it running overnight and the program is indeed unsolvable. 

I'm not sure exactly what you mean by "indefinite", but purpose here is to define a function for 'u' that is a function of 'r', 'theta', and 't'. In turn, 'u' is composed of a double summation spanning 'k' and 'm'. This seems straightforward -- what's the problem here?

 

Thank you!

What does this imply? How do I remedy the problem?

I left it running overnight and the program is indeed unsolvable. 

I'm not sure exactly what you mean by "indefinite", but purpose here is to define a function for 'u' that is a function of 'r', 'theta', and 't'. In turn, 'u' is composed of a double summation spanning 'k' and 'm'. This seems straightforward -- what's the problem here?

 

Thank you!

1 2 Page 1 of 2