I am trying to perform the following operation:
, or -(((240 - 180 I) (30 I + z))/(120 I + 7 z))
However, Mathematica throws me exactly the same expression. Expand, Minimize, Simplify and other commands I've tried don't work. Any ideas?
exp = -((240 - 180 I) *(30 I + z))/(120 I + 7 z) ExpandNumerator@exp
$$\frac{(-5400-7200 i)-(240-180 i) z}{7 z+120 i}$$
Not sure what you mean by "decimal format", the symbol z has no value. You can specify a value and get a numerical result
z
exp /. z -> I // N (* -58.5827 + 43.937 I *) exp /. z -> 1 // N (* -61.034 + 43.4397 I *)
Got it! Thanks! I wanted Mathematica to perform the division, but now I see that is not possible unless z is defined. Correct?
What different result are you hoping to obtain?
I expect the same result, but expanded, that is, I want Mathematica to symbolically multiply the two factors in the numerator and divide that by the denominator, then show the result in decimal format. For this, I tried the N[] command, but it doesn't work.