Mathematica Asked by BeTDa on February 17, 2021
I can’t find a clear way to express my question but they say that a picture is worth a thousand words.
Attached is an image of the desired result
You could modify the formatting rules for the variables:
xy /: MakeBoxes[xy, StandardForm] := TagBox["xy", #&, SyntaxForm->"*"]
Δx /: MakeBoxes[Δx, StandardForm] := TagBox["Δx", #&, SyntaxForm->"*"]
Then:
Expand[(2x+Δx)^2]
Expand[(2xy+Δx)^2]
Solve[Δx+2 a x==(a+Δx)^2,x]
If you really want parentheses with plus as well, use SyntaxForm->"+"
instead of SyntaxForm->"*"
.
Answered by Carl Woll on February 17, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP