First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Mathematica- Use a previous equation into the
Attributes[Function] {HoldAll,Protected} Since Function has the attribute HoldAll, you need to use Evaluate listp = {a, b, c, d, e, h, j}; ll = d + a x + h x^2 + b y + e x y + c z + j z^2; Function[##, Evaluate[ll]] & @@ {listp} Function[{a, b, c, d, e, h, j}, a*x + b*y + c*z + d + e*x*y + ... 3 Aug 2010 07:03
Mathematica and uniform distributions
In my just-posted note about uniform distributions, my "solution" was wrong. However the problem as stated remains, and I will appreciate any help. Steve Gray ... 10 Aug 2010 04:45
automatically include automatic numbering in a cell style
I have a cell style, Exercise, in a style sheet that's just a variant of Text style. Its definition includes option CounterIncrements->"Exercise". That style sheet is applied to a notebook where I'm going to use that style. Three questions: (1) Is there some way of automatically having the number appear at th... 5 Aug 2010 08:01
StringForm v.s Row
For creating labeled output, one might use either of the following sorts of expressions: StringForm["x = ``", x/.First(a)Solve[3x-4==0,x]] Row[{"x = ", x/.First(a)Solve[3x-4==0,x]}] The resulting Output cells look the same, although the underlying expressions in those Output cells are not. Is one form pr... 3 Aug 2010 07:03
Issuing Function Calls within a Plot command
Hi, It seems like Mathematica has difficulty plotting calls to other functions. Is this true? For example, can you help me understand why the following does not plot? If I write myFunction[x_] := x^2; Plot[D[myFunction[x], x], {x, 0, 5}] nothing plots. If I write myFunction[x_] := x^2; Plot[D[myF... 6 Aug 2010 07:09
Exporting into PowerPoint
Is it possible to export tables and graphics directly into PowerPoint Presentation? I notice that Mathematica does not seem to recognize PPT, PPS, PPTM or PPTX formats. What is the best way to place Mathematica content into PowerPoint, other than by manually pasting? Thanks in advance for any help on this issue. ... 2 Aug 2010 08:08
ReplaceAll and ReplaceRepeated Strange Behavior
Given the expression: eff = (L*(-L*mu+dm*Pi*Cos[b]))/(dm*Pi*(dm*Pi*mu+L*Cos[b])) After this I enter eff /. {dm*Pi -> L/Tan[a]} and get a result that does not, for a reason I cannot fathom and believe to be a bug, replace one instance of dm*Pi. The result of the evaluation yields L*(-L*mu+L*Cos[b]*Cot[a... 3 Aug 2010 07:03
A distribution problem using Mathematica
I want 3 random variables v1,v2,v3 with uniform distribution from 0 to 1, but modified or normalized so that their sum is a uniform distribution from 0 to 1. These variables are for placing a point at a random place inside a tetrahedron defined by 4 vertex vectors p1,p2,p3,p4. The internal point is given by ... 3 Aug 2010 07:03
Surprising FullSimplify result
Here's what I am getting Cos[theta]^2 + Sin[theta]^2 // FullSimplify Out[540]= 1 Cos[theta]^2 + Sin[theta]^2 + L^2 Cos[theta]^2 // FullSimplify Out[541]= 1/2 (2 + L^2 + L^2 Cos[2 theta]) I'm really surprised that the answer in the latter case is not 1+ L^2 Cos[theta]^2 Is there an explanation? Thank... 4 Aug 2010 08:08
Disable " symbol
Hi, I am reading files of mixed strings and numbers using Data1= Import["file","Table"] where I have something like A" A" A' which should yield "{A",A",A'}", instead, mathematica gives me "{A" A",A'}". Is there anyway that I can disable the double quote " sign so that mathematica doesn't take th... 6 Aug 2010 07:09
First  |  Prev |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18