Message Boards Message Boards

0
|
3658 Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Formatting results with nested EngineeringForm

Posted 10 years ago

Hi

I don't understand why Mathematica does not properly format my results into EngineeringForm. I have three simple operations but as soon as I ask to format the second expression it does not the job.

What am I doing wrong?

GainComp = 35.7332;
Ri = 2720.59;
fpC = 94.3756;
fzC = 3208.77;

R2 = GainComp Ri // EngineeringForm
C2 = (2. Pi fpC R2)^-1 // EngineeringForm
C3 = C2/(2. Pi fzC R2 C2 - 1)
POSTED BY: Stefan S
2 Replies

EngineeringForm is a wrapper which prevents evaluation of content later on. You can do () to protect the content, like this

    (R2 = GainComp Ri) // EngineeringForm
    (C2 = (2. Pi fpC R2)^-1) // EngineeringForm
POSTED BY: Nasser M. Abbasi
Posted 10 years ago

Thank you very much Nasser. It works great :).

Stefan

POSTED BY: Stefan S
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract