49,704 reputation
4120285
bio website
location ND
age 30
visits member for 2 years, 3 months
seen 7 hours ago

contact details

Visit Mathematica.SE


11h
comment How can I make my MM code more compact and readable? Can I put functions in different notebooks?
Everything from the last section header up to the end of the document is part of the last section. Make a new section for your new cells.
12h
comment How can I make my MM code more compact and readable? Can I put functions in different notebooks?
Place the cursor not in a cell, but inbetween two cells. Then press Alt-4 which created a section header cell. Type the name of the section. Now everything below this section header will belong to the section (up to the next header) and can be collapsed by double clicking the corresponding cell bracket (vertical blue line on the right).
13h
comment How can I make my MM code more compact and readable? Can I put functions in different notebooks?
Use sections (Alt-4, Alt-5, etc.) in the notebook to structure it, then fold them so they're invisible. If you have lots of functions that you don't change much, use packages.
17h
comment Why isn't Mathematica plotting my differential equations?
That's because the solution contains non-numerical parameters. A simpler example: you can't plot a*x^2 in terms of x without giving a a valuer first.
19h
comment PDF files generated by Mathematica on Windows cannot be viewed on Ubuntu
This question appears to be off-topic because the problem was caused by one particular PDF reader and not Mathematica.
19h
answered expression contained across multiple cells
21h
comment ParallelTable, ParallelDo and ParallelMap all fail on simple evaluations, a BUG?
If you use SetSharedVariable, it'll mostly negate the benefits of parallelization as it forces constant callbacks to the main kernel. Reformulate your problem in terms of side-effect-less functions such as Table. See here: mathematica.stackexchange.com/a/1771/12 and here: mathematica.stackexchange.com/a/2727/12
21h
comment PDF files generated by Mathematica on Windows cannot be viewed on Ubuntu
I'm afraid there's hardly enough information in the post to solve this. In the very least, post a PDF, but really you should: provide a reproducible example to generate the PDF files; mention your version of Mathematica; mention your PDF viewer and if the result is the same with other viewers.
21h
revised I want to get a special curve in a picture
edited tags
1d
comment Same Mathematica 9.1 Student License on both Ubuntu and Windows 7
@Sjoerd I imagine that if the OP gets his license from his school then he can just get another activation code and install it on another machine/OS. But some personal student licenses probably allow installation only on a single machine. I didn't want to discuss it though because I'm not sure, and also because "licensing" is really just an agreement between the user and the company and might change if the OP contacts WRI and explain his situation. It's not a fixed objective thing like the correct syntax of Table that's guaranteed not to change until the next release.
1d
comment Same Mathematica 9.1 Student License on both Ubuntu and Windows 7
@SjoerdC.deVries Besides, support is so easy to contact: they even have live chat support for issues like this (not for technical issue). The OP would have gotten a quicker and reliable answer if he just calls them or if he uses the live chat support.
1d
comment Same Mathematica 9.1 Student License on both Ubuntu and Windows 7
@SjoerdC.deVries I doubt that the answer below is correct at all. There are many different situations and different (student) licenses and the OP didn't even explain clearly what kind of license he has. The majority of people won't have experience with various types of licenses, so they can't answer questions like this with an answer that's dependable and useful for others in the future. Also, licensing changes more quickly than the software itself. I think that the (likely wrong) answer below just proves that this type of question should be off topic.
1d
awarded  Necromancer
1d
comment Same Mathematica 9.1 Student License on both Ubuntu and Windows 7
Inquiries about licensing are off topic here, but Wolfram support will be happy to help you with such questions. Please understand that this is not an official Wolfram site. We are users like you and not in a position to answer such questions.
1d
answered MathLink c++ passing lists of real values simple example
1d
comment How to produce functions
@Shellp Sorry, it's still not clear. What would help is a concrete example.
1d
answered Solving a system of equations where two variables can only be one of several discrete values
1d
comment Solving a system of equations where two variables can only be one of several discrete values
The problem is that you have three equations, but for any particular choice of c1 and c2, you only have one variable to solve for: r2. Do you have any reason to believe that all three equations will be satisfied for some value of r2? The system looks overdetermined.
1d
comment Solving a system of equations where two variables can only be one of several discrete values
x == (1 || 2) doesn't make sense (within Mathematica) but (x == 1) || (x == 2) does. You can omit the parentheses from the latter. If you use only exact numbers (i.e. there's no decimal point in them), then Reduce should theoretically work, but it's taking a very long time on my machine.
1d
comment Machine precision infinity
I think that it is not possible. It's possible to get these special floating point values into Mathematica, but they'll cause all sorts of problems and it's not possible to do reliable operations on them. Things fail randomly. My opinion is that it's not worth the risk to push it. More info here: mathematica.stackexchange.com/questions/19026/…