elango8

146 Reputation

4 Badges

12 years, 6 days

MaplePrimes Activity


These are replies submitted by elango8

Thank you very much for your help it works that way.

Now i am further trying to improve my calculations by integrating separate calculations i do but ihave no clue how to begin with.

E.mw

paper_model_literatu.mw

 

If you look at the 2 files , you could see me calculating the variables k1,k2,h1,h2...etc in file 1 which are in turn used as inputs in file 2 and then the system of equation is solved.

But the problem i have is all my variables calculated in file 1 are function of t , so each time i enter a new t and find the variables for different values of t and then i use them as inputs in file 2.

ex:file 2 has k1vals:=[a b c d] - these four values are calculated by entering different values of t in file 1.

Is there any way to simplify this procedure so i cud do it like a program, where i enter the range of t values like t:[100..500] and then it automatically calculates the variables and uses them as inputs while solving the system of equations ?

 

I know it sounds confusing but i would be glad to explain in detail what i want to do.

I dont want to do all the possibilities...i simply want to do the sequence in such a way that

since i have 9 parameter with 3 values each , i would like to do the following

(a1,b1,c1,d1,e1,f1,g1,h1,i1) ;(a1,b1,c1,d1,e1,f1,g1,h1,i2);(a1,b1,c1,d1,e1,f1,g1,h1,i3)

(a2,b2,c2,d2,e2,f2,g2,h2,i1) ;(a2,b2,c2,d2,e2,f2,g2,h2,i2) ;(a2,b2,c2,d2,e2,f2,g2,h2,i3)

(a3,b3,c3,d3,e3,f3,g3,h3,i1);(a3,b3,c3,d3,e3,f3,g3,h3,i2);(a3,b3,c3,d3,e3,f3,g3,h3,i3)

so just 9 combinations i want

I dont want to do all the possibilities...i simply want to do the sequence in such a way that

since i have 9 parameter with 3 values each , i would like to do the following

(a1,b1,c1,d1,e1,f1,g1,h1,i1) ;(a1,b1,c1,d1,e1,f1,g1,h1,i2);(a1,b1,c1,d1,e1,f1,g1,h1,i3)

(a2,b2,c2,d2,e2,f2,g2,h2,i1) ;(a2,b2,c2,d2,e2,f2,g2,h2,i2) ;(a2,b2,c2,d2,e2,f2,g2,h2,i3)

(a3,b3,c3,d3,e3,f3,g3,h3,i1);(a3,b3,c3,d3,e3,f3,g3,h3,i2);(a3,b3,c3,d3,e3,f3,g3,h3,i3)

so just 9 combinations i want

Yeah i was also able to do this , but its not listing P1 ,P2,P3.....in the solutin ,all of them are bunched...is there any way to tag each solution with corresponding n value

Yeah i was also able to do this , but its not listing P1 ,P2,P3.....in the solutin ,all of them are bunched...is there any way to tag each solution with corresponding n value

I tried doin the global search option for finding the roots for a different set of values but it says the input is invalid

I tried doin the global search option for finding the roots for a different set of values but it says the input is invalid

@roman_pearce 

hello ,

I have figured out how to solve for corresponding values but when i try to solve the set of equations by using for example,

a :=[10 values]

b:=[10 values]

w:= [10 values]

##here i want to solve the set of equations for  [a1 b1 w1] ,[a2 b2 w1] , [a3 b3 w1]....like i want to solve the equations for all correponding values of a,b @ each w ##

set of equations (function of a,b,c)

i cant make it work ,i end up taking one value at a time for a , b and solve ...is there a way to make the solver solve for all the values

I have attched the file with the previous codepaper_model_expvalue.mw

 

@roman_pearce 

hello ,

I have figured out how to solve for corresponding values but when i try to solve the set of equations by using for example,

a :=[10 values]

b:=[10 values]

w:= [10 values]

##here i want to solve the set of equations for  [a1 b1 w1] ,[a2 b2 w1] , [a3 b3 w1]....like i want to solve the equations for all correponding values of a,b @ each w ##

set of equations (function of a,b,c)

i cant make it work ,i end up taking one value at a time for a , b and solve ...is there a way to make the solver solve for all the values

I have attched the file with the previous codepaper_model_expvalue.mw

 

As you could see frm the above i have solved the equations for 3 diff set of values....but the problem i am having is i need to solve the equations 3 times for each value of "w"...so i should get 9 set of answers but right now i have just 3...how chould i loop this to avoid solving the equations by specifying single value for "w" at a time ??

As you could see frm the above i have solved the equations for 3 diff set of values....but the problem i am having is i need to solve the equations 3 times for each value of "w"...so i should get 9 set of answers but right now i have just 3...how chould i loop this to avoid solving the equations by specifying single value for "w" at a time ??

1 2 3 Page 3 of 3