pull down to refresh

Solve this without using a calculator. Several ways are possible... Show your logic, don't just write out the final number for this one.
This shouldn't be too difficult.
Previous iteration: #719143
That's the area of a trapezoid with width 1 and heights 2 * 998 and 2 * 999, which is 1997
reply
reply
And yet another way.
reply
I was fortunate that no one took mine.
reply
221 sats \ 1 reply \ @Scroogey 12 Oct
(1000-1)^2 - (1000-2)^2 = 1000^2 - 2000 + 1 - 1000^2 + 4000 - 4 = 2000 - 3 = 1997
reply
That's also one of the ways.
reply
(999+998)(999-998)=1997*1=1997
reply
That's indeed one of the ways.
reply
How do I learn more about how to do the math symbols in markup? Is there a way to see the raw markup on posts?
reply
It's not really markup, it's MathJax.
Mathjax supports different syntaxes: MathML, TeX, and ASCIImath.
I use TeX. There are plenty of tutorials on how to write equations in TeX.
$$ a^3 + \sqrt{3} + \frac{1}{a+\hbar}+\int_{i=1}^a \exp{(iax)} dx < \infty $$
for instance will yield
I did not test MathML and ASCIImath here yet.
reply
deleted by author
reply
Single dollar signs work in latex but not in mathjax. Probably because single dollar sign is too common in regular html
reply
Oh really? I think I already used it too.
Let's try. $\sqrt{2}$ (single dollar, inline) and double dollar (block equation):
reply
Oh, hmm. The implementation I use in my website doesn't allow single dollar signs.
It's actually probably better that way, since I've seen dollar signs mess up other peoples' posts here.
reply
SN's newest update deactivated single dollar signs... As can be seen here :)
Let's try the alternative for inline equation: ( \sqrt{3} )
reply
I believe double dollar signs works for
Oh, let me know when that happens. It's probably something easy to address in the settings of the MathJax library used here.
reply
In TeX, single $ means "change to math typesetting mode" (treat it as"inline" math). The double $$ is similar, just it typesets it as a separate block of math/figure (it adds alignment, spacing, etc.).
I'd expect similar behaviour.
reply
deleted by author
reply