## 151 Reputation

15 years, 23 days

## It prints the results in a matrix format...

It prints the results in a matrix format but i can not select each case and then paste , it selects the whole matrix when i try to do it

## It prints the results in a matrix format...

It prints the results in a matrix format but i can not select each case and then paste , it selects the whole matrix when i try to do it

## @pagan could i be able to modify this o...

@pagan

could i be able to modify this one to select the number of equations i wish to solve,because once i decide the value of w where a6 is almost close to zero.i could try solving the system of equation by removing the equation with a6 on the system and it would make the calculations much easier...but right now i have to do it manually ,is there a way to make it automatic by checking the value of a6 ?

## @pagan could i be able to modify this o...

@pagan

could i be able to modify this one to select the number of equations i wish to solve,because once i decide the value of w where a6 is almost close to zero.i could try solving the system of equation by removing the equation with a6 on the system and it would make the calculations much easier...but right now i have to do it manually ,is there a way to make it automatic by checking the value of a6 ?

## Finding the right range...

I had a feeling the range has something to do .

The problem i have is that i tried a few cases with for example range 0..1 and then tried 0..2 no other variables changes except this.But im getting very different answers eventhough the order of magnitude is same.

So which solution should i consider ,the ones calculated with lowest range ?

## Finding the right range...

I had a feeling the range has something to do .

The problem i have is that i tried a few cases with for example range 0..1 and then tried 0..2 no other variables changes except this.But im getting very different answers eventhough the order of magnitude is same.

So which solution should i consider ,the ones calculated with lowest range ?

## @acer  Yes i am able to find solut...

Yes i am able to find solution for "w" values less than critical ,but for each case i am trying different "w" by replacing the best value in the fsolve command as shown below.

```fsolve(eval(sys,w=bestw[2][1]),{a1=0..5,a2=0..5,a3=0..5,a4=0..5,
a5=0..0.01,a6=0..1,t=0..10});So what i was trying was to find a way to solve for a set of "w" values less than critical value and finding the solution for each case at the same time instead of substituting one "w" at a time.```

## @acer  Yes i am able to find solut...

Yes i am able to find solution for "w" values less than critical ,but for each case i am trying different "w" by replacing the best value in the fsolve command as shown below.

```fsolve(eval(sys,w=bestw[2][1]),{a1=0..5,a2=0..5,a3=0..5,a4=0..5,
a5=0..0.01,a6=0..1,t=0..10});So what i was trying was to find a way to solve for a set of "w" values less than critical value and finding the solution for each case at the same time instead of substituting one "w" at a time.```

## More details...

I hope this makes it bit clear about what i am trying to do, i used your idea to find the critical "w" and the used the following method used by the person below , to find the unknowns at all values of "w" less than the critical using direct search.

So is there a way to change the file that finds critical "w" ,to also calculate the unknows at values less than critical "w" than just excactly at critical "w".

Acer_Q.mw

## More details...

I hope this makes it bit clear about what i am trying to do, i used your idea to find the critical "w" and the used the following method used by the person below , to find the unknowns at all values of "w" less than the critical using direct search.

So is there a way to change the file that finds critical "w" ,to also calculate the unknows at values less than critical "w" than just excactly at critical "w".

Acer_Q.mw

## Works with various ranges...

Thanks for the help , i tried working on it with different ranges and it converges well on the critical "w" each time .After that i have the 6 equation system to find all the unknowns which does not have the issue of any unknows going to zero.

When running this it gives me the solution @ w critical for all unknowns and the values of only a6 when i run it with values of "w" less than the critical value.

So for the code to print out all the unknowns for "w" values less than critical along with a6 ,what should be done.

## Works with various ranges...

Thanks for the help , i tried working on it with different ranges and it converges well on the critical "w" each time .After that i have the 6 equation system to find all the unknowns which does not have the issue of any unknows going to zero.

When running this it gives me the solution @ w critical for all unknowns and the values of only a6 when i run it with values of "w" less than the critical value.

So for the code to print out all the unknowns for "w" values less than critical along with a6 ,what should be done.

## @Axel Vogt  Well actually a LOT of...

Well actually a LOT of people helped me in the forum to come up so far , and i have used and modified their ideas and it has worked all the time.

## @Axel Vogt  Well actually a LOT of...

Well actually a LOT of people helped me in the forum to come up so far , and i have used and modified their ideas and it has worked all the time.

## @Axel Vogt  But the problem with c...

But the problem with choosing a6=0 ,is validated only after a critical "w" value..so i need to find it first.

I am doing the method suggested by Markiyan Hirnyk , but its tough to exactly locate the critical "w" at which a6 goes to zero or very close to.

 1 2 3 Page 1 of 3
﻿