1.11 Thursday, February 25, 2021

1.11.1 Top new questions this week
1.11.2 Greatest hits from previous weeks
1.11.3 Can you answer these questions?

1.11.1 Top new questions this week

Mathematica 12.1: Don’t use Accumulate or Differences on Around objects!
How to enter a repeating decimal in Mathematica
How to judge whether two groups of sequences are equal in cycles?
Simplify 1+Sqrt[2]I-Complex[1,Sqrt[2]]
How to correctly calculate the number of seating plans for the 4-couples problem?
How to approximate \(PV\int _0^\infty \frac {\tan x}{x}\text {d}x?\)
Mirror image of graph

Mathematica 12.1: Don’t use Accumulate or Differences on Around objects!

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240449

SUMMARY: If a List,TimeSeries etc. of Around objects contains any identical elements,

asked by Aaron Eiben https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=72186 14 votes

answered by Sjoerd Smit https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=43522 11 votes

How to enter a repeating decimal in Mathematica

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240596

I don’t understand how to manipulate numbers with repeating decimal in Wolfram Mathematica language. For example 0.3... does not work as input and I don’t see how ...

asked by Simpleton Jack https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=22399 9 votes answered by J. M.’s ennui https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=50 11 votes

How to judge whether two groups of sequences are equal in cycles?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240325

There’s a set of arrays that I want to remove repeated elements that are equal after rotation:

asked by A little mouse on the pampas https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=42417 9 votes

answered by Carl Woll https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=45431 11 votes

Simplify 1+Sqrt[2]I-Complex[1,Sqrt[2]]

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240522

The expression 1+Sqrt[2]I-Complex[1,Sqrt[2]] should be zero. In fact, N[1+Sqrt[2]I-Complex[1,Sqrt[2]]] yields ...

asked by pdmclean https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=9154 7 votes answered by Michael E2 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=4999 10 votes

How to correctly calculate the number of seating plans for the 4-couples problem?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240357

Four couples a are sitting around a round table, in which husband and wife can not be adjacent. How many different seating plans are there? I want to get as many simple calculations as possible.

asked by A little mouse on the pampas https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=42417 7 votes

answered by Beny Izd https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=77079 8 votes

How to approximate \(PV\int _0^\infty \frac {\tan x}{x}\text {d}x?\)

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240461

What’s the mathematica command to get the numerical value of : \[PV\int _0^\infty \frac {\tan x}{x}\text {d}x?\] where \(PV\) is the principal value.

asked by Ali Shadhar https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=67714 7 votes

answered by Michael E2 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=4999 7 votes

Mirror image of graph

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240571

I need to display a directed acyclic graph (say Hasse diagram of partial order) oriented with minimal elements at the bottom, maximal elements at the top as is conventional for Hasse diagrams. I tried ...

asked by Mike https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=62210 6 votes

answered by kglr https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=125 7 votes

1.11.2 Greatest hits from previous weeks

LaTeX and Mathematica
What’s the most difficult multidimensional integral that Mathematica has solved?
xkcd-style Plots
Finding Limits in several variables
How to use Mathematica functions in Python programs?
Plot data from txt file?
How to find integer solutions?

LaTeX and Mathematica

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=736

I quite often would like to draw graphics in my LaTeXdocuments using Mathematica. I have encountered three problems. I would like to know if there are any workarounds to these problems

I would ...

asked by Thomas Rot https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=227 127 votes

answered by Simon https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=34 46 votes

What’s the most difficult multidimensional integral that Mathematica has solved?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=222184

I am interested in benchmarking numerical integration methods and am trying to develop a wider set of difficult multivariate examples. For my particular methods, I only want to look at non-negative-...

asked by ben18785 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=19278 6 votes

xkcd-style Plots

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=11350

I received an email to which I wanted to respond with a xkcd-style graph, but I couldn’t manage it. Everything I drew looked perfect, and I don’t have enough command over ...

asked by Amatya https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=2039 620 votes

answered by Simon Woods https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=862 481 votes

Finding Limits in several variables

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=21544

Is there a way to find a limit of a multivariable function, like

\[\lim _{(x,y)\to (0,0)} f(x,y)\] with Mathematica?

When \(f\) is continuous, we can use \[\lim _{(x,y)\to (0,0)} f(x,y)=\]

asked by Dominic Michaelis https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=5899 31 votes

answered by whuber https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=91 42 votes

How to use Mathematica functions in Python programs?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=4643

I’d like to know how can I call Mathematica functions from Python.

I appreciate a example, for example, using the Mathematica function Prime.

I had search about MathLink but how to use it in Python ...

asked by GarouDan https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1058 69 votes

answered by GarouDan https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1058 28 votes

Plot data from txt file?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=5910

I have data in file.txt which can be expressed by 20000x11 matrix. I do not want to import all of these data. How can I plot graph of the column 1 & column 4?

asked by Gokce https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1297 21 votes

answered by user1066 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=106 24 votes

How to find integer solutions?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=42359

Following is the equation: Need to solve for integer values of x,y when a,b lies between -1000 and 1000. Problem is to find the number of integer values of pair (x,y) that satisfy it.

asked by Sahil Sareen https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=12396 2 votes

answered by bill s https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1783 4 votes

1.11.3 Can you answer these questions?

Idiomatic pattern for subtracting a function from a list
How can I simplify a symbolic tensor expression?
Nothing showing up on my LogLogPlots

Idiomatic pattern for subtracting a function from a list

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240468

I would like to know a more idiomatic way to subtract a function from a list of pairs than this: Table[point-{0,fitFunction[point[[1]]]}, {point,data}]

I use this ...

asked by Diffycue https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=46327 1 vote

How can I simplify a symbolic tensor expression?

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240422

My question is about simplifying tensor expressions. If I have \((a+b)\otimes (c+d)\) The function TensorExpand gives \(a\otimes c + a\otimes d + b\otimes c + b\otimes \) ...

asked by Physor https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=74507 2 votes

Nothing showing up on my LogLogPlots

https://mathematica.stackexchange.com/landing/r/digest?cta=question&id=240457

I am trying to make 2 log log plots. One with each equation, a and g. I don’t know why, but the plot is not showing up. My notebook is in the link below. https://imgur.com/a/sXQX0YS

What am I doing ...

asked by QuaffyWaffles https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=77475 1 vote

answered by Bob Hanlon https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=9362 0 votes