2

I've come across some code, for instance, from the question, Passing a function and its derivative to a module

   Mean[l[NestList[f[#, μ] &, 0.1, 1*^2]]]

What does the 1*^2 mean?

Sam Lisi
  • 121
  • 3
  • Ah, thank you. I can't believe I spent so much time searching for what it was, rather than just typing to see what it did. – Sam Lisi Feb 10 '17 at 06:44
  • 4
    a*^b is interpreted as $a\times 10^b$, i.e "scientific notation". – MarcoB Feb 10 '17 at 06:50
  • 2
    See Input Syntax - Numbers. I'll admit that it's harder to find in the docs than I expected! – MarcoB Feb 10 '17 at 06:57
  • 1
    General FYI: someone flagged a comment here as being factually incorrect. This is not a valid reason to raise a moderator flag, as moderators should not be passing judgement on what is correct or incorrect. Rather you should comment yourself and voice your objection. – Mr.Wizard Feb 10 '17 at 09:31

0 Answers0