Factorising
- To: mathgroup at smc.vnet.net
- Subject: [mg38954] Factorising
- From: "Chris Rodgers" <christopher.rodgers at st-johns.oxford.ac.uk>
- Date: Tue, 21 Jan 2003 07:39:55 -0500 (EST)
- Organization: Oxford University, England
- Sender: owner-wri-mathgroup at wolfram.com
Hi How can I tell Mathematica to pull a particular factor out of an expression. For example in this expression: {(a - 2*wone*Sin[a*t])/4, (a - 2*wone*Sin[a*t])/4, (a + 2*wone*Sin[a*t])/4, (a + 2*wone*Sin[a*t])/4, (-a - 2*Sqrt[a^2 + wone^2*Sin[a*t]^2])/4, (-a - 2*Sqrt[a^2 + wone^2*Sin[a*t]^2])/4, (-a + 2*Sqrt[a^2 + wone^2*Sin[a*t]^2])/4, (-a + 2*Sqrt[a^2 + wone^2*Sin[a*t]^2])/4} I would like to bring the "a" out to the front of the expression, even outside the matrix. How can I ask Mathematica to do this, and how can I stop the "a" just floating back into the main expression? Yours Chris Rodgers St John's College http://rodgers.org.uk/