Description:
Mathematica discussion group. (Moderated)
|
|
|
error region in parametric plot
|
| |
In plotting parametric regions sometimes I get cracks, i.e., white regions that should be colored as part of the region. The code below should produce a deformed annulus, but it has two cracks in it. Sometimes I am able to force Mathematica to fill part of the cracks by subdividing the region with smaller intervals for the angle v. However, this does not work... more »
|
|
Unevaluated subtleties
|
| |
I was thinking at how to measure the Length of an expression in the form that is entered by the user. The way to do it is: Length[Unevaluated[expr]] For example Length[Unevaluated[2+5]] gives 2 which is what I wanted since 2+5 is really Plus[2,5], a function with 2 arguments. So far so good. Then I started to experiment a bit with Unevaluated and I soon... more »
|
|
time based moving average (and other newbie mathematica questions)
|
| |
Hi, I see that Mathematica provides a couple of moving average functions. As far as I can tell, they are based on the number of elements in an array. Is there a function for doing moving average based on time? In other words, if I pass in intra-day data containing prices, times (up to a millisecond) and some other fields, can I get Mathematica to... more »
|
|
Prime Puzzle with Mathematica
|
| |
Hi All, trying to find an efficient way to this in Mathematica. I found the answer - but it was a manual list manipulation - and it was ugly! Any suggestions? 3 Nice Primes: Find three 2-digit prime numbers such that: * The average of any two of the three is a prime number, and * The average of all three is also a prime number... more »
|
|
I can plot a function but when I try FindRoot it complains
|
| |
Hi all, I have a problem with Mathematica error that I don't know how to fix. I define a function f2 [L,ds(L)] where ds(L) is found by solving f1(L,ds)==1. When I plot f2 [L, ds(L)] as a function of L, everything is good. However, when I try to find the value of L where f2 ==1, Mathematica complains that f2 is not... more »
|
|
Mathematica Plot Functions
|
| |
Hello, I try to plot a function, but Mathematica doesn't draw my function. Can someone help me? I provide a screenshot here: [link] Thanks in advance, TKM
|
|
CountryData Shape and Graphical objects
|
| |
I'm Trying to create LambertAzimuthal world plots with some graphics object overlayed (mainly polylines defined from {lat, long} lists. I couldn't find any hint on wolfram documentation. Is there anybody who knows if it is possible and in case how? I tried thinks like: Show[Graphics[ CountryData["World", {"Shape", {"LambertAzimuthal", {41,12 }}}],... more »
|
|
Why is this integral hard for mathematica?
|
| |
Hello Consider this indefinite integral: Integrate[Sqrt[ 4 k (1 + \[Alpha] (-1 + \[Epsilon])) + (h + \[Epsilon] - h \[Epsilon])^2], \[Epsilon]] This evaluates fine. Now try the same integral with limits of 1/2 and 3/2: Integrate[Sqrt[ 4 k (1 + \[Alpha] (-1 + \[Epsilon])) + (h + \[Epsilon] - h \[Epsilon])^2], {\[Epsilon], 1/2, 3/2}]... more »
|
|
Mathematica vs Latex
|
| |
Mathematica 6, WindowsXP The binomial, probability distribution function is printed in the evaluation of the following notebook: NotebookPut[ Notebook[{Cell["October 7, 2008", "Text", TextAlignment -> 1, FontSize -> 24, Bold, CellMargins -> {{Inherited, Inherited}, {50, Inherited}}], Cell["Probability Of Acceptance", "Section", "Text",... more »
|
|
Can Mathematica NIntegrate a Log-type singularity?
|
| |
$Version 6.0 for Mac OS X PowerPC (32-bit) (June 19, 2007) nint = NIntegrate[alpha^2 * Log[2 Cos[alpha/2]]^2, {alpha, -Pi, Pi}] 37.4024 nint/Pi^5 0.122222 % // Rationalize 11/90 The result is stable for changes in WorkingPrecision. The integral appears to be 11/90 * Pi^5 Bob Hanlon ...============= Hi,... more »
|
|
|