1.16 Thursday, January 21, 2021

1.16.1 Top new questions this week
1.16.2 Greatest hits from previous weeks
1.16.3 Can you answer these questions?

1.16.1 Top new questions this week

How can I use Mathematica to solve a complex truth-teller/liar logic problem?
list-array construction
why do these two Meijer G functions not cancel each other?
How to partition a square into successive halves
Ignoring fractions can lead to correct answer
Context Manipulation within Scoping Constructs
Why does NMinimize not follow MaxIterations?

How can I use Mathematica to solve a complex truth-teller/liar logic problem?

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

I have a logic puzzle I want to convert to Mathematica to solve: Person A states, "Exactly two people are truth-tellers," Person B states, "I and Person C are truth-tellers."

asked by Peter Burbery https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=76873 16 votes

answered by SneezeFor16Min https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=69875 19 votes

list-array construction

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

I want to create the list ix={1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4} I can do

asked by geom https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=68502 11 votes

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

why do these two Meijer G functions not cancel each other?

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

I encountered such expressions in Mathematica MeijerG[{{ }, {1, c + 1/2}}, {{0, c, c, c}, { }}, 1] + MeijerG[{{1}, {c + 1/2}},    {{c, c, c},    {0}}, 1]

which in ...

asked by Jing https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=76801 8 votes

answered by Chromo Runge https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=68326 12 votes

How to partition a square into successive halves

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

I am teaching the idea of infinite geometric series to high school students, looking for hints to create the diagram below using Mathematica. (I don’t need the labels). I can do it manually, but ...

asked by Tom De Vries https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=721 7 votes

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

Ignoring fractions can lead to correct answer

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

There is a curious example in Posamentier’s book "Magnificent Mistakes in Mathematics" (p. 72): \((7+3/7)*(4-3/13)= 7*4=28\), where cancelling the fractions leads to correct result. If we ...

asked by Darko G https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=60625 7 votes

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

Context Manipulation within Scoping Constructs

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

In the following the full context form of Test is not required as "Aaa`" is added to ...

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

answered by Ronald Monson https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=2249 2 votes

Why does NMinimize not follow MaxIterations?

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

...

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

answered by Anton Antonov https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=34008 4 votes

1.16.2 Greatest hits from previous weeks

Is it possible to export the equations from Mathematica to MATLAB?
How to ask Mathematica to imitate Andy Warhol’s pop-art painting?
How to plot an ellipse?
What’s the most difficult multidimensional integral that Mathematica has solved?
Even Fibonacci numbers
Find eigen energies of time-independent Schrödinger equation
Standard deck of 52 playing cards in curated data?

Is it possible to export the equations from Mathematica to MATLAB?

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

Is it possible to export the output expressions from Mathematica computations (e.g., equations) in valid MATLAB syntax?

asked by Seyhmus Güngören https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=4256 43 votes

answered by rm -rf https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=5 48 votes

How to ask Mathematica to imitate Andy Warhol’s pop-art painting?

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

I tried to ask Mathematica to imitate Andy Warhol, let it convert a Marilyn Monroe’s portrait so that it looks like Warhol’s world famous pop-art painting. However, the result shown below is far from ...

asked by Putterboy https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=16069 52 votes

answered by Dr. belisarius https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=193 67 votes

How to plot an ellipse?

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

I’m new to Mathematica, and I’m finding it difficult to plot an ellipse. I tried using

Plot[(x/5)^2 + (y/3)^2 == 1, {x, -5, 5}, {y, -3, 3}]

but I’m getting ...

asked by Sriram https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=6075 18 votes

answered by Jens https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=245 30 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

Even Fibonacci numbers

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

Today, I found the Euler Project. Problem #2 is

Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:

asked by xyz https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=9627 34 votes

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

Find eigen energies of time-independent Schrödinger equation

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

I’m trying to get the eigenvalues of a one dimensional time-independent Schrödinger equation,

\(-\frac {h^2}{2m_0}\frac {d^2\psi }{dx^2}+U(x)~\psi =Ei~\psi \)

where U(x) is some potential and Ei is the ...

asked by xslittlegrass https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1364 49 votes

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

Standard deck of 52 playing cards in curated data?

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

I am not sure how to find out what all is included as curated data. For example, are the individual images of each of the 52 cards in a standard deck of playing cards included?

If not, is there a way ...

asked by JohnD https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=1629 25 votes

answered by rm -rf https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=5 23 votes

1.16.3 Can you answer these questions?

ListDensityPlot3D with x-axis in logscale
Trying to solve a PDE getting warnings I don’t understand
How can we improve transonic flow visualization?

ListDensityPlot3D with x-axis in logscale

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

Starting from a data set like the one used in this post: Importing and visualizing 4D data DATA It can be viewed using ListDensityPlot3D, as follows:

asked by Ivan Y. Forero https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=76882 1 vote

Trying to solve a PDE getting warnings I don’t understand

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

Consider the partial differential equation

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

How can we improve transonic flow visualization?

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

With this code we can make 2D FEM simulation of transonic flow around airfoil NACA 0012 at Mach number of 0.925. It takes about 5 minutes on the XENIA-15 laptop of 32 GB memory with processor Intel ...

asked by Alex Trounev https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=58388 4 votes