## 58 Reputation

14 years, 165 days

## Thank you...

Thank you to you all. Your suggestions were very helpfull, and brought me some light and new ideas to decide on the best approach to solve this system. This Forun really works well! Thanks.

João

## It works. thanks a lot!...

Yes, it was really helpful! Thank you very much for your precious indication about the command "seq".

Now I got the result vector for any variable I wish, changing the parameter "a2" on my system.

Indeed I was doing the looping with "for...do...end do" thinking it was the only way of doing loopings with Maple.

Thank you,

Joao

## It works. thanks a lot!...

Yes, it was really helpful! Thank you very much for your precious indication about the command "seq".

Now I got the result vector for any variable I wish, changing the parameter "a2" on my system.

Indeed I was doing the looping with "for...do...end do" thinking it was the only way of doing loopings with Maple.

Thank you,

Joao

## subs retains only the last value, not th...

Hello, thanks for the answer but in fact I have tried before this.

It works well for a single value of "P", but my problem is getting the n values of "P"; changing the value of "a2" from, for instance 90 to 95:

e.g.
> for a2 from 90 to 95 do v2 := subs(fsolve(sys), P) end do;
v2:= -6.960404e-13
v2:= -1.002513e-12
v2:= -1.294490e-12
v2:= -1.572463e-12
v2:= -1.836902e-12
v2:= -2.088261e-12

My doubt is how to create a single "v2" vector with these results of "P"

------
If I use "subs" it gives me only the last result of "P", not a vector or array with the several "P" results for each value of a2 used.

for a2 from 90 to 95 do subs(solutions, P) end do

v2:= -2.088261e-12
v2:= -2.088261e-12
v2:= -2.088261e-12
v2:= -2.088261e-12
v2:= -2.088261e-12

Thanks again,
JPA

## subs retains only the last value, not th...

Hello, thanks for the answer but in fact I have tried before this.

It works well for a single value of "P", but my problem is getting the n values of "P"; changing the value of "a2" from, for instance 90 to 95:

e.g.
> for a2 from 90 to 95 do v2 := subs(fsolve(sys), P) end do;
v2:= -6.960404e-13
v2:= -1.002513e-12
v2:= -1.294490e-12
v2:= -1.572463e-12
v2:= -1.836902e-12
v2:= -2.088261e-12

My doubt is how to create a single "v2" vector with these results of "P"

------
If I use "subs" it gives me only the last result of "P", not a vector or array with the several "P" results for each value of a2 used.

for a2 from 90 to 95 do subs(solutions, P) end do

v2:= -2.088261e-12
v2:= -2.088261e-12
v2:= -2.088261e-12
v2:= -2.088261e-12
v2:= -2.088261e-12

Thanks again,
JPA

 Page 1 of 1
﻿