7
votes
Accepted
7
votes
7
votes
How to fit function with data?
NonlinearModelFit default settings work ok with simpler model and thena and b can be derived,...
4
votes
3
votes
Accepted
Plot solution of an integral with parameter
Using $\frac {d\phi}{dr}$ and Ueff from the paper we have
...
3
votes
Accepted
Change of variable of a numerically solved integral
Perhaps onedimensional plot is sufficient?
Plot[Int[b], {b, 0, 5}, ColorFunction -> Hue,PlotStyle -> Thickness[Large]]
or using ...
2
votes
Animating a double spring spherical pendulum
Parameters k1=k2=5 are too small, let take k1=k2=50 then we have
...
2
votes
Animation of double pendulum with a spring (3DOF)
Here my solution
parameters (changed k !)
m1 = 1; m2 = 1; l1 = 1; l2 = 1; k =100(* 1/10*); g = 9.81;
geometry
...
1
vote
Accepted
Value of a function over permutations of two lists
You can do the multiplications more efficiently without needing Sum.
...
1
vote
Sum on a lattice where variables can only take two values (Ising lattice gauge theory)
One option is to specify each node as a pair of integers, {x,y}. You might also consider placing your spins at the nodes rather than on the edges. There will be four spins/plaquette either way, and ...
1
vote
Plot after applying NIntegrate
int is producing seemingly random numbers because AccuracyGoal -> 5, PrecisionGoal -> 4 are too small. Increasing the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
physics × 941differential-equations × 319
plotting × 168
calculus-and-analysis × 104
equation-solving × 86
numerical-integration × 80
finite-element-method × 54
matrix × 50
numerics × 47
simulation × 39
graphics × 37
tensors × 35
fitting × 31
special-functions × 29
eigenvalues × 27
packages × 26
animation × 25
nonlinear × 25
chemistry × 25
vector × 21
probability-or-statistics × 20
performance-tuning × 19
mathematical-optimization × 19
linear-algebra × 19
graphics3d × 18