yourniteshattal

72 Reputation

2 Badges

15 years, 59 days

MaplePrimes Activity


These are replies submitted by yourniteshattal

the following error is generated

HP=HP1+HP2+HP3+HP4+HP5+HP6+HP7+HP8+HP9+HP10:
eq12:=HP1+HP2+HP3+HP4+HP5+HP6+HP7+HP8+HP9+HP10=HR:

res2:=LSSolve(Res[1..10],{eq11,eq12,x1<=1,x2<=1,x3<=1,x4<=1,x5<=1,x6<=1,x7<=1,x8<=1,x9<=1,x10<=1,T>=Ti},
assume=nonnegative,iterationlimit=5000,feasibilitytolerance=.001,optimalitytolerance=0.001);
evalf(eval([eq1, eq2,eq3,eq4,eq5,eq6,eq7,eq8,eq9,eq10,eq11,eq12], res2[2]));
fsolve({eq1, eq2,eq3,eq4,eq5,eq6,eq7,eq8,eq9,eq10,eq11,eq12}, convert(res2[2],set));
 

Error, (in Optimization:-LSSolve) objective function must be specified as a list of residuals
Error, invalid input: eval received res2[2], which is not valid for its 2nd argument, eqns
Error, (in fsolve) fsolve cannot solve on 2
can you please send me the code on my e-mail address-

yourniteshattal@rediffmail.com

yourniteshattal@gmail.com

thanks

nitesh

the following error is generated

HP=HP1+HP2+HP3+HP4+HP5+HP6+HP7+HP8+HP9+HP10:
eq12:=HP1+HP2+HP3+HP4+HP5+HP6+HP7+HP8+HP9+HP10=HR:

res2:=LSSolve(Res[1..10],{eq11,eq12,x1<=1,x2<=1,x3<=1,x4<=1,x5<=1,x6<=1,x7<=1,x8<=1,x9<=1,x10<=1,T>=Ti},
assume=nonnegative,iterationlimit=5000,feasibilitytolerance=.001,optimalitytolerance=0.001);
evalf(eval([eq1, eq2,eq3,eq4,eq5,eq6,eq7,eq8,eq9,eq10,eq11,eq12], res2[2]));
fsolve({eq1, eq2,eq3,eq4,eq5,eq6,eq7,eq8,eq9,eq10,eq11,eq12}, convert(res2[2],set));
 

Error, (in Optimization:-LSSolve) objective function must be specified as a list of residuals
Error, invalid input: eval received res2[2], which is not valid for its 2nd argument, eqns
Error, (in fsolve) fsolve cannot solve on 2
can you please send me the code on my e-mail address-

yourniteshattal@rediffmail.com

yourniteshattal@gmail.com

thanks

nitesh

Can you tell me how did u scale the last equation? Thanks nitesh!
Can you tell me how did u scale the last equation? Thanks nitesh!
How do i reduce the accuracy of the results. I am okay if the solution is within 4or5 decimal places. If that doesnt work then i can settle for the last equation(#eq12)(that is difference to be within 2percent). Sir the difference in the HP and HR that is the last equation(eq12) can be within 2percent. If i can apply the command that you used which calculates RHS-LHS for this equation and set it within the limit 2percent i guess the convergance can be achieved for rest of the 11equations. Can this help in converging? Can u please send me the code or please explain me how should i do it? Thanks. Nitesh
How do i reduce the accuracy of the results. I am okay if the solution is within 4or5 decimal places. If that doesnt work then i can settle for the last equation(#eq12)(that is difference to be within 2percent). Sir the difference in the HP and HR that is the last equation(eq12) can be within 2percent. If i can apply the command that you used which calculates RHS-LHS for this equation and set it within the limit 2percent i guess the convergance can be achieved for rest of the 11equations. Can this help in converging? Can u please send me the code or please explain me how should i do it? Thanks. Nitesh
How do i reduce the accuracy of the results. I am okay if the solution is within 4or5 decimal places. If that doesnt work then i can settle for the last equation(#eq12)(that is difference to be within 2percent). Can this help in converging? Can u please send me the code or please explain me how should i do it? Thanks.
How do i reduce the accuracy of the results. I am okay if the solution is within 4or5 decimal places. If that doesnt work then i can settle for the last equation(#eq12)(that is difference to be within 2percent). Can this help in converging? Can u please send me the code or please explain me how should i do it? Thanks.

 x1,x2,x3,x4,.... all are between 0 and 1
n is always grater than zero
T is always grater than Ti
 

 x1,x2,x3,x4,.... all are between 0 and 1
n is always grater than zero
T is always grater than Ti
 

in the equation T and Ti are the temperature in Kelvin and hence is grater that zero.

x1,x2,x3... and n are also greater than zero.

if i try to solve Ti from T(input) then the solution is obtained.

this can be done just by changing the input being T instead of Ti and in fsolve command replace T by Ti.

So i guess maple should give me a solution for the reverse which it is not and that is what is required.

 

 

in the equation T and Ti are the temperature in Kelvin and hence is grater that zero.

x1,x2,x3... and n are also greater than zero.

if i try to solve Ti from T(input) then the solution is obtained.

this can be done just by changing the input being T instead of Ti and in fsolve command replace T by Ti.

So i guess maple should give me a solution for the reverse which it is not and that is what is required.

 

 

Page 1 of 1