title: Composing two functions in mathematica
body: <p>I am new to Mathematica and I am having trouble defining a certain composition of functions. </p>
  
  <p>Let <code>m1</code> and <code>m2</code> be maps such that <code>m1: R^2 -&gt; R^2</code> and <code>m2:R^2-&gt;R^1</code> where R is the real line</p>
  
  <pre><code>m1[eta_, zeta_] = {eta^3, zeta^3} 
  m2[x_, y_] = x^2 + y^2
  
  m3[eta_, zeta_]  = Composition[m2, m1][eta, zeta]
  </code></pre>
  
  <p>On evaluating the last line, i.e. <code>shift+enter</code>I get the output</p>
  
  <pre><code>m2[{eta^3, zeta^3}]
  </code></pre>
  
  <p>But the anwer to this should be <code>m3[eta,zeta]=eta^6 + zeta^6</code></p>
  
  <p>How can I do this?</p>