## 749 Reputation

11 years, 115 days

## what do u mean by Max and max ?...

what these expressions means ?
Max(f1-M,0)
max(g1,0) ?
are they maximize ? or maximum elements ?!

@fereydoon_shekofte tnx Mr.shekofte for these links,very nice. thank u.

## tnx for this comprehensive answer...

@ecterrab tnx for this comprehensive and acutally perfect answer. i learned many thing from these and actually as a Ph.d candidate in mechanical engineering field,i appreciate maple physics package to be very useful and applicable in mechenics. 'actually i face this problem when my friend and i do the same thing but me in maple and my friend mathematrica ! actullay maple do the whole things super faster than mathematica ! i got some differentials using physics package and some integrals ( i also do it by parts ) in just a few seconds ! but my friend do it in mathematica in more than some hours ! and he asked me why this takes too many hours ! and thus i make decision to ask why maple or why mathematica or why not !
anyway,i am really thankfull for your comprehensive answer ! really thank u .

http://www.mathworks.com/help/matlab/matlab_prog/debugging-process-and-features.html

i think maple will be more perfect and flexible by adding this feature in new versions . hope maple good staff see this post.

## break point in matlab...

@Preben Alsholm break point in matlab,is a tool that help u break in any line of the code ( for example in your loop) and continue your code manually ( by pressing F10 i think ) . thus the code up to the line which has a break point will go automatically and after that,u can continue computing using f10 line by line ! and if you are into the loop,thus you can continue loop manually .

## it returns error in my case :(...

 > restart:
 > HelpTools:-Database:-ConvertAll();
 "Converting C:\\Program Files\\Maple 18\\lib\\DirectSearch.hdb to C:\\Program Files\\Maple 18\\lib\\DirectSearch.help" Warning, .hdb help databases are deprecated, 'C:\Program Files\Maple 18\lib\DirectSearch.hdb' will not be used, see ?HelpTools,Migrate help page for more information
 >

## use similar method...

 > restart:
 > a := Matrix([1, 2, 3, 4, 5]);
 >
 > for k to 5 do
 >
 > x[k]:=rhs(op(1,op(3,DirectSearch:-SolveEquations([a(1, k)*x+2+y = 0, x+y = 0])))); y[k]:=rhs(op(2,op(3,DirectSearch:-SolveEquations([a(1, k)*x+2+y = 0, x+y = 0]))));
 >
 > end do;
 >
 (1)
 >

@Alejandro Jakubi i think it will take me months to know what is going on in your complicated,but perfect code. could you please explain more ?i am really appreciate it.tnx

## tnx...

@Carl Love it was exactly what i needed,thank u. and thank u for thinking and giving time for my first and second question.