The tag has no usage guidance.

learn more… | top users | synonyms

39
votes
6answers
1k views

Items known by CurrentValue

CurrentValue can be used to poll the state of numerous system values such as the mouse position. Its help page doesn't list all possible items, though. An item like ...
14
votes
2answers
385 views

How to programmatically ask if Mathematica is running as an Administrator

To avoid execution problems in a program I need to know if Mathematica has been "Run as administrator". What would be the cleanest way to programmatically getting this information?
14
votes
1answer
371 views

Interpretation of the result of ?@

This might be a very trivial question but as a beginner, I don't know the answer. I was exploring ? and after running a cell containing ...
11
votes
1answer
2k views

Where can I permanently modify $Path?

I've quite forgotten: what file does one modify in order to add directories to $Path globally? Specifically, I want to include ...
11
votes
0answers
72 views

Can one effectively edit a Front End Resource that is already loaded?

A number of special definitions are loaded from .tr files on Front End initialization and are accessible via FrontEndResource. ...
10
votes
4answers
220 views

How to change the variables Qi's to Ri's in one or two steps

I was wondering if there is a command in Mathematica to change all the following Qi's to Ri's? For example, change Q1 to R1, Q2 to R2, etc. ...
10
votes
1answer
222 views

Why do DateList, DateString, and AstronomicalData ignore $TimeZone?

My reading of the documentation for DateList and DateString lead me to believe that both functions use ...
9
votes
2answers
319 views

How to obtain the computer's hard drive serial number, BIOS ID, CPU number, MAC and so on use Mathematica?

I want to packed my program use RSA algorithm. Of course, $MachineID can be used but I want to make it safer. Can Mathematica obtain the computer's hard drive ...
7
votes
2answers
167 views

How to set the timeout value for *Data functions

I haven't measured this precisely but it seems the default timeout value for retrieving EntityValues with *Data functions is in ...
5
votes
5answers
247 views

Is there an analogue of the Variables command for general expressions?

The command Variables[poly] gives me a list of all variables that appear in the expression poly, which involved sums, ...
5
votes
2answers
225 views

Syntax highlighting conflict

I'm trying to syntax highlight this expression: x=$\sqrt{\pi }$//N and from various sources I've learned that x (the assigned symbol) belongs to context Global while the Pi and N belongs to System. So ...
5
votes
1answer
257 views

Setting $RecursionLimit crashes Mathematica 10

I have encountered what I shall presume is a bug: setting $RecursionLimit repeatably crashes the Mathematica 10 kernel: ...
5
votes
2answers
177 views

Is it safe to change the value of $TimeZone?

I'd like to configure some of my notebooks to assume all calculations using dates, times and locations (notably AstronomicalData , but others too) take place at the ...
4
votes
2answers
146 views

Equivalent of __FILE__?

Many languages define a special identifier whose value is the path to the source file currently being processed. (For example, in C, this is done through the ...
3
votes
3answers
174 views

Accessing temporary value of a Nest evaluation

The function Nest[] must store the temporary values in the memory somewhere (those values that would form the entries of the list which is returned by the ...
3
votes
1answer
88 views

Mathematica not seeing my environment/system variables

I'm trying to access my environment variables in Mathematica, but I get a Failed result every time. For example: $ echo $USER jlconlin but in Mathematica I do: ...
3
votes
1answer
316 views

Solving a large system of nonlinear equations

I have a system of 80 nonlinear equations with 64 variables to solve in Mathematica but it takes a lot of time (about two hours) and then it return "no more memory available" knowing that I have 8GB ...
3
votes
2answers
100 views

Creating a variable from Reduce[] output in Mathematica

Say I have the following input: Reduce[{t*c==50, t==5}] the output: t == 5. && c == 10. Is there a way to create ...
3
votes
1answer
246 views

How to restrict global variables to within a given notebook? [duplicate]

Possible Duplicate: Is there a way to separate variables between multiple notebooks? I assigned a global variable like a=10; It works in all my notebooks, ...
3
votes
0answers
82 views

Shared variables between notebooks using the same kernel not working in mathematica 10.1?

I am trying to access the variables over two Mathematica documents, this works fine when I use Mathematica 9 but when I attempt to do the same on 10.1 it doesn't work. I have set both notebooks to ...
3
votes
0answers
59 views

Where can I find detailed information about the SystemOptions?

I'm looking to optimize my Mathematica script, and I'm willing to go spelunking with low-level system options. The problem is that I've been looking in the Mathematica documentation, but there doesn'...
2
votes
3answers
957 views

Solve the system of equalities and inequalities

I have a system of expressions, in which each expression is an equality or inequality expression of the following form: Var = Var1 + Var2 Var $\odot$ number Var $\odot$ Var1 $\odot$ = $\leq | \geq | ...
2
votes
1answer
433 views

Importing data from excel and assigning a variable to each of its columns

How should I assign variables to the data imported from excel containing 3 columns which are time, mean and standard deviation. I want to perform operations on the three variables to get new variables....
2
votes
1answer
61 views

Newbie Issues with Solving & Plotting a System of equations

I'm having some problems with my mathematica code, I think I'm overlooking something simple. I get valid solutions for u0 thru u4, but it doesnt generate any plot at all. Also, I'd really like to plot ...
1
vote
1answer
67 views

How to make the variables in $init.m$ not impact the autocompletion

The autocompletion is very convient in Mathematica,but it will make one annoying sometimes when you have a ton variables.I give a scene I encounter.I usually make ...
1
vote
1answer
175 views

strictly positive solution to $Ax=b$

How to find in mathematica one real strictly positive solution, if any, of $Ax=b$. A is rectangular matrix. Thanks
1
vote
1answer
111 views

Strange setting in FormatValues[MakeExpression]

My sytem is: 8.0 for Mac OS X x86 (64-bit) (October 5, 2011) When I start Mathematica and call FormatValues[MakeExpression] I get the following output: ...
1
vote
1answer
51 views

How to set UnitSystem permanently

I would like to set the system of units ($UnitSystem) permanently to "Metric". I know that I can do ...
1
vote
1answer
185 views

How do assign an interval of values to a variable in order to use them in a function?

From my code (below) I have K1 and K2 set to zero in order to test this numerical method. However, K1 is on an interval from 0 to 32, and K2 is on an interval from 0 to 8. I would like to know if ...
0
votes
1answer
209 views

Solving a differential equation for a variable in a function

This may sound like a very trivial question, but I need to solve a differential equation as follows: ...
0
votes
1answer
1k views

How to understand and use DSolve solution

This equation is simple to DSolve in Mathematica, but I don't know how to use and understand solution. ...
0
votes
1answer
105 views

Developing Mathematica applications with IntelliJ IDEA [duplicate]

I create Mathematica application. For example testPrj. Now I want load this application for test. Here is a problem: how can I setup environment for loading my application with simple ...
0
votes
0answers
68 views

Block, With, Module, can anyone help me understand the distinction? [duplicate]

I've been working heavily with Block[] for months in my research so I've read the documentation for the seemingly similar commands With[], Block[], and Module[]. Personally, I've had by far the ...
-7
votes
2answers
158 views

Module function corrupts string? [closed]

I have the module who should replace some elements of a matrix with checkboxes ...