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
0
votes
0 answers

Modular Inverse higher than -1

Im trying to solve 2^(-5) mod 19. How to do this using EEA? I tried for like 1h and cant get the result.
0
votes
1 answer

Missing ; before statement in Google Script

It says I have a Missing ; before statement on the "var api =..." line. I'm not sure what else it is I need to do. If you need to see the rest of the script, please let me know. I will gladly submit everything else. function askWolframAlpha_(q,…
user2145645
0
votes
3 answers

Wolfram|Alpha API Python NameError: name 'pod' is not defined

I'm new to the Wolfram|Alpha API for python and I could not find much help on the internet, so I turned to stack overflow. I receive the "NameError: name 'pod' is not defined" on SOME queries on Wolfram|Alpha. Any help would be much appreciated.…
Anthony.H
  • 21
  • 5
0
votes
0 answers

Wolfram alpha php not working with spaces

I am working on a Raspberry Pi Mirror that will be controlled via speech. If a set command is not found, it will search Wolfram Alpha for an answer. The script is written in php with addaptions from other questions here, but the problem is, it…
Chris
  • 358
  • 1
  • 14
0
votes
1 answer

wolfram alpha: how to draw two lines, knowing the points

I'm trying to do something that looks quite simple to me, I have two set of points and I want to display the two lines passing through each of the set. for example if I have P1=(1,1) P2=(2,2) and P3=(-1,1), P4=(-2,2), I want wolfram to draw the…
jack_the_beast
  • 1,838
  • 4
  • 34
  • 67
0
votes
2 answers

Python Wolfram Alpha API: StopIteration

How can I avoid the stopiteration error? I am unaware of any functions or loops that the code may be iterating through. import wolframalpha client = wolframalpha.Client('My Key is Goes Here') res = client.query('pi') print next(res.results).text
K. W. Cooper
  • 313
  • 3
  • 12
0
votes
1 answer

get LookupError: unknown encoding: ascii

I can almost get wolframalpha to run, however I am stuck on this error: i am working on this since 2 days and now everything is working but this error coming texts = texts.encode('ascii’, ‘ignore') LookupError: unknown encoding: ascii’,…
Aaditya Ura
  • 12,007
  • 7
  • 50
  • 88
0
votes
1 answer

wolframalpha api syntax error

i am working on 'wolframalpha' api and i am keep getting this error, i tried to search but not getting any working post on this error if you know please help me to fix this error File "jal.py", line 9 app_id=’PR5756-H3EP749GGH' …
Aaditya Ura
  • 12,007
  • 7
  • 50
  • 88
0
votes
1 answer

Phantom JS :first-child returning correct results half the time?

I'm getting results from PhantomJS that are correct only half the time. I'm trying to save the resulting planes overhead chart image on the page http://www5b.wolframalpha.com/input/?i=planes+overhead+90210 The image I should be getting…
0
votes
1 answer

gnu scientific library (GSL) cubic polynomial discrepancy in results

The GSL polynomial solver gives me an incorrect result. I have attempted to solve the following polynomial using GSL cubic polynomial solver: x^3-1.96848e20 x^2+9.07605e28 x+9.07605e28 = 0 On Wolframalpha the results…
0
votes
3 answers

How to identify the dependent libraries I need

I am building a little something in Java that uses Wolfram|Alpha to come up with integrals. I downloaded the Wolfram API and it comes with a sample program that you can use to figure stuff out. Here's that at GitHub. There's a portion in the…
n8.
  • 1,732
  • 3
  • 16
  • 38
0
votes
1 answer

Checking equality of two expressions in WolframCloud

I want to check if two expressions are equal to each other. For example 3a+5b === 5b+3a should return 'true'. I'm trying to use a function: CloudDeploy[ APIFunction[ { "x" ->Restricted["SemanticExpression", All,…
0
votes
0 answers

Matlab: How to solve a system of equations with several variables appearing multiple times

I have an equation looking like this: w1 = (1/EI)*(heaviside(x - a1).*(((x - a1).^3)*F1(1))/6 + (C(1, 1)*x.^3)/6 + (C(2, 1)*x.^2)/2 + C(3, 1)*x + C(4, 1)) + (1/GAs).*(- heaviside(x - a1).*(x - a1)*F1(1) - C(1, 1).*x) - C(1, 1)/c_wa; I use seven…
AMK
  • 1
  • 2
0
votes
2 answers

Display graph of x versus number of prime factors of x

I am trying to get wolfram alpha website to display a graph where you have x on one axis and the number of not necessarily distinct prime factors on the other axis. I tried this query: plot f(x) = number of factor x Did not work. How can I do…
0
votes
1 answer

Why don't WolframAlpha's and Sage's answers match?

Consider this input to WolframAlpha, solve [ 0 = x^4 - 6*x^2 - 8*x*cos( (2*pi )/5 ) - 2*cos( (4*pi)/5) - 1 ] The solutions it gives are, {x == (1 - Sqrt[5])/2 || x == (3 + Sqrt[5])/2 || x == (-2 - Sqrt[2 (5 - Sqrt[5])])/2 || x == (-2 + Sqrt[2 (5 -…
Student
  • 105
  • 3