WORKBENCH VS MATHEMATICA In writing code which is the preferred method, Work Bench or Mathematica? In ether one, why do you use it vs. the other? ... 15 Jun 2010 03:15
Find value of unknown const that causes integral to equal some There is no real-valued solution; to get complex solutions, try to give a complex value as starting point for FindRoot: target[x_?NumericQ] := NIntegrate[BesselI[0, x*t], {t, 0, 1}] and FindRoot[target[x]==1/2,{x,1+I}] {x->0.+2.84653 I} give what you want? Am Sat, 12 Jun 2010 09:30:44 +0000 (UTC) schrieb... 13 Jun 2010 05:04
3D plot of hemisphere pushing into a triangular membrane or Graphics3D[ { Sphere[{0, 0, 0}, 0.65], Polygon[{{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}] } ] You could start reading the documentation of Graphics3D. Open the box "More information" below the syntax description and you'll find some graphics primitives you could use. Cheers -- Sjoerd On Jun 11, 8:09 am,... 13 Jun 2010 05:04
How to center the position of a control in the Column[{ Row[{ "a ", Slider[Dynamic[a], {1, 5, 1}], , a = 4; Dynamic[a]}], Row[{ "b ", Slider[Dynamic[b], {1, 5, 1}], , b = 2; Dynamic[b]}], Dynamic[Plot[a + b*x, {x, 0, 1}, PlotRange -> {0, 10}, ImageSize -> 360]]}, Center] Bob Hanlon ---- sibir <martin.rommel(a)gmail.c... 13 Jun 2010 05:04
Number to string headed by zeros I need to create strings out of integers, padding them with zeros, cause otherwise they end up sorted in the wrong order. "10.gif" before "1.gif". For now I'm gonna do it by adding 1000, converting to string, and taking the heading 1, but I'm sure there are better options. THanks Rui ... 13 Jun 2010 05:04
Automatic update of variables Sometimes, I would find useful a method to update variables automatically. For example, given the delayed rule b:=3 a+1; it would be useful to have b updated whenever a is assigned a new value, like a=37. Is there any method to do this in Mathematica? Thanks, Antonio. ... 13 Jun 2010 05:04
Find value of unknown const that causes integral to equal some value Suppose I have an expression of the form 1/2 = int_0^1 besselI[0,x*t] dt and I want to find the value of "x" that will make the integral true. Can Mathematica handle such situations? I've tried all the main suspects that I get warnings that the expression depends on x in a non- algebraic way. The numerical tas... 13 Jun 2010 05:04
corrupted notebook How to fix a notebook? When opened all the cells look black and the software complains. Chris ... 13 Jun 2010 05:04
Apply a function to parts of a list I have always done very ugly code when trying to do something seemingly simple and basic such as applying a function to subparts of a list. Simple example, I want to divide by 2 all the second elements of a list {{a, 5}, {b, 6}, ...} --> {{a, 5/2}, ...} My ideas: Transpose -> MapAt/Map -> Transpose Build th... 23 Jun 2010 02:59
How to center the position of a control in the Manipulate pane? The controls are always aligned left inside the pane :-( ... 19 Jun 2010 08:00 |