## 8 Badges

11 years, 190 days

## @acer Hm, what is it good for then? So y...

@acer Hm, what is it good for then? So you can not output non-executable math code? It sounded like in the answer by Oliver.

## @Oliver K Is it only the student version...

@Oliver K Is it only the student version that is 50% off, or also the individual version? Do you have a link? I can't find the 50% discount.

## @Oliver K Does this work with 2019? I...

@Oliver K Does this work with 2019? I'm only toggling the symbol "Text" and "Math" next to each other, but the output is unaffected.

What seems to work is using the Format Option "Atomic Variable". Not sure if that is intended however.

edit: So it is Shift+F5, but toggling to non-executable math doesn't output anything. The output is just blank...

## @Carl Love That really helped. While it ...

That really helped. While it is good to know about the short-macro a=b=c for the relational boolean operation, it is just a display convenience I was looking for (no interpretation).

On the other hand, I'm going to try Oliver's nonexecutable math too, as it may be less cluttered with formal code.

Anyway, Thanks all.

## @acer P(X <= 5) = P(-5 <= -X)...

@acer P(X <= 5) = P(-5 <= -X) = P(E(X) - 5 <= E(X) - X) <= P(E(X) - 5 <= abs(E(X) - X) );

for instance

## @acer Is it also possible to use a diffe...

@acer Is it also possible to use a different symbol (=,<=,>=,...) at each step?

I'm a bit confused about the nprintf format specification.

## @Preben Alsholm ok, thanks :-)...

@Preben Alsholm ok, thanks :-)

## @acer Thanks. Though shouldn't D con...

@acer Thanks. Though shouldn't D convert D(f^k) to (D(k)*ln(f)+k*D(f)/f)*f^k even if k is not assumed to be constant?

## @acer One may add that the problem seems...

@acer One may add that the problem seems to arise in the subroutine "contour" (infolevel[int]:=5) which makes sense, since the i*Pi/2 term arises precisely because of the residue at t=1.

The sign in the first term seems to arise depending on the branch chosen on the segment (-infinity,0) for the contour integral int(...,t=-infinity..infinity). The integral over the arc vanishes for 0<a<1.

Btw: While it doesn't seem to matter in the assumptions a=1 and a=0 is not allowed.

## @Kitonum This is good :-), but it would ...

@Kitonum This is good :-), but it would be cool if these trig identities are covered by convert(*,radical)

## @acer I really appreciate your effort, b...

@acer I really appreciate your effort, but I must say that the following little loop is probably simpler

restart;
with(ArrayTools);
N := 5;
cosx := Array([0]);
for i to N do
cosx := Append(cosx, sqrt((1 + cosx[i])/2));
end do;
simplify(cosx);
evalf(`-`~(%, [seq(cos(Pi/2^i), i = 1 .. N + 1)]));

The point is, why is such a seemingly simple thing not covered by convert(*,radical)? I looks as if this is the perfect thing for which convert(*,radical) could be called for.

## @ecterrab lol???That's what I precis...

@ecterrab That's what I precisely tried too.

It does not work.

 >
 (1)
 >

Download Commutator_Algebra_with_L2.mw

## @ecterrab I know I'm getting on your...

@ecterrab I know I'm getting on your nerves, but not satisfying answers were given as to why it can not commute X^2[b] with X[a] if a commutation rule %Commutator(X[i],X[j])=0 has been set. Afterall it can commute P^2[i] with X[j] given the commutation rule %Commutator(X[i],P[j])=i g_[i,j] ??

The only thing you said is that there are issues when X is both a tensor and an operator at the same time.

So that is the answer?

I'm already reading your tut regarding the Sort-thing, but I just would like to understand.

If not here, where should be place for discussion!?

## @ecterrab  What noncommutative obje...

@ecterrab  What noncommutative objects subject to commutator rules? Not sure what you mean; the only thing that needs to be commuted is X[b]^2 with X[a] which commute by the algebrarule %Commutator(X[a],X[b])=0 !?

Is it possible to do this without using tensor then, but still benefitting from some automatic summation procedure?

 1 2 3 4 5 6 7 Last Page 1 of 19
﻿