Linked Questions
10 questions linked to/from HoldForm does not Hold Form for fractions sometimes
1
vote
2
answers
57
views
Different output by HoldForm inside a row function [duplicate]
I have the following expression:
I initalize the variables:
capital = 1200; rate = 0.02; time = 6; period = 12;
and then run for second term, for example:
...
18
votes
4
answers
2k
views
Returning an unevaluated expression with values substituted in
Let's say I have a function
formula[x_List] := (x[[1]] - x[[2]]) + (x[[3]] - x[[4]]);
and I want to pass it a variable and get back the unevaluated formula with ...
8
votes
4
answers
486
views
Multiplication sign in TeXForm?
How do I get Mathematica to produce TeX output that does not omit the
multiplication signs?
For example, this expression:
...
6
votes
3
answers
298
views
HoldForm is not working as I would expect
Why HoldForm do this?
HoldForm[a/b \[Integral]f[x] \[DifferentialD]x]
Output is this ugly looking formula:
$$\frac{a \int f(x) ...
5
votes
2
answers
4k
views
How to NOT simplify fraction [duplicate]
How can I prevent Mathematica from simplifying fractions? What I would like to do is run a test on a list of fractions to see how many are in their reduced form.
For example, I have a list:
...
7
votes
3
answers
364
views
Displaying a telescoping series [duplicate]
I'd like to show my students what happens with the telescoping series $\sum_{n=1}^\infty\left[\frac{1}{n}-\frac{1}{n+1}\right]$. For example, I would like to display the partial sum:
$$s_5=\left[1-\...
10
votes
3
answers
503
views
HoldForm: Display exactly as entered?
Sometimes, Mathematica's internal representation of expressions can give somewhat surprising results. Specifically, I noticed this when I tried to preserve products of fractions for display.
E.g. ...
4
votes
2
answers
363
views
How to avoid that Mathematica simplifies a ratio?
How to avoid that Mathematica simplifies a ratio?
I have this code (visualizing Simpson's paradox):
...
6
votes
1
answer
129
views
Hold[Dataset[__]] not holding
Bug introduced in 10.0 and fixed in 11.0.0
With
Hold[Dataset[Random[]]]
instead of an expected
Hold[Dataset[Random[]]]
...
0
votes
1
answer
87
views
Add better style to a dynamic question
I would like to obtain something similar to this:
A user, has to answer the question selecting an answer from a popupmenu and he can check it.
I wrote that:
<...