FREE NEWSLETTER

Can this forum support math formulas in posts?

Go to main Forum page »

AUTHOR: Bruce Roberts on 12/04/2024

I have a write up that includes some math formulas.  Does this discussion forum support entering math formulas in these text boxes?  Simple stuff like a superscript for a square of a number.  My guess is it’s simple text only.

 

Alternatively, if it’s acceptable, I can provide a link to a public Google Doc that has my write up.  I’d rather not do that as it will cut down on the number of readers as they will be required to click a link.

 

Thanks for any guidance.

— Bruce Roberts

Subscribe
Notify of
9 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
mytimetotravel
1 month ago

Maybe another relevant question is whether people will read a post with formulae….

Patrick Brennan
1 month ago

All I know is F=ma and you can’t push a box with a string. 🙂

parkslope
1 month ago

It appears that Disqus gives the moderator the option of allowing image attachments (rich media) that could be used to insert math formulas. However, this option could be abused with inappropriate content and would require additional moderation.

Rick Connor
1 month ago

Bruce, for any long posts or comments I type it in Word and then paste. I’m very excited to see something technical with equations!

Here’s an example of a Word document pasted into the Forum. Not sure if you can do superscripts directly in the comment box.

e = mc2

PV = PMT  x  [(1 – (1 + r)-n) / r]

Area = Pi x r2

Last edited 1 month ago by Rick Connor
Rick Connor
1 month ago
Reply to  Rick Connor

I just noticed that the superscripts don’t show properly in the pasted version. When I did it last night I could have sworn it did? I bow to the other, smarter commenters.

1PF
1 month ago
Reply to  Rick Connor

Or you might consider using the sort of inline syntax for math symbols that Excel uses in formulas,
e.g., m*c^2 for what we would read aloud as
“m c squared.”
Area = pi*r^2.
This uses the asterisk * for multiplication and the caret ^ for exponentiation.

This could help a reader who wanted to copy that portion of the formula and paste it into Excel. It also removes ambiguity. You could insert some spaces for readability in the article, but if copied and pasted into Excel, some versions might complain.

If you decide to go this route,
keep in mind the standard order of operations: exponents and radicals (left to right) before multiply and divide (left to right) before add and subtract (left to right), and anything in parentheses evaluated first.

Excel doesn’t use square brackets, so just use layers of embedded parentheses. So the PV formula would look like
PMT*((1-(1+r)^(-n))/r).

Be careful to close all open parentheses by the end. I like to count how many are open as I go left to right,
e.g., in the right side of the PV formula
1 2 3 2 3 2 1 0.
If you’re unsure whether parentheses are needed somewhere for correct order of operations, use them; no harm done, and better safe than sorry.

Last edited 1 month ago by 1PF
Jeff Bond
1 month ago
Reply to  1PF

Some text editors count parentheses for you with color-coding, which can then be copy/pasted into a spreadsheet. I’m happy to say those days are behind me. I don’t do a lot of aggressive computing nowadays.

Free Newsletter

SHARE