+1
Answered

Results of calculation in IQANdesign

Richard Kowalczyk 3 months ago in IQANdesign updated by Gustav Widén (System support) 3 months 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

E: richard.kowalczyk@rkad.com.au
W: www.rkad.com.au

+1

The problem seems to be with the PowerOf function. The result below should be 8.

Using IQAN Design 5.04.8.5179

+1

Try using floating point numbers as arguments.

For example: (I use simulator, IQANdesign 6.02.10.5706): 

+2

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: