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
16
votes
4 answers

How do I get the crosshair behavior of Wolfram|Alpha 2D graphics in Mathematica?

When the mouse cursor is over a 2D plot in Wolfram|Alpha, a pair of grey lines appear that help you read the coordinates off the x and y axes. For example, I have the mouse over one of the turning points in the following plot of the Airy…
Simon
  • 14,631
  • 4
  • 41
  • 101
11
votes
2 answers

how to specify domain of a function in wolfram alpha

Is there a way to specify the domain for a function in wolfram alpha? I have a function which I want to plot. I want to restrict the function f(x,y) = xy(3-x-y) to x>=0, y>=3 and y <=3-x
hooch
  • 1,135
  • 1
  • 16
  • 31
8
votes
1 answer

How to make WolframAlpha Request on static Github Pages?

I am trying to query wolfram to do some math for my site and then display the result. I am having trouble with CORS. My Code: var xmlHttp = new XMLHttpRequest(); xmlHttp.onreadystatechange = function() { if (xmlHttp.readyState == 4 &&…
Seth Kitchen
  • 1,526
  • 19
  • 53
8
votes
4 answers

Python modulo result differs from wolfram alpha?

When I run my python 3 program: exp = 211 p = 199 q = 337 d = (exp ** (-1)) % ((p - 1)*(q - 1)) results in 211^(-1). But when I run the calculation in wolfram alpha I get the result I was expecting. I did some test outputs and the variables exp,…
mrcdnk
  • 95
  • 1
  • 5
8
votes
3 answers

How should the interquartile range be calculated in Python?

I have a list of numbers [1, 2, 3, 4, 5, 6, 7] and I want to have a function to return the interquartile range of this list of numbers. The interquartile range is the difference between the upper and lower quartiles. I have attempted to calculate…
d3pd
  • 7,935
  • 24
  • 76
  • 127
7
votes
3 answers

Matlab: Solving a logarithmic equation

I have the following equation that I want to solve with respect to a: x = (a-b-c+d)/log((a-b)/(c-d)) where x, b, c, and d are known. I used Wolfram Alpha to solve the equation, and the result is: a = b-x*W(-((c-d)*exp(d/x-c/x))/x) where W is the…
ROLF
  • 284
  • 2
  • 14
6
votes
2 answers

R interface to wolfram alpha

The wolfram alpha web interface suffers (like Mr. Wolfram) from massive hubris. There is some very useful data behind that interface; however, and I'd like to access it programmatically. There appears to be a python library to do this. Is anyone…
Zach
  • 29,791
  • 35
  • 142
  • 201
6
votes
3 answers

Plot a polynomial function like on the wolframalpha-website so that it is easy to understand

Plotting a function in the wolfram-alpha-website looks like this: http://www.wolframalpha.com/link Plotting the same function in R looks like this: plot( function(x) x^2 - 3*x - 10 ) The default plot from Wolfram is much easier to understand. I…
Rasmus Larsen
  • 5,721
  • 8
  • 47
  • 79
6
votes
1 answer

Wolfram API javascript cross origin sharing issue

How do I get wolfram's api requests to work? I just get cross-origin errors and a blank response: "XMLHttpRequest cannot load http://api.wolframalpha.com/v2/query?input=No&appid=xxx. Origin null(or another site) is not allowed by…
6
votes
2 answers

How do you input piecewise functions into wolfram alpha?

I've tried several approaches, such as defining a function f(t) at certain values, and then using f(t) in my equation, but nothing has worked for me thus far. I love using wolfram alpha, it is an invaluable resource for helping me to better…
Nate G
  • 63
  • 1
  • 1
  • 4
5
votes
0 answers

Parse wolframalpha to latex

I'm using wolframalpha api to display the step-by-step solutions. The api returns each step in a plaintext form with the mathematical expression is not in Latex; therefore, it's really hard for me to render the view. Anyone know how to parse the…
ho__oh
  • 113
  • 9
5
votes
3 answers

Complex wolframalpha ajax query

I want to write formulas in Mathematica format in my blog, inside tag's formula. What js should I use (and what libary), to replace those tag's, with http://www.wolframalpha.com/ search result image, when Dom gets loaded? For…
Margus
  • 19,694
  • 14
  • 55
  • 103
5
votes
1 answer

Conditional Graphing Plot?

I am trying to graph two functions, but i want to graph one function for a condition but graph using another function if another condition is met. A simple example would be: if x > 0 then sin(x) else cos(x) It would then graph cos and sin depending…
razr32
  • 339
  • 4
  • 16
5
votes
2 answers

Why is Matlab Mod different from Wolfram Alpha

688^79 mod 3337 = 1570. When I tried this at wolfram alpha I got: but When I entered the same thing in Matlab, I get 364 as the answer. I got to be doing something wrong. Any light on this will be appreciated.
Juan Zamora
  • 386
  • 4
  • 11
5
votes
3 answers

How to make a small engine like Wolfram|Alpha?

Lets say I have three models/tables: operating_systems, words, and programming_languages: # operating_systems name:string created_by:string family:string Windows Microsoft MS-DOS Mac OS X Apple UNIX Linux Linus…
user142019
1
2 3
17 18