Is it possible to Hold/Defer some of outer expressions, having evaluates inner ones?
For example, I want to prepare a table of expression values, like this
Table[Defer[Sin[x]^2 + Cos[x]^2] == Sin[x]^2 + Cos[x]^2, {x, 0, 1, 0.1}] // TableForm
Currently this displays left hand sides as
Sin[x]^2 + Cos[x]^2
but can I have x
-s evaluated/substituted?
UPDATE
Or just simpler example.
Suppose I write
x = 12
Defer[Sin[x]^2 + Cos[x]^2] == Sin[x]^2 + Cos[x]^2
which gives
12
Sin[x]^2 + Cos[x]^2 == 1.
but can I have
12
Sin[12]^2 + Cos[12]^2 == 1.
Inactive
. $\endgroup$