Why Evaluate[Defer[1+1]] does not return 2 ? I am a little confused about Defer: r = Defer[1 + 1] Out[106]= 1 + 1 Evaluate[r] Out[109]= 1 + 1 But help says: "Defer[expr] returns an object which remains unchanged until it is explicitly supplied as Mathematica input, and evaluated using Shift+Enter, Evaluate in Place, etc. " Isn't typing Evalua... 13 Jul 2010 06:30
Stem and Leaf Question I am creating some basic stem and leaf plots. I would like to reverse the order of the stems in the output so they are decreasing from high to low rather than the usual low to high. I have not been able to find any documentation in the help system that explains how to reverse that order. I have tried the reverse fu... 13 Jul 2010 06:30
Simplest way to get 2 digits from an integer... Hello All I would like to find a simplest code to take the first n digits os a integer. Here are two examples (not simple) to take the first 2 digits os the number a: 1) a = 1234; ToExpression(a)StringTake[ToString[a], 2] 12 2) a = 1234; FromDigits(a)Take[IntegerDigits[a],2] 12 ------- In Excel, I just us... 15 Jul 2010 03:24
strange bahavior of ArcSinh Dear Mathematica users, I have found a strange behavior of ArcSinh. Without ArcSinh this makes a nice graph as expected. With ArcSinh I get a strange warning in Mathematica 7.0. Is it a bug or a feature? Mathematica 5.2 gives no warnings. Best regards Pavel Mathematica 7.0 for Linux x86 (64-bit) Copyright ... 12 Jul 2010 01:58
why the beep at startup Hello, I got recently the window "Why the beep at startup" when I do: 2+2 and then shift+enter. The help "Why the beep" gives that Mathematica did not understand the expression. Any idea? P_ter ... 11 Jul 2010 07:12
Chi Square Areas (CORRECTION) Use {5, 3} for the NumberForm rather than the {4, 3} shown Bob Hanlon ---- Bob Hanlon <hanlonr(a)cox.net> wrote: ============= Or use Quantile prob = {0.95, 0.90, 0.80, 0.70, 0.50, 0.30, 0.20, 0.10, 0.05, 0.01, 0.001}; TableForm[ Table[ NumberForm[ Quantile[ ChiSquareDistribution[df... 11 Jul 2010 07:12
multivariate interpolation Dear Group, I have the following problem. I have a matrix of this form {{{9, 0.01, 1001, 269250000, 0.944218 - 12.6734 Sqrt[1/x] + 72.8455/x}, {10, 0.01, 1001, 269250000, 0.944134 - 13.1619 Sqrt[1/x] + 71.1457/x}, {11, 0.01, 1001, 269250000, 0.944054 - 13.6278 Sqrt[1/x] + 69.5111/x},.... where the fi... 12 Jul 2010 08:29
Another 3D and Contour plots Rendering problem Hi all! I'm using a Kubuntu 10.04 64 bits, with an ATI video card (ATI Catalyst propietary drivers 10.6). Everything was fine with Mathematica running on my machine until I tried to make a Contour plot. The only thing that appeared in my screen were a bunch of non-sense lines. I then tried to make a simple Plot3... 11 Jul 2010 07:12
I am posting the problem once more Dear Group, Here is a simple code to solve linear systems. It is motivated from Fullerton University numerics example. Now if someone can suggest how to parallelize this code. SORmethod[A0_, B0_, P0_, omega_, max_] := Module[{A = N[A0], B = N[B0], i, j, k = 0, n = Length[P0], P = P0, oldP = P0}, While[... 10 Jul 2010 05:10 |