+1
Answered
Results of calculation in IQANdesign
Richard Kowalczyk 4 years ago
in IQANdesign
•
updated by Gustav Widén (System support) 4 years ago •
7
Hi everyone,
In my recent program
Value 335.78 is closer (good enough for the purpose of my program) to calculated value in Mathcad
Any enlightenment would be much appreciated
Using
Kind regards,
Richard Kowalczyk
RKad Engineering
32 Kingussie Ave
Castle Hill NSW 2154
Australia
📲 :+61 431 639 295
Customer support service by UserEcho
The problem seems to be with the PowerOf function. The result below should be 8.
Using IQAN Design 5.04.8.5179
Thanks
Try using floating point numbers as arguments.
For example: (I use simulator, IQANdesign 6.02.10.5706):
As Aleksey wrote, use real values for this function to have the precision you need for small values.
The PowerOf() function in IQANdesign determine its value type based on the input.
When both the base and exponent are integers, the result of the PowerOf() will also be an integer.
Here is an example:
Thanks
Thanks guys