|
View Poll Results: What is the correct answer?
- Voters
- 20. You may not vote on this poll
Thread: Math poll.
-
06-01-2020, 11:44 AM #31
-
06-01-2020, 11:45 AM #32
-
-
06-01-2020, 12:12 PM #33
-
06-01-2020, 12:19 PM #34
I asked Alexa, she said 104
Air Force Veteran 1976 - 1999 - Cannabis Enthusiast since the 1960's
Retired at 40 Crew - Social distancing expert - Living the Dream
I use the gender neutral pronouns "Fukker/Fukkers" a lot.
****** I don't always agree with the memes I post ******
I tell it like it is, if you want smoke blown up your ass or something sugar coated. I suggest you get a Hooker and a powdered donut.
-
06-01-2020, 12:23 PM #35
-
06-01-2020, 01:36 PM #36
- Join Date: Mar 2015
- Location: Nevada, United States
- Posts: 10,024
- Rep Power: 98130
To be fair, NASA hasn't made that particular mistake again since 1999.
To add insult to injury,
The discrepancy between calculated and measured position, resulting in the discrepancy between desired and actual orbit insertion altitude, had been noticed earlier by at least two navigators, whose concerns were dismissed because they "did not follow the rules about filling out [the] form to document their concerns". A meeting of trajectory software engineers, trajectory software operators (navigators), propulsion engineers, and managers was convened to consider the possibility of executing Trajectory Correction Maneuver-5, which was in the schedule. Attendees of the meeting recall an agreement to conduct TCM-5, but it was ultimately not done.“Those who can make you believe absurdities, can make you commit atrocities.”
-Voltaire
-
-
06-02-2020, 08:45 AM #37
-
06-02-2020, 08:53 AM #38
If the correct answer from the information given, without altering it with parentheses or brackets, which is not the intention, is not 4, ban me for a day.
If parentheses or brackets were to be used, they would have been provided and would create a different than intended formula. They were not.Helping one person may not change the world, but it could change the world for one person.
-
06-02-2020, 10:58 AM #39
Yes for this problem but you're naive if you think computer languages agree on this stuff , I've even had issues (pretty unusual) where the underlying CPU family could make a difference in very long floating point calcs.
But I give you a simple classic problem where python is "wrong" (depending on what your opinion of what wrong is
I am using ^ for power of, so 2^2 is two squared. Right. what is
-3^2
Do you interpret it as -1 * (3^2) or do you read it as (-3)^2 because programming languages differ. I think python gives -9 (but I'd need to double check)
-
06-02-2020, 10:58 AM #40
-
-
06-02-2020, 11:04 AM #41
-
06-02-2020, 12:36 PM #42
- Join Date: Mar 2015
- Location: Nevada, United States
- Posts: 10,024
- Rep Power: 98130
Last time wasn't good enough???
The rules of precedence are established so that parentheses and brackets don't have to be used. It's a default, and the parentheses are for when you are making an exception.
The fact that some software doesn't follow them is no reason for the rest of us not to.“Those who can make you believe absurdities, can make you commit atrocities.”
-Voltaire
-
06-02-2020, 12:45 PM #43
-
06-02-2020, 12:47 PM #44
-
-
06-02-2020, 12:50 PM #45
-
06-02-2020, 12:54 PM #46
- Join Date: Mar 2015
- Location: Nevada, United States
- Posts: 10,024
- Rep Power: 98130
Python doesn't use '^' as the exponent operator, it uses '**'. If you use Python in interactive mode and do -3**2, it gives you -9. If you set a variable such as x = -3, and then take x**2, THEN it gives you the correct answer, which is 9.
"Plain old math" would give a POSITIVE 9, because a negative times a negative is a positive.
Python uses the '^' operator for a bitwise XOR function. Putting that in your equation for an exponent is a sure path to fiery destruction.“Those who can make you believe absurdities, can make you commit atrocities.”
-Voltaire
-
06-02-2020, 12:54 PM #47
Alexa hasn't let me down yet, too bad she doesn't get a vote
Air Force Veteran 1976 - 1999 - Cannabis Enthusiast since the 1960's
Retired at 40 Crew - Social distancing expert - Living the Dream
I use the gender neutral pronouns "Fukker/Fukkers" a lot.
****** I don't always agree with the memes I post ******
I tell it like it is, if you want smoke blown up your ass or something sugar coated. I suggest you get a Hooker and a powdered donut.
-
06-02-2020, 01:08 PM #48
-
-
06-02-2020, 01:10 PM #49
-
06-02-2020, 01:28 PM #50
I accept that. IMO and out of respect for your opinion, the following is how I interpret the equation if I used order of precedence and order of operations.
Again, my opinion based upon the order that was given by OP:
(50 + 50) - 25 X 0 ***Notes 50 + 50 was placed in parentheses because they are both related as in addition. Minus 25 and the X 0, I did not place in parentheses because they are not related and should be separate. As a result, the answer to that part of the equation is 0.
The next part of the equation that is alike is 2 + 2, so written as + (2 + 2). The answer to that part of the equation is 4.
Finally, 0 + 4 = 4
If you place the 25 X 0 in parentheses, then that answer would be 104.
However, my interpretation is not using order of operations and reading it as given.
So, I can accept either way.Helping one person may not change the world, but it could change the world for one person.
-
06-02-2020, 01:31 PM #51Air Force Veteran 1976 - 1999 - Cannabis Enthusiast since the 1960's
Retired at 40 Crew - Social distancing expert - Living the Dream
I use the gender neutral pronouns "Fukker/Fukkers" a lot.
****** I don't always agree with the memes I post ******
I tell it like it is, if you want smoke blown up your ass or something sugar coated. I suggest you get a Hooker and a powdered donut.
-
06-02-2020, 01:36 PM #52
-
-
06-02-2020, 09:23 PM #53
-
06-03-2020, 12:32 AM #54
understood. I wasn't following python syntax in my example and instead described my own syntax in an attempt to as clear and accessible to as many readers as possible
Exactly! This is the issue I was illustrating. Knowing BODMAS (BIDMAS?) is one thing, but it's unsafe to assume that's how it's done "in real life" - phrase chosen to trigger any pure mathematicians As a practical person I consider computational algebra and the method/effort of how to actually perform a calculation - and how long it takes. Sometimes including how much effort to just get pretty close to the answer if good enough is good enough, or if you made a large series of guesses how long until you stumble over the correct answer. Even on occasion not caring if it was the right solution as much as *a* solution .
It's not always going to be the same as how a pure mathematician looks at it.
-
06-03-2020, 08:32 AM #55
-
06-03-2020, 09:41 AM #56
-
-
06-03-2020, 09:47 AM #57
-
06-04-2020, 09:35 AM #58
Parenthesis are added only when you want operations to happen in an order different from the universally agreed arithmetic operator precedence. No parenthesis up there so the usual precedence applies. The precedence is:
1) Parentheses
2) Exponents
3) Multiplication and Division (from left to right)
4) Addition and Subtraction (from left to right)Follow my 2018 competition prep here:
https://forum.bodybuilding.com/showthread.php?t=175566421&p=1547462721#post1547462721
-
06-05-2020, 06:19 AM #59Air Force Veteran 1976 - 1999 - Cannabis Enthusiast since the 1960's
Retired at 40 Crew - Social distancing expert - Living the Dream
I use the gender neutral pronouns "Fukker/Fukkers" a lot.
****** I don't always agree with the memes I post ******
I tell it like it is, if you want smoke blown up your ass or something sugar coated. I suggest you get a Hooker and a powdered donut.
Bookmarks