Questions tagged [scripting]

For questions about Wolfram Language Scripts (formerly known as Mathematica Script), or running the kernel without direct user interaction.

365 questions
Filter by
Sorted by
Tagged with
58 views

I want to represent the function based on specific variables in Mathematica

I have a function call S11 and I want the formula simplified with variables: Q, k, wn. But I new with Mathematica, don't know how to do it. And I can't find the function doing this. Please help me ...
108 views

Detecting and converting a number from a video (digital panel) into an actual number

Let's say I have video (mp4) of length 02:17:38 (hh:mm:ss), this video is a record of a temperature panel, as shown in the following image. How can I use mathematica to extract the temperature, given ...
40 views

• 133
94 views

Changing line breaks in WolframScript

Is there any command parameter for WolframScript that changes after how many characteres a continuation line is inserted? For example, using // MatrixForm output ...
• 1,143
1 vote
112 views

Shadow contour and parametric plot with mathematica

I am trying to find black hole shadow contour with respect to temperature. with metricf[r_] := -((2*M*r^2)/(g^3 + r^3)) + (8/3)*Pi*P*r^2 + 1. So here is my code, <...
173 views

Sort Column as a Row

I have a = {1, 2, 3, 10}; b= {2, 3, 4, 8}; t= Do[If[a[[i]]+b[[i]]>3,Print[a[[i]]],"No"],{i,1,4}]; 2 3 10 I need to get the result; t={2,3,10}
126 views

Is the WolframScript error message "The product exited because of a license error" accurate? [closed]

I find that sometimes when I use wolframscript to run a .wls file (as part of a workflow involving hundreds of such files), its ...
52 views

HeatMap visualization (ListDensityPlot)

I have two sets of values, e1 = {0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75,0.8} and ...
167 views

58 views

Can Mathematica automatically submit a code for evaluation every 10 seconds?

I would like to automatize Mathematica to run the code: [Geolocation] every ten seconds. Is that possible? I have searched online, but could not find any ...
• 605
1 vote
235 views

Can we solve the following integral by MATHEMATICA?

I am trying to solve the integral using the following Mathematica code. f1 = (t[m + 1] - t)^(\[Alpha] - 1)*(t - t[m - 1])*(t - t[m - 2]); ...
119 views

Removing lists containing some rules

Consider a big list of lists of rules, namely ...
• 592
87 views

Graphing the equation only after the right answer is picked

I need the equation in the question to be graphed only after the right answer is picked I'm using this form to write questions : ...
• 339
1 vote
56 views

I want to add questions with grades, I'm using this form to write questions : ...
• 339
57 views

Getting 3 points although the code describes 1 point in the plane

I'm trying to plot the closest point in the plane to the point P (the one that can be dragged) but in the graph appears 3 points. in the graph I'm plotting a plane and a point P, I want to add another ...
• 339