patent10021 macrumors 68040 Original poster Apr 23, 2004 3,579 854 Jan 19, 2016 #1 How does (function / 4.0 * 2.0) + (1.0 / 4.0) become ((function * 2.0) + 1.0) / 4 ?
mobilehaathi macrumors G3 Aug 19, 2008 9,368 6,361 The Anthropocene Jan 19, 2016 #2 You factored out a 1/4. It follows from the distributive property.
patent10021 macrumors 68040 Original poster Apr 23, 2004 3,579 854 Jan 19, 2016 #3 Oh snap! That's right. I kept thinking it was an equation and had to do it to the other side as well, but it's only an expression! But wait. Isn't it function OVER 4 * 2 not function OVER 4? We have to adhere to PEDMAS
Oh snap! That's right. I kept thinking it was an equation and had to do it to the other side as well, but it's only an expression! But wait. Isn't it function OVER 4 * 2 not function OVER 4? We have to adhere to PEDMAS
mobilehaathi macrumors G3 Aug 19, 2008 9,368 6,361 The Anthropocene Jan 19, 2016 #4 patent10021 said: Oh snap! That's right. I kept thinking it was an equation and had to do it to the other side as well, but it's only an expression! But wait. Isn't it function OVER 4 * 2 not function OVER 4? We have to adhere to PEDMAS Click to expand... Pay attention to your parentheses. You wrote Code: (function / 4.0 * 2.0) + (1.0 / 4.0) which is NOT equivalent to Code: (function / (4.0 * 2.0)) + (1.0 / 4.0) which is, I believe, what you are thinking.
patent10021 said: Oh snap! That's right. I kept thinking it was an equation and had to do it to the other side as well, but it's only an expression! But wait. Isn't it function OVER 4 * 2 not function OVER 4? We have to adhere to PEDMAS Click to expand... Pay attention to your parentheses. You wrote Code: (function / 4.0 * 2.0) + (1.0 / 4.0) which is NOT equivalent to Code: (function / (4.0 * 2.0)) + (1.0 / 4.0) which is, I believe, what you are thinking.
patent10021 macrumors 68040 Original poster Apr 23, 2004 3,579 854 Jan 19, 2016 #5 Yes you are right. I was thinking that. So in reality this expression is easier than I made it out to be lol Ridonculous. You just need to know the excursion types plus PEDMAS and you're set. Thank you. Last edited: Jan 19, 2016
Yes you are right. I was thinking that. So in reality this expression is easier than I made it out to be lol Ridonculous. You just need to know the excursion types plus PEDMAS and you're set. Thank you.