Tag Info

Hot answers tagged

7

Though WolframAlpha understands some basic Mathematica syntax, that is simply not it's first objective, namely to attempt to understand natural language input. Thus, rather than typing Integrate[x*Sin[x],{x,0,Pi}] one may type some variant of integrate xsinx x,0,pi The results, whether obtained via the web interface or right in notebook, are ...


6

In Mathematica 10, this tells you the number of calls remaining in your cloud account if you are logged in: CloudAccountData["WolframAlphaCallsAvailable"] 2168


5

Calling Wolfram|Alpha is not generally an efficient way to retrieve bulk data; where possible, it is better to use a built in data function. Part of the problem is figuring out what to submit to Wolfram|Alpha. In the code you supplied, the issue begins with Wolfram|Alpha returning Missing[NotAvailable]. WolframAlpha["AAPL ...


3

Plot[2 x - Sinh[x], {x, -Pi, Pi}] FindRoot[2 x == Sinh[x], {x, #}] & /@ {-2, 0, 2} {{x -> -2.17732}, {x -> 0.}, {x -> 2.17732}}


2

D[x^2 + x y[x] == 5, {x, 1}] sol1 = Solve[%, y'[x]] D[x^2 + x y[x] == 5, {x, 2}] sol2 = Solve[%, y''[x]] sol2 /. sol1 // Simplify


1

As suggested by kguler, using Piecewise is easiest; however, you can also use Show or Boole. Show[ Plot[(2*x), {x, 1, 3}], Plot[(x^2), {x, 3, 5}], PlotRange -> All, AxesOrigin -> {0, 0}] Plot[ 2 x Boole[1 < x < 3] + x^2 Boole[3 < x < 5], {x, 0, 5}, AxesOrigin -> {0, 0}, PlotStyle -> Red]



Only top voted, non community-wiki answers of a minimum length are eligible