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 make a program in mathematica that gives us the radius of a drop from the theoretical profile of that drop?

How to make a program in Mathematica that is able to recognize this image and return the radius of the circular part of it?
0
votes
0 answers

Solving Nonlinear system of equations in Mathematica (wolfram)

I'm Trying to solve a System of equations in Mathmatica with the Function of NSolve The Code should represent a Mass Balance of A factory, in one of the Flows im trying to change the Conc. of the Solvent and it work up to a certian point The Code…
0
votes
1 answer

Making a histogram out of values from a table

I have defined a Mixed distribution made out of two Normal Distributions, like this MixDist[s_,n_]:=With[{Dist=MixtureDistribution[{.5,.5},{NormalDistribution[0,s],Normaldistribution[0.5s,s]}]},RandomVariate[Dist,n]] For example, MixDist[1,1000]…
0
votes
1 answer

WolframClient in Python: how to convert the output of wolframclient.evaluate into a sympy expression?

I'm using wolframclient in Python and at certain point of my computation I have an output like the following (Plus[-9, Times[2, Power[Global`y, 4]]], Plus[Times[3, Global`x], Times[-2, Power[Global`y, 3]]]) Now I need to convert this output into…
0
votes
0 answers

wolframalpha conditional solving

I try to put the following expression, but it cannot recognize the condition(assumptions). How can it be done? solve[(abs[y-x] +abs[z-x] + abs[y-z] ) z, y, x Assumptions -> x
0
votes
1 answer

How to use Wolfram Alpha to find a set of solutions that hold for any variables in the domain

Say that x and y are real numbers and y > 0. And say that I want to find for which values of A do (A + x + y > 0) and (A + x - y > 0) always hold, as long as x, y are in the domain. How would I specify that on Wolfram Alpha? (Note: obviously these…
0
votes
0 answers

How can I solve an equation with two changing variables in Mathematica?

I want to solve an equation for one value x and many values y. However, x should also change after a certain number of runs of y. I was thinking of a nested for-loop, as I am still relatively new to Mathematica. My idea was something like…
0
votes
1 answer

Show full calculation in Mathematica to copy into latex

I'm new to Mathematica I was hoping that this is a functionality built in. I am calculating the conditional entropy of a table and have the following 4 variables: a = 1/8*Log[(1/8)/(1/2)] + 1/16*Log[(1/16)/(1/2)] + 1/16*Log[(1/16)/(1/2)] +…
0
votes
0 answers

Give Matematica Solve function only references to equations instead of whole equations?

How do I supply the Matematica Solve function with only references to equations, instead of whole equations? I.e. let's say I have multiple equations, like: eq1 = {x + y == 0} eq2 = {x y - 2 == 0} However, when I try to put them in Solve,…
Dr__Soul
  • 101
  • 8
0
votes
1 answer

what does the PadRight function do in Wolfram Mathematica?

For this line of code I'm having trouble visualizing what the padright function does? results = Transpose[PadRight[{RMSL, MaxDevL, AreaofeachTorsoL, NormalxLp2, NormalyLp2, NormalzLp2, TorsoLp, RMSLn, MaxDevLn, AreaofeachTorsoLn,…
0
votes
1 answer

Problem with configuring WolframLanguageForJupyter

I'm trying to configure WolframLanguageForJupyter. This project can be found at: https://github.com/WolframResearch/WolframLanguageForJupyter I tried both the methods mentioned in that page, i.e., using a paclet and using the wls file in the git…
0
votes
1 answer

Connecting to Heroku Postgres Database from Outside of Heroku App with JDBC

I'm trying to connect to a free tier Heroku database from the Wolfram Language. The DatabaseLink package uses JDBC to make the connection. When I specify that SSL should be used for the connection, I get: JDBC: SSL error: PKIX path building failed:…
Daniel Bigham
  • 187
  • 3
  • 8
0
votes
0 answers

Why is mathematica producing the incorrect derivative for a very simple problem?

I've been attempting to check my work with Mathematica, and it's giving me the incorrect answer for a reasonably simple derivative. It also gave me the wrong solution for a different problem. I've included a screenshot of the work by hand and a…
0
votes
1 answer

How can I use variables with subscripts?

From Mathics, I tried: Subscript[a, 0] = 1 but it gives the error: Tag Subscript in Subscript[a, 0] is Protected.
antonio
  • 10,629
  • 13
  • 68
  • 136
0
votes
1 answer

Why I am I getting Null in my Mathematica function?

I have made a function with mathematica and Im getting what I want from it however I am also getting 'Null' on the end and im not sure why. Here is my code: x = "" ButterflyString[y_]:=For[i = 1, i < 8, i++, x = StringTake[y, {i}] <> x] x My…
user10593432