Forum Discussion

Pmorg73's avatar
Pmorg73
Copper Contributor
Jan 11, 2024
Solved

^0.5 not producing the square root?

Hi. I have something I have not seen before. I have an equation that requires a "power 0.5) of a sin and cos. When I do the equation using ^0.5 it returns the wrong answer (I have an example calculat...
  • mtarler's avatar
    Jan 11, 2024
    So you don't show the example of the ^0.5 that doesn't work but I suspect with all those ( ) you have a grouping problem. In fact I think you have a problem in the equation above. The 2 cos are not inside a set of ( ) so you equation is (sin * sin / cos * cos) instead of (sin * sin / cos / cos ) OR (sin * sin) / (cos * cos).

Resources