Questions tagged [wolfram-language]

Wolfram Language is a knowledge based, multi-paradigm programming language. In a first approximation, the Wolfram Language = Mathematica + Wolfram|Alpha + Cloud + more. It's compatible with Mathematica, but it's a significant evolution, including knowledge, deployment and many new ideas.

This tag should be used on questions that pertain to the Wolfram Language created by Wolfram Research.

The Language's homepage can be found here: http://www.wolfram.com/language/

Programs can be written in the language via the wolfram programming cloud: https://programming.wolframcloud.com/app/

100 questions
0
votes
1 answer

how to define different expression for each region(domain) in a function in wolfram alpha

I want to write the following function to wolframalpha which means this function is defined by a different expression for x<0, 0<=x<=1 and x>1 by the expression above. i found this answer which Brought me closer to the answer but not yet. f(x,y) =…
Eliav Louski
  • 3,593
  • 2
  • 28
  • 52
0
votes
0 answers

Using LinearModelFit or Predict to attempt a multiple linear regression model in Mathematica

I'm using Mathematica for a project, in which I would like to fit a multiple linear regression model to my data (which is made up of both numerical and categorical variables). I have been trying to use the function LinearModelFit to do this, but I…
0
votes
1 answer

Unable to complete fourier analysis in wolfram-mathmetica?

Firstly: I am a complete noob so apologies for the terrible formatting. I'm following this tutorial to get the fourier series of an image. I keep running into errors with this section of code midway through the tutorial: (* Fourier coefficients of a…
sosplz
  • 1
0
votes
1 answer

How to replicate this Wolfram Solve example in sympy

I want to use sympy to reproduce a result obtained with the Wolfram Language. Using Wolframcloud, this expression Solve[m^2+m*n==500 && m>n,{m,n},PositiveIntegers] Gives the result I am looking for: {{m->20,n->5}} How can I reproduce this using…
Nigel Davies
  • 1,640
  • 1
  • 13
  • 26
0
votes
1 answer

Correlated keys in Association object

I do need to setup an association in Mathematica, in which the value of a key is a function of the value of another key (of the same association-object). Currently I am putting a dummy value at when the Association is created and then, with a…
LaoZe
  • 33
  • 4
0
votes
0 answers

Blank Plot showing when plotting a function

When I input the function (A1[.2])Exp(t*plus[.2])+(A2[.2])Exp(t*minus[.2]), where A1[x], plus[x], A2[x], and minus[x] are predefined functions, I get an output of a plot with no function on it. (Ideally, I'd be able to generalize this function so…
duberii
  • 1
  • 1
0
votes
1 answer

Wolfram: How to create a list of pie charts for the sequence of digits in 10, 20 , 30

I want to be able to create multiple piecharts in a list. Each pie chart is an representation of the sequence of each argument. Example: arguments -> 10, 20 arguments gets compiled into a sequence of numbers: 10 -> {1,2,3,4,5,6,7,8,9,10} and 20…
0
votes
1 answer

How to use Resolve over custom domain

A = {1,2,3,4} ForAll[x, Element[A,x], x+1>0 ] Resolve[%] The above code gives me the following error: Unable to resolve the domain or region membership condition {1,2,3,4}[Element]x.
0
votes
0 answers

How to plot the Graph from two rows Data in Mathematica

I'm looking to plot Data between two columns, First row has a funtion of x^2 and second has value of x = {1,2,3,4,5} So I have now two rows with Data one {1,3,9,16,25} and another {1,2,3,4,5} Is below the correct way to show the above data on Graph…
0
votes
1 answer

Google Maps URL Tile Server API and Documentation?

I would like to use Google Maps tiles for maps inside of my Wolfram Language projects. There are currently 18 Google Maps APIs and I think I need the Static Maps API. However, this API appears to return whole maps instead of individual…
0
votes
1 answer

Forcing a WolframCloud Function to Evaluate

I'm using sandbox.open.wolframcloud.com. I define a function f[x] which should return the successor of x, for example f[1] should return 2. However, I get f[1] as output. I've read about Evaluate[] however it does not seem to help: In[5]:= f[x] :=…
Chris Merck
  • 454
  • 3
  • 12
0
votes
2 answers

Raspbian Stretch wolframscript not working

It appears that wolframscript no longer works on the newest version of raspbian. I have tried to run "wolframscript" on the command line but it says that it is not a command. When I attempt to run a .wls script it gives me the error: bash:…
Andy Cais
  • 7
  • 4
0
votes
1 answer

Defining the difference of compositions in the Wolfram Language

I've been trying to define a function compdiff on the Wolfram Language that takes two mathematical expressions f and g and a variable x as input and outputs the difference of their compositions f[g[x]]-g[f[x]] (a sort of commutator if you are into…
Nada F.
  • 3
  • 4
0
votes
1 answer

Mathematic Plot With Variables That Interact

I am trying to calculate two volumes which are related to each other. In this case as one volume increases it means more of the other volume is possible. My code is as follows: Plot[{(6.78966*10^22)(b)},{((9.0226522*10^22)(x))}, {(b, 0,…
Joseph P Nardone
  • 150
  • 2
  • 12
0
votes
1 answer

Partial Differentiation of Interpolation Function

New to mma. I have imported a 3-dimensional array from a CSV file and used the Interpolation function to make the data continuous. I am now interested in taking the partial derivative of the interpolation function with respect to one of the two…
aiwass
  • 31
  • 2