0
votes
0answers
9 views

Errors in evalauting an expression

I have the following: Constants: b3b = 2; G = (1/eps^2); a1 = 3; a3 = 4; xc = 0.3; Functions: ...
1
vote
0answers
12 views

Revert Notebook to earlier version using Notebook History

Is it possible to revert a notebook to its earlier version via the Mathematica's Notebook History panel? It would be nice if I could select a point in time in the bottom graph and revert back to that ...
2
votes
0answers
21 views

Debugging with Breakpoints

re: Version 9. I typically write concise code and make a real effort to refactor. As such debugging has tended to take care of itself. Recently, I've needed to assemble applications of more ...
1
vote
1answer
41 views

Writing to file as it goes

I was wondering if there was a way to write data to a file, during a Do loop, without having to wait till the end. I have written a code which scans over many parameters which get plugged into many ...
2
votes
1answer
47 views

How can I make a list plot with bars?

Can anyone help me please? I don't want a Histogram; I don't want a BarChart, not even a ListPlot with drop down lines. I want a list plot with drop down columns/bars: please see the link. It is ...
0
votes
0answers
34 views

Are local variables possible in Mathematica? [duplicate]

Does Mathematica support local variables? (local - in the sense of general programming) To be more precise, I would like to have a variable which exists only within a given block of code (possibly, ...
2
votes
1answer
38 views

How to prevent Grid from breaking the line upon export

I want to create a legend for my plots (a mixture of RegionPlots and ContourPlots). The legend should show the meanins of colors as boxes with text in them and the meaning of contours as framed number ...
6
votes
3answers
91 views

How can I break through Function's HoldAll attribute to force evaluation of a body element?

The question concerns creating a function. Let consider the following code With[{f = Function[t, Cos[t]]}, {First[#], f'[#]} & ] which returns ...
5
votes
2answers
68 views

How can I determine the hyperlink of a currently opened documentation page programmatically?

Every pages in the documentation has a hyperlink. Here are some examples: ...
0
votes
1answer
33 views

How to use a ConvexHull as RegionFunction? [duplicate]

I have a set of data supported over a region in 2D. I want to use RegionPlot and ContourPlot on interpolations of my data, but want to restrict the Plots to the region over which my data is supported. ...
1
vote
1answer
37 views

Create a new list under conditions from an existing one

I have an external file (data.out) which I read it with Mathematica using data = ReadList["data.out", Number, RecordLists -> True]; This file contains three ...
5
votes
1answer
85 views

Programming Mathematica in plaintext, i.e. no formatting, non-notebook

I'm new to Mathematica and I've just begun reading Paul Wellin's Programming in Mathematica. The book, like many other books and online tutorials, revolves around using the notebook, with all its ...
2
votes
0answers
17 views

How can I export a html source string as a html file? [duplicate]

A little question. Consider one html source string, Export["test.html", htmlsource] Then I get one html file with a whole image of the source. ...
0
votes
0answers
28 views

How many factors 6N have? [migrated]

Given a number '2N' having 28 factors another number '3N' having 30 factors then find out the number of factors of '6N'.
4
votes
2answers
74 views

Cannot find the maximum value of a function

Consider the following function: $a Sin(x)+b Cos(x)$ I tried to obtain the maximum value of this function using MaxValue[]: ...

15 30 50 per page
1 2 3 4 5 643