title: Display expression and result of calculation in MuPad
body: <p>Imagine I define two variables within a MuPad Notebook:</p>
  
  <pre><code>x:=2;
  y:=5
  </code></pre>
  
  <p>For the product</p>
  
  <pre><code>z=x*y
  </code></pre>
  
  <p>I get displayed:</p>
  
  <p><a href="https://i.stack.imgur.com/JZ8F1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JZ8F1.png" alt="enter image description here"></a></p>
  
  <p>And if I use <code>hold</code>, I can get the expression:</p>
  
  <pre><code>z=hold(x*y)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/h3qtx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h3qtx.png" alt="enter image description here"></a></p>
  
  <p>But now I'd like to have both, the expression displayed and the result. The two options which appeared logical to me, do not worK:</p>
  
  <pre><code>z=hold(x*y);z
  </code></pre>
  
  <p>and</p>
  
  <pre><code>z=hold(x*y);eval(z);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/KUT9q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KUT9q.png" alt="enter image description here"></a></p>
  
  <p><strong>How can I get displayed the expression AND the result?</strong>
  If in two lines it would be alright, but I'd prefer in one line like:</p>
  
  <p><strong>z = x y = 10</strong></p>