cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Another Simple Question!

StuartGregory
1-Newbie

Another Simple Question!

Hi

Hopefully the last daft question!

Attached is my formula so far.

Q1: Why so many decimal places in the 'Find' answer? I've checked and the display is set to three decimal place and I can't find any other place to set the display to less than the 18 shown!

Q2: I'd like to plot Va and Vb against f. But all the graph examples show simple formulas put directly into the y placeholder. Two problems - that doesn't work and how do I split the results into graphs showing Va and Vb? How can I use the results of the 'Find' calculation in a graph? Should I be using something else? I would like to start with just the amplitude of the complex number but want to display the complex representations later.

Cheers
James

8 REPLIES 8

The reason for all those decimal places is that you chose to use symbolic, rather than numeric, evaluation. The rules for symbolic evaluation a quite different from those for numeric evaluation, and just about everything in the documentation is based on numeric evalulation.

As for plotting, you have nothing to plot. You are just calculating a pair of complex numbers. To get a meaningfule plot you need a function, or multiple data points.
__________________
� � � � Tom Gutman

Thanks for the reply:

Is there a setting to suppress the decimal places when using symbolic evaluation?

Yes, I only have one value of Va and Vb - I can't see how I can use Mathcad to vary f over a range and thereby have different values of Va and Vb to plot?

I can see how I can put f into a place holder on a 2D plot but not how I can squash the whole equation in the y placeholder.

James

The first question, is why use symboic evaluation in the first place? Mathcad is essentially a numeric calculator, with some symbolic capabilities tacked on. Generally, you should only use symblic evaluation when you have a definite and compelling reason to do so. Symbolic evaluation is not a replacement for, nor the equivalent of, numeric evaluation.

You can use the float keyword to control the number of places for symbolic evaluation. But note that float controls the wholw evaluation, not just the display. Using a small value of float will result in roundoff errors in the result (how much depending the the extent of the calculations), not just change the display value. You can also use the format results dialog, checking the option to apply it to symbolic results. That has its own quirks.

To be able to vary f you must make f define your results as functions with formal parameter f. You can then evaluate the function for any desired values of f.
__________________
� � � � Tom Gutman

For defining Va(f) and Vb(f) I just copied/pasted the results of Find. Maybe another collab shows you how to do that in a better way.

Hope this helps. Saludos,

Al
Al2000
1-Newbie
(To:Al2000)

Ups! Sorry, I forgot to delete the picture.

Thanks Al

You have done it a different and better way! In fact I shall probably not have to do much more than that - thanks for the work you put in!

I like that I can see the final equations as well as the answer. Impressed that you have added the electrical symbols too!


James

On 4/11/2010 2:50:34 PM, stuartgregory wrote:
>Hi
>
...
...
>Q2: I'd like to plot Va and Vb
>against f. ...

>Cheers
>James
>_______________________________

Maybe like this ?

jmG



Just another two ways, in separate files for more easy comparing. Notice that the numeric solution is slowest, but if no closed form is found by find is the only one avaible.

Regards.
Top Tags