
Hey, I resemble that!
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
 6079 Smith W.





Bernoulli?
"In testa che avete, Signor di Ceprano?"
 Rigoletto





A statisticus / mathematician will provide answers as factorial as often numbers are too big to write down.
E.g. 5! is quite easy but 7000000000! is huge. Assuming the world population is 7000000000, 7000000000! is approximately the number of ways you can put their names in a list. As there are people with the same name the number is actually less but still huge.
There are even statistic problems where numbers like n!! (n factorial factorial *) are used which can be even "bigger than huge".
*) besides "n factorial factorial", there exist "n double factorial" which is n x (n2) x (n4) ... x 1)





Interesting. Never knew that anyone ever used factorials other than as, shall I say, a "mathematically interesting" thing and then moving on.
When it comes to extremely large (or small) numbers, I always understood that the standard was to use powers of 10, for example, googling for the weight of the earth, the result is expressed as 5.972x10^24 kg.





Yup, the scientific notation is far more often used (even wrote an Arduino "lib" for it).
It has become handy in e.g. physics and the national debt
Factorials, permutations and combinations are used a lot in (discrete) simulations e.g. for calculating chances of something happening. But it is true that people will often translate a chance of 1 in 100! as "will never happen"





rob tillaart wrote: and the national debt
That hurt.





You are wrong, the teacher is right.
The order of precedence in mathematical operations is (mnemonic PEMDAS):
Parentheses
Exponentiation
Multiplication & Division
Addition & Subtraction
If two operations have the same precedence, they are evaluated from left to right. Your problem may be rewritten as 230  (220 x 0.5), the answer to which is obviously not 5.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
 6079 Smith W.





3!  1
I think you'll find
It's curious  nearly everyone I know was taught BODMAS  its the same as PEDMAS, but B=Brackets, O="of". PEDMAS is probably better. Also the great Indian chief "SOHCAHTOA". I wonder if they still teach the latter in schools.





I hadn't heard of PEDMAS before; I'm guessing it's some kind of Hollywood holiday.






Rather than the Indian chief, we were taught the great Welsh anthem:
Sons of Harlech
Come and Harken
To our Anthem
A geographic thing, I suppose. We were 50 miles from Wales but several thousand from the Indians.





You write "the answer to which is obviously not 5". Nobody ever said that. The OP sais that he "announced that the answer was 5!". Do you see the difference? The exclamation mark. The answer is 5! (five factorial) and 5!=5*4*3*2*1=120 so 5! is the correct answer






Please don't repost if your comment does not appear immediately: both of these went to moderation and required a human being to review them for publication. In order to prevent you being kicked off as a spammer, both had to be accepted, and then I have to clean up the spares. Have a little patience, please!
I've deleted the other version.
"I have no idea what I did, but I'm taking full credit for it."  ThisOldTony
"Common sense is so rare these days, it should be classified as a super power"  Random Tshirt
AntiTwitter: @DalekDave is now a follower!





Note that he said "5!", not "5". He might have given it away too big a clue if he had ended his sentence properly with a period like "...I said the answer is 5!."
Good nerdy riddle.





Daniel Pfeffer wrote: PEMDAS
I was taught "Please excuse my dear aunt sally".
Or
"Pizza everyone!, my diet already started."
Brent





He is not wrong. You just didn't see the entire answer in your brain. The exclamation point is there for a reason.





Have you write 5! as answer, or it is only for us as an expression of your frustration?
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928  2012





See my hint to another responder.
Brent





dbrenth wrote: the answer was 5! five factorial. Unless you were yelling at them.





dbrenth wrote: Can you please explain it to him?
Dear Teacher,
dbrenth is a cocky little so and so, who needs to be taken down a peg or two.





And marked down for not completing the solution.





You teacher was right, and told you the correct result was actually 76 .
Could you please tell us why?
"In testa che avete, Signor di Ceprano?"
 Rigoletto





I thought the answer was 78.





42.
"In testa che avete, Signor di Ceprano?"
 Rigoletto



