Description:
Mathematica discussion group. (Moderated)
|
|
|
manipulate with user entered functions and variables
|
| |
I am trying to create a manipulate interface that would allow a user to enter a set of independent variables and a function of these variables. The program would then return calculations based on partial derivatives of the function with respect to the given variables. Eventually this would lead to an error propagation program for undergraduate physics labs.... more »
|
|
Silly question on how to insert sections, subsections and etc. on a notebook
|
| |
Hello
I wonder whether it would be possible to write a notebook with the following structure:
Section 1
Text and Mathematica commands
subsection 1.1
Text and Mathematica commands
subsection 1.2
Text and Mathematica commands
Text and Mathematica commands (note that part is not inside subsection 1.2 but it is inside Section 1)... more »
|
|
Using manipulate with user entered variables and functions
|
| |
I am trying to create a program through which a user can enter a number of variable names and a function of those variables. The program then performs calculations based on derivatives of the function with respect to the entered variables. Eventually this will become a tool for error propagation in an undergraduate physics lab.... more »
|
|
Average the same elements of the list
|
| |
Hello,
I have list which is something like data={
{{a1,b1,c1},d1},{{a2,b2,c2},d2 }}
I would like to get new list which gets average of the second elements if the first elements in the sublists are all the same.
Namely if a1=a2,b1=b2,c1=c2
new list would look like
datanew={{a1,b1,c1},Mean[{d1,d 2}]... more »
|
|
Unable to generate any initial points with NMaximize (or NMinimize)
|
| |
I often get the error:
NMaximize::incst: NMaximize was unable to generate any initial points satisfying the inequality constraints
while there are clearly points satisfying the inequality constraints. For example:
NMaximize[{1/(0.` + (0.012710615354858255` (0.07879657698200958` +
a) (0.000046296899009293725` +... more »
|
|
ListPlot skips first point
|
| |
In the particular example below, the first point of data2 is *not* plotted. If I drop the last point of data2, then the first point comes into view. Not sure why.
data1 = {{1, 11.07}, {120, 11.07}};
data2 = {{1, 11.07}, {2, 2.15}, {3, 0.83}, {4, 0.43}, {5, 0.26}, {6, 0.17}, {7, 0.12}, {8, 0.09}, {9, 0.07}, {10, 0.06}, {11,... more »
|
|
How to substitute decimal dot with decimal comma in
|
| |
Try the following example:
ListPlot[Table[j,{j,0.5,10,1}] ]
Define the ticks as strings (check the online Help for Ticks in the details section). Use StringReplace (cf. the online Help browser) to change the dot for a comma on each of them:
tks=Table[j,{j,0.5,10,1}];
ListPlot[Table[j,{j,0.5,10,1}] ,Ticks->{Transpose[{tks,String Replace[#,"."->","]&/@ToString /@tks}],Automatic}]... more »
|
|
Can't get FindMinimum[] to quit using value specified by
|
| |
I am using FindMinimum and I have been forced to use the Catch and Throw commands to get the routine to stop running after a specified number of iterations. Any help, or any ideas as to why I can't seem to get the built in MaxIterations to get the routine to stop?
Thank you for any help.
-Nate Pollesch... more »
|
|
setting highlight color and font size
|
| |
I'm running Mathematica 9.01 under Mountain Lion X.8.3, and have 3 questions to which I haven't been able to find answers:
* When some text, or a cell is selected the highlight background color
is now a light blue; where do I change that default? I don't recog-
nize anything in Option Inspector that does that.... more »
|
|
|