Questions tagged [wolframalpha]

Wolfram Alpha (also written WolframAlpha and Wolfram|Alpha) is an answer-engine developed by Wolfram Research

Wolfram|Alpha is an online service that answers factual queries directly by computing the answer from structured data, rather than providing a list of documents or web pages that might contain the answer as a search engine might. It was announced in March 2009 by British scientist Stephen Wolfram, and was released to the public on May 15, 2009.

Source: Wikipedia

257 questions
3
votes
1 answer

expanding complex-valued functions in Julia

In Wolfram Alpha I can use complex expand sin(x + Iy) to get back sin(x) cosh(y) + i cos(x) sinh(y). Is there a package in Julia or alternatively Python that does the same?
Josef
  • 33
  • 4
3
votes
2 answers

Plot a function with an integer variable in Wolfram Alpha

I'd like to plot the following function in Wolfram Alpha (n is a positive integer variable): f = n * (2^(-n) - 1) In Matlab the corresponding function is stem How can I specify that n is a positive integer variable? Thank you for your time.
Gennaro Arguzzi
  • 769
  • 1
  • 14
  • 27
3
votes
2 answers

Sympy and Wolframalpha give different result

Sympy and wolframalpha have produced different result. Have done anything obviously wrong here? import sympy as smp smp.init_printing() In [2]: a,R,t = smp.symbols('a,R,t',real=True) In [3]: f = t**2/(1+t**2/a**2);f Out[3]: In…
pranphy
  • 1,787
  • 4
  • 16
  • 22
3
votes
0 answers

Using Wolfram Alpha in Python?

I'm developing a program in Python. Part of the process involves solving an equation in x in the form ax^1.2 + bx^2.2 + cx^3.2 + dx^4.2 - s = 0, where a, b, c, d and s are known variables. I've installed the Wolfram Alpha package using pip, and am…
N Singh
  • 31
  • 2
3
votes
2 answers

How can I ask Wolfram Alpha to rearrange an equation?

I have an equation (parentheses are used because of VBA code) Y=(P/(12E((bt^3)/12))*A and i know every variables but not "b". Is there any way how to ask Wolfram Alpha to "redefine" (not solve) equation so I can see something like following: I…
SilentCry
  • 1,902
  • 3
  • 16
  • 23
3
votes
1 answer

Symbolic computation Implementation

After using Wolfram Alpha and MATLAB's Symbolic Math Toolbox for solving integrals, ODEs and PDEs, I got curious to know how would I implement an analytical(closed-form) integration(or non-trivial equation) solver. For example, how could i…
muzio
  • 310
  • 1
  • 7
3
votes
1 answer

Geographic distance: Wolfram Alpha not agreeing with Google Maps API

When testing to verify a mapping solution, I came across a discrepancy between the Google Maps API and Wolfram Alpha. Both are sources I trust, so I can only believe I'm doing something wrong, but for the life of me, I can't determine what. For…
Ethan Brown
  • 26,892
  • 4
  • 80
  • 92
3
votes
1 answer

Posting API keys on github

I'm working on a C project that uses the WolframAlpha API, and I was planning on making it available on github, however the source code contains my API key. Do people generally post their API keys on github or should I delete it?
mshindal
  • 578
  • 6
  • 17
3
votes
4 answers

Python decimal.Decimal precision doesn't match wolfram alpha's

I have the following python code: In [1]: import decimal In [2]: decimal.getcontext().prec = 80 In [3]: (1-decimal.Decimal('0.002'))**5 Out[3]: Decimal('0.990039920079968') Shouldn't it match…
prgDevelop
  • 1,557
  • 2
  • 15
  • 26
3
votes
1 answer

bode plot in J (right half plane zero, second order)

While working on Exercise 6.5 of Ch06 in Dr. Middlebrook's D-OA method, I tried to make bode plot of the transfer function: bodeplot[s/100+100/s*(1+10/s)] (input to wolframalpha) in J Somehow the J code phase plot doesn't agree with Mathematica's…
Zhe Hu
  • 3,777
  • 4
  • 32
  • 45
3
votes
4 answers

C# Wolfram aplha API working example

I have been trying to get the Wolframalpha API for C# working to no avail. I have been trying to use these two resources: Stack Question Wolfram API demos The answer in the post was semi helpful but I can't get anything to compile. I'm new to C#…
Nick
  • 9,285
  • 33
  • 104
  • 147
2
votes
0 answers

How can one obtain more accurate numerical approximations to an integral involving the floor function in Wolfram Alpha?

After reading sections of the following book by Furdui and a page on the AoPS forum, I got interested in the integral                                                                   Let's denote the value of this integral by A. Then we have that…
2
votes
1 answer

Wolfram Alpha and MATLAB plot transfer function differently

I am trying to get the filter coefficients for a digital IIR filter of a simple 180° phase shift allpass filter with the transfer function: (1+s)/(1-s) This is what Wolfram gives me: Bode Plot in Wolfram and this is what I get from MATLAB: Bode Plot…
2
votes
2 answers

How do I get the URL of the image returned by the Wolfram API?

I'm using the Wolfram Simple API and it generates an image as a result. I want to show that image in an imageview but the problem is that I can't get the url of the image.I searched a lot but couldn't find anything.Can anybody help me and guide how…
Neha
  • 389
  • 4
  • 8
  • 24
2
votes
1 answer

Unexpected result when taking derivative of cotangent in MATLAB

Can anyone explain why taking the derivative of the cotangent (cot) function in MATLAB yields a result different from what wolframalpha does? This is my code in MATLAB (with results commented): syms v d z F = v + d*(cot(z)); R_v = diff(F,v) % =…
Jan Pisl
  • 1,043
  • 2
  • 14
  • 29
1 2
3
17 18