# User Portlet

Christopher French
Discussions
Check DownValues[myCHcc] to see how many different definitions you have created. You will find that the input myCHcc[1] is being intercepted by the one with the pattern _Integer before getting to the one with Conditional /;. By reusing the same...
Include the Quantity wrapper around t in the integrand. [mcode]In[ ]:= Integrate[Quantity[5, "Meters"/"Seconds"^2]*Quantity[t, "Minutes"], {Quantity[t, "Minutes"], Quantity[0, "Seconds"], Quantity[10, "Seconds"]}] Out[ ]= Quantity[250, "Meters"]...
Claire Danes was in the 1998 (Liam Neeson) version and Anne Hathaway was in the 2012 (Hugh Jackman) version of Les Mis. That's not a link. Check the films Romeo+Juliet and The Odd Life of Timothy Green, ...
You are absolutly correct in the observation, that the generic variable # inside (# + # &) has no way of knowing the first # comes from the outside Map and the second # comes from the inside Map. This inside and outside indexing is already handeled...
Give the location of centers of the vectors to be drawn to VectorPlot3D using VectorPoints option as a list of points.[mcode]points = Join @@ Table[{i, j, .5}, {i, -1, 1, .25}, {j, -1, 1, .25}]; VectorPlot3D[{0, 0, Cos[x] Cos[y]}, {x, -\[Pi]/2,...
With is used to inject a value into an expression, then releases it. Handy for building up arguments inside HoldAll functions like Plot.plotCurves[n_] := With[{b = bounds[[n]]}, Plot[curves[[n]], b]] This version inserts both values,...
Check this result make sure it fits all the boundary cases you where expecting:[code]T = Ki = 0; i = 0; While[i
Many patterns can be gathered into one structure with a Switch statement,[mcode]function1[{a_, b_, c_}] := Switch[{a, b, c},   {_?NumberQ, _?NumberQ, _String}, {a, b, a + b + 1},   {_String, _?NumberQ, _?NumberQ}, {b + c - 1, b, c},   {_?NumberQ,...
The list of conditions do not resolve into True or False, try putting them into a structure like Or in case one of them turns True. The symbol pi is not being treated like the constant Pi, use Pi or Esc p Esc instead. The result will look like...
In the ListPlot it looks like you have data points falling along several curves. What you really have is a flat list of data points and what looks like curves are not made up of sequential points, but are quite interlaced together. Have a look at the...