New answers tagged

1

Strangely, it works when done correctly via limit: f[a_] = Assuming[0 < a < 1, Integrate[(x^2 Log[1 - x^4])/(1 + x^4), {x, 0, a}]]; A = Limit[f[a], a -> 1, Direction -> "FromBelow"]; N[A] (* -0.162858 - 5.88785*10^-17 I *) $Version (* "12.2.0 for Mac OS X x86 (64-bit) (December 12, 2020)" *) The ...


2

One way: Integrate[x^2*Log[1 - x^4]/(1 + x^4), {x, 0, I, 1}] N@% (* -0.162858 - 4.44089*10^-16 I *) Another way: Integrate[x^2*Log[1 - x^4]/(1 + x^4), {x, 0, 1/2, 1}] N[%] (* -0.162858 - 2.28333*10^-16 I *)


2

The integration with help of Rubi gives after inserting the limits: (1/(4*Sqrt[2]))*(Pi*Log[2] - Log[(Sqrt[2] + 1)^2]*Log[2] + PolyLog[2, -(Sqrt[2] + 1)^2] - PolyLog[2, (Sqrt[2] - 1)^4]/2 + Re[4*PolyLog[2, I*(Sqrt[2] - 1)] - 4*PolyLog[2, I*(Sqrt[2] + 1)] + PolyLog[2, (Sqrt[2] + 1)^2 + I/1000000000000]] + Im[-8*(PolyLog[2, I*(Sqrt[2] - 1)] + PolyLog[2, I*(...


5

This bug was introduced in version 12.0. Please submit bug report to support@wolfram.com or https://www.wolfram.com/support/contact/


4

It is a known bug. Unfortunately, there is no way to change the current behavior.


1

I was able to find this workaround, I know not what it does. In[1]:= Pause[3];(*abortable*) Out[1]= $Aborted In[2]:= Quiet@NotebookEvaluate@"abc"; In[3]:= Pause[3];(*unabortable*) In[4]:= MathLink`LinkAddInterruptMessageHandler[$ParentLink] In[5]:= Pause[3];(*Aborts are back!*) Out[5]= $Aborted


1

I'm running Mathematica 12.2 on Windows and get the same, incorrect characters. I also noticed the \langle and \rangle are not rendering correctly, either.


6

cd = CategoricalDistribution[{{"Rain", "Fair"}, {"Win", "Lose"}}, {{0.4, 0.4}, {0.12, 0.08}}]; Update: Again using simple queries we can get two tables of conditional probabilities as Dataset objects probtable = Information[cd, "ProbabilityTable"]; condProbResultGivenWeather = probtable[All, Normalize[#, ...


7

I think your syntax is just fine. Probability just doesn't know how to do it. The brute force way, of course, is the following: cd = CategoricalDistribution[{{"Rain", "Fair"}, {"Win", "Lose"}}, {{0.4, 0.4}, {0.12, 0.08}}]; Probability[result == "Win" && weather == "Fair", {weather, result} \...


2

This is obviously a subtle bug. Thanks to @J.M.'sennui's hint there is a (slower) workaround. A solution is to FunctionExpand the ParabolicCylinderD before taking the Asymptotic tt1 = Asymptotic[ s1 = ParabolicCylinderD[-(1/2) - I/2, (-1 + I) x] // FunctionExpand, x ->\[Infinity]] // FunctionExpand // FullSimplify; Then after the plot Plot[...


22

I think this looks like a bug, though I have no authority to declare it. In particular, this looks like a hot mess: That's the following: tz = Entity["TimeZone", "America/Chicago"] With[{t = DateObject[{2007, 11, 4, 1, 0, 0}, TimeZone -> tz]}, {t, UnixTime[t]}] { DateObject[{2007, 11, 4, 1, 0, 0}, "Instant", "...


6

The bug had been fixed. Here we attach the result. $Version (* 12.2.0 for Linux x86 (64-bit) (December 9, 2020) *) Row[triangle /@ {True, False}]


5

This is certainly a bug: All pairs {a:(_String|_List), b_?(NumberQ[N@#]&)} that appear anywhere in epilog/prolog are replaced with {AbsoluteTime[a], b}. An example that shows various cases that trigger the mysterious behavior as well as possible work-arounds: epilog2 = Inset[Framed[ Grid[{{"FOO", 1.5}, {"FOO", BAR[1.5]}, ...


1

I contacted Wolfram support and got the following answer. I have forwarded an issue report to our Cloud development team. We hope this can be resolved in the future versions of Wolfram Cloud. So that is not working in Wolfram 12.2.0.0.


Top 50 recent answers are included