Description:
Mathematica discussion group. (Moderated)
|
|
|
unwanted Complex result
|
| |
Solve[ (Sqrt[speed ^ 2 - windx ^ 2] + windy) / a speed ^ 2 + b speed + c == distance / height , speed] this works but returns 4 solutions that all return complex numbers I need a real number how do I: - convert a complex result into real number or - solve the equation to give only real numbers
|
|
What am I doing wrong?
|
| |
In(1) SeriesCoefficient[1/(1-x),{x,0 ,n}] Out(1) (-1)^n*Binomial[-1,n] Next, In(2) FunctionExpand[(-1)^n*Binomial [-1,n],Assumptions->Element[n, Integers]] OUt(2) ComplexInfinity In(3) Table[(-1)^n*Binomial[-1,n], {n,-2,2}] Out(3) {0,0,1,1,1} Incidentally, FullSimplify in place of FunctionExpand yields the same... more »
|
|
Mathematica and F# [OT]
|
| |
I cannot resist noting that the name of the referenced language, "F#", continues a somewhat alarming trend of using single letters, possibly with suffixes, for languages names. Already there are: A, B, C, D, E, F, G, H, J, K, L, M, Q, R, S, T, V, W, X, Y, Z (I cheated a bit: W never existed, but *W did.)... more »
|
|
can I have dynamic controls in Manipulate?
|
| |
Hello Gurus, I wrote a demonstration using Manipulate, which generates graphic output. It would be nice to have a possibility to adjust the colors using a ColorSlider or a ColorSetter. However, a bunch of ColorSliders would detract the user from the main topic. Therefore, I would like to have a Button "show color sliders" / "hide color sliders". Does... more »
|
|
Superimposing Normal on a Histogram of data
|
| |
Can someone point me to an algorithm that allows me to plot a normal curve over a histogram of residuals? I just want to show how close my residual distribution approximates a normal distribution.
|
|
efficiently adding many 2D Gaussians
|
| |
Dear group, I need some help on reducing run time and memory usage for the following problem: I want to place a large number N (10000+) of 2D Gaussians in a plane (on a large array, m x m ) and add them up. I came up with a few approaches but they all fail, or become very slow once N >10000 or m>100.... more »
|
|
Plotting against Normal
|
| |
Can anyone point me to the algorithm that allows you to plot a histogram of data with a Normal Dist curve superimposed?
|
|
|