Chr's
Junior Member level 1
- Joined
- Sep 26, 2014
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 121
Hi all,
My quesiton is about the pi number. Can i use it as parameter to define a component value ?
For instance, n a 1st order low pass filter
I've an ideal capacitor, where is value is defined by resistor and frequency values (give in CDF of the top cell) and the pi number.
The capacitor value is defined by: 1/(2*3.1416*pPar("r")*pPar("frequency")) F
But i beleive that i'm getting some simulation error due to non exact value of pi number, here defined equal to 3.1416.
I'would like to know if I can use a value with more accuracy whitout put in by hand like: 3,141592653589793
I tried to use pi, PI, pi() and PI() but nothing work.
Any Idea ?
Thanks in advance for your help
My quesiton is about the pi number. Can i use it as parameter to define a component value ?
For instance, n a 1st order low pass filter
I've an ideal capacitor, where is value is defined by resistor and frequency values (give in CDF of the top cell) and the pi number.
The capacitor value is defined by: 1/(2*3.1416*pPar("r")*pPar("frequency")) F
But i beleive that i'm getting some simulation error due to non exact value of pi number, here defined equal to 3.1416.
I'would like to know if I can use a value with more accuracy whitout put in by hand like: 3,141592653589793
I tried to use pi, PI, pi() and PI() but nothing work.
Any Idea ?
Thanks in advance for your help