1.5 Thursday, April 22, 2021

1.5.1 Top new questions this week
1.5.2 Greatest hits from previous weeks
1.5.3 Can you answer these questions?

1.5.1 Top new questions this week

joining three lists to plot data with errors
Interpreting traditional math
Is it possible to define conjugate of a function?
Maximal circle packing inside a given square
Some doubts about symbolic equations in Wolfram Mathematica
Count number of balls in each bin, given a two-element sequence of balls and bins
FEM: elastic cylinder under circumferential pressure

joining three lists to plot data with errors

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

I have three lists:

x = {x1, x2, ...}, 
y = {y1, y2, ...}, 
yErr = {y1Err, y2Err, ...}

that I want to join into the following format:

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

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

Interpreting traditional math

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

There are two ways (afaik) to parse traditional math string to an expression:

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

answered by Kuba https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=5478 3 votes

Is it possible to define conjugate of a function?

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

Could you help me, please? I have two complex functions of real variable f[x] and fc[x] such that one is a conjugate of another one. I’d like to take a conjugate of an expression that includes both of ...

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

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

Maximal circle packing inside a given square

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

How to pack n equal disks(radius a/2) with maximal area inside a given rectangle ? I’m trying to solve this problem using Mathematicas Region functions. Here my approach: Maximize the area of the ...

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

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

Some doubts about symbolic equations in Wolfram Mathematica

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

I need to perform the following operations using Wolfram Mathematica. I have these equations: \[a b = c+d+e\] \[\frac {d}{f}=g h + i\] \[k=\frac {a}{c}\] I need to obtain \(k\) as a function of: \(a,b,c,e,\dots \)

asked by Skyhawk https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=79597 5 votes

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

Count number of balls in each bin, given a two-element sequence of balls and bins

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

If I have a list:

{ball,ball,BINDIVIDER,ball,ball,ball,BINDIVIDER,BINDIVIDER,ball,BINDIVIDER,ball}

The balls and bins can be in any permutation. Then, the ...

asked by apkg https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=35029 5 votes

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

FEM: elastic cylinder under circumferential pressure

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

Suppose you have an elastic cylinder of radius \(R\) and height \(H\) and you want to solve the mechanical 3D equilibrium with Mathematica’s FEM. How do you impose a pressure \(p\) only on the cylinder ...

asked by Mauricio Fernández https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=24710 4 votes

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

1.5.2 Greatest hits from previous weeks

Plot data from txt file?
How to make a Spherical Cow?
What are the most common pitfalls awaiting new users?
My Girlfriend is going to prison...Save her with Math
Plotting the Star of Bethlehem
Generate a Unit Circle Trigonometry
Extract real part of a complex expression better than Re does

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 make a Spherical Cow?

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

Being a theoretical physicist, I always have a great respect for Spherical Cow. So I thought about making one myself. I am not sure how can I create (something considered to be the simplest!) this ...

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

answered by andre314 https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=5467 76 votes

What are the most common pitfalls awaiting new users?

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

As you may already know, Mathematica is a wonderful piece of software. However, it has a few characteristics that tend to confuse new (and sometimes not-so-new) users. That can be clearly seen from ...

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

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

My Girlfriend is going to prison...Save her with Math

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

Salacious title, but true story.

asked by Prisoners Dilema https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=46025 42 votes

answered by bobthechemist https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=7167 23 votes

Plotting the Star of Bethlehem

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

Christmas is around the corner! In preparation, consider the polynomial f[x_,y_]:= 1/10 (4 - x^2 - 2 y^2)^2 + 1/2 (x^2 + y^2) 

and define \(r=(f_x,f_y)\) using the ...

asked by fwgb https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=44151 30 votes

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

Extract real part of a complex expression better than Re does

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

I have a complex expression with real positive variables only.

Mathematica Input Style:

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

answered by nixeagle https://mathematica.stackexchange.com/landing/r/digest?cta=user&id=814 53 votes

1.5.3 Can you answer these questions?

Understanding the behavior of HypergeometricPFQ
recursively find StringCases
How to specify custom Loss function for Predict

Understanding the behavior of HypergeometricPFQ

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

this is my very post here, so I apologize for any possible format issue. I am using HypergeometricPFQ functions (more exactly \(_3F_2\)) as approximants for other more complicated functions. Here are ...

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

recursively find StringCases

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

Can I recursively extract StringCases[] that match a specific pattern? Here is a minimalist example (not my actual problem):

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

How to specify custom Loss function for Predict

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

How can I use Predict[Xs->Ys, Method->"NeuralNetwork"] to predict 90%-quantile (instead of mean value)? Utility Function does not work well for this case, because

it assumes ...

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