9 votes
Accepted

How to convert this logarithm into this form?

Using the property ...
Nasser's user avatar
  • 142k
5 votes

How to convert this logarithm into this form?

expr = Log[Log[2]]/Log[2]; expr /. Log[x_]/Log[a_] :> Defer[Log[a, x]] Log[2, Log[2]]
Syed's user avatar
  • 48.6k
5 votes
Accepted

Different behavior of Clear in different versions of Mathematica

What you're using is a syntax added and well-documented in version 13.2. (Legacy document is here, you can click the UPDATED button to see what's updated. ) In earlier version, you need to control the ...
xzczd's user avatar
  • 65.4k
3 votes

Different behavior of Clear in different versions of Mathematica

Try this workaround for V 13.1 list1 = {1, 2, 3}; m = 17; Unprotect[Clear]; SetAttributes[Clear, {Listable}]; Protect[Clear]; Clear[{list1, m}]; No error and ...
Nasser's user avatar
  • 142k
3 votes

Command to press a button

Conside: but = Button["Click Here", Print[10!]]; but // FullForm As yiou can see, the button action is the second element in "but". Therefore, ...
Daniel Huber's user avatar
  • 49.9k

Only top scored, non community-wiki answers of a minimum length are eligible