# Visual Simplification

I want to take:

(adc*omP1*omP2)/omZ1)*(-I*2*Pi+
omZ1)/((-I*2*Pi + omP1)*(-I*2*Pi + omP2))


and have it shown as:

adc omP1 omP2     *     (-I 2 Pi + omZ1)
-------------            --------------
omZ1        (-I 2 Pi + omP1)(-I 2 Pi + omP2)


The * between, for example, -I and 2 or 2 and Pi can be present, but I would like to see the equation in a more simplified form like the second case. I would even like to enter it in this way or at least have a way to convert.

edit retag close merge delete

well this did not show up right. The first dotted line should separate adc omP1 omP2 which is the numerator and omZ1 which is the denominator and the second dotted line should separate (-I 2 Pi + omZ1) which is the numerator and then (-I 2 Pi + omP1)(-I 2 Pi + omP2) which is the denominator.

( 2012-08-14 04:24:03 -0500 )edit

@gjm - what John did is either to highlight the code area and use the 101010 button to indent it, or just indented it by hand. That's the markup to make this happen, as you can see by clicking "edit".

( 2012-08-14 05:18:45 -0500 )edit

Sort by » oldest newest most voted

You can use LaTeX in a text cell for beautiful formatting. Often, you can get similar formatting in the notebook without LaTeX by using the show command. For example, try:

var('x y z')
show(x*y/(x+3*z))

more