Question: Collect / Common Factoring

Hey guys, I'm a new Maple user and I've been struggling to figure the collect command out.

I made a smaller example to show what I am looking for

I want to find out a way to use collect command and go from "c" output to "d", choosing the terms I want to be collected as common factors.

I'm also uploading the files if it's of any help, The one called question is the example in the picture above and final objeticve is the big expression that I`m trying to factor.

In the final objective file I'm looking for a way to make the "i" output be factored like this as:

Wi δ Wi (...) + Wi δ Wf (...) + Wi δ θi (...) + Wi δ θf (...) + Wf δ Wf (...) + Wf δ Wi (...) + Wf δ θi (...) + Wf δ θf (...) + ...

 

Thanks in advance

Download Final_objective.mw

Download Question_about_collect_and_factor.mw

 

Please Wait...