2.20 Thursday, July 16, 2020

2.20.1 Top new questions this week
2.20.2 Greatest hits from previous weeks
2.20.3 Can you answer these questions?

2.20.1 Top new questions this week

Reveal the formal PDE of FiniteElement
Drag and lift force acting on an airfoil
When is a symbol a Symbol? Is there an easy mathematica way to test if an object is a symbol sort of like a SymbolQ?
Using Regular Expression
Changing the color of the animate box
Bad linear fit for simple data
How to use each replacement only once in a list of replacements

Reveal the formal PDE of FiniteElement

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

When FiniteElement method is used, the differential equations will first be transformed to certain standard form (named as formal PDE in recent FEM document), and it turns out to be critical to check ...

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

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

Drag and lift force acting on an airfoil

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

To calculate force acting on an airfoil we can use FEM with version 12 and over. Here we show an example with NACA2415. First we calculate mesh and potential flow:

ClearAll[NACA2415]; 
NACA2415[{m_,  ...

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

answered by user21 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=18437 6 votes

When is a symbol a Symbol? Is there an easy mathematica way to test if an object is a symbol sort of like a SymbolQ?

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

Yes I know there is no built in native function called SymbolQ (but JavaScript does). However could one be simulated to work for most cases? I often rely

on objectName[symbol] and makeRuleRow[symbol]  ...

asked by Jules Manson https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=37721 9 votes

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

Using Regular Expression

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

sample2 = "this is a test to find whether pi works for other words or not as well pi pi pi potatpi pineapple pi-neapple";

so sample2 is a string, and I want to search the word/substring ...

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

answered by C. E. https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=731 9 votes

Changing the color of the animate box

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

Is there a way to change the coloring of the boxes that are generated by Animate or Manipulate? The color of what is gray by default.

Animate[ArrayPlot[CellularAutomaton[n, {{1}, 0}, {40, All}]], {n,  ...

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

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

Bad linear fit for simple data

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

I have some data :

data={{1.01074, 0.964488}, {1.08552, 0.993067}, {1.07907, 
  1.01836}, {1.0477, 1.03695}, {1.07717, 1.07973}, {1.10243, 
  1.08195}, {1.12669, 1.09112}, {1.09405, 1.09319},  ...

asked by J.A https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=58104 7 votes

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

How to use each replacement only once in a list of replacements

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

I have a list of replacements and some list they are acting on. However, some RHS of the replacements rules are identical (the LHS is not). I want to use those rules one after another (perhaps cycling ...

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

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

2.20.2 Greatest hits from previous weeks

Positioning axes labels
Generate a Unit Circle Trigonometry
Is there something like DensityPlot3D to visualize atomic orbitals?
Mathematica command that allows it to read my intentions
Does Mathematica 11 work with MacOS Catalina 10.15
Finding Limits in several variables
Parallel and perpendicular symbol from Mathematica to LaTeX

Positioning axes labels

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

I need to change the position of my axes labels such that the y-axis label is in the middle and parallel to the y-axis. I’d also like the x-axis label to be in the middle of the x-axis rather than ...

asked by John_dydx https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=7849 15 votes

answered by Virgil https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=27697 16 votes

Generate a Unit Circle Trigonometry

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

Struggling often with Trigonometry I would like to have some code to generate this Unit Circle Trigonometry. Would be of great help when I need to transform some data :

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

answered by Mark McClure https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=36 32 votes

Is there something like DensityPlot3D to visualize atomic orbitals?

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

I’m visualizing some hydrogen like atomic orbitals. For looking at plane slices of the probability density, the DensityPlot function works well, and with something like:

Manipulate[ 
 DensityPlot[  ...

asked by Peeter Joot https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=10 45 votes

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

Mathematica command that allows it to read my intentions

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

In version 2.0 of Mathematica there was a command, ReadProgrammerIntentions[ ] which allowed it rapidly compose code that could solve problems simple to complex, based on my requirements. Understand ...

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

answered by MarcoB https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=27951 38 votes

Does Mathematica 11 work with MacOS Catalina 10.15

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

I just upgraded my macbook to 10.15 and could not open Mathematica 11. I am wondering are there any workarounds to use Mathematica 11 without upgrading to 12? Thank you!

asked by Jiang Xiang https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=16218 27 votes

answered by Itai Seggev https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=4848 18 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)}\] ...

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

Parallel and perpendicular symbol from Mathematica to LaTeX

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

I want to get the following expression from Mathematica to LaTeX:

\begin{bmatrix} 
E_{\parallel} \\ E_{\perp} 
\end{bmatrix}

I have tried to use inbuilt ’symbol’ character from the special ...

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

answered by Sjoerd C. de Vries https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=57 26 votes

2.20.3 Can you answer these questions?

Finding the domain in which a function is analytic with no imaginary part
Argmax - all maximizer positions
AceFEM MacOS not responding

Finding the domain in which a function is analytic with no imaginary part

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

I was wondering if it is easy to see if a given expression evaluates to a real number in a given domain? Let e.g. \(f(x,y,z)\) be some function depending on three variables \(x,y,z\). I would like to know if ...

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

Argmax - all maximizer positions

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

Generally the Argmax function returns one position, where a function is maximized. Is there a easy way to obtain a list of rules for all maximizer points?

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

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

AceFEM MacOS not responding

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

I just upgraded to v7.114 of AceFEM running on MacOS 10.15.5 and Mathematica 12.0.0.0. I was running v7.101 without a problem. AceGEN seems to work but all AceFEM code starts but does nothing. The ...

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