flat assembler
Message board for the users of flat assembler.
Index
> Heap > Is sinx+cosx=sqrt(1+sin(2x)) 
Author 

revolution
The sqrt function has both positive and negative roots so you need to be careful to state which root you are referring to. For example at x=pi you need to take the negative root, whereas at x=0 you need to take the positive root.


27 Jul 2014, 18:26 

Dr F
stupid


27 Jul 2014, 20:19 

neville
prostyle4444, a little clarification may be helpful here. In algebra, the sqrt function is assumed to include both the positive and negative values. So by convention, "sqrt(x)" means "+/sqrt(x)" i.e. "plus or minus the sqrt of x". Sometimes an equation needs to be limited to only positive or only negative values, in which case the sign will be specified i.e. +sqrt(x) or sqrt(x). However that is not the case with your equation, so what you've written is 100% correct
_________________ FAMOS  the first memory operating system 

27 Jul 2014, 23:44 

< Last Thread  Next Thread > 
Forum Rules:

Copyright © 19992020, Tomasz Grysztar.
Powered by rwasa.