Reputation
59,020
Next tag badge:
144/100 score
18/20 answers
Badges
2 90 230
Newest
 Nice Answer
Impact
~794k people reached

Jul
27
comment Defining a derivative on a custom function
You're using Slot the wrong way. Also, I don't see why you expect the output to be in terms of f if you define the right-hand side to be CKB in the first line.
Jul
27
comment Help with PatternSequence
@ciao I added an alternative solution that is also "interesting".
Jul
27
comment Help with PatternSequence
You must have posted this after I left - it's similar to what I did, but nonetheless an independent solution (+1).
Jul
27
comment Help with PatternSequence
@ciao Well, the question was about PatternSequence...
Jul
27
comment Preventing Power from evaluating principal value
To answer, this it would be necessary to know more about the steps of the calculation, i.e., how the exponentials are introduced in the first place.
Jul
26
comment How do you stack 2D graphics into a 3D graphic?
See also the documentation: Display stacked 2D plots
Jul
25
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
The $n=0$ term is the only one consistent with a constant $x$ derivative at $x=0,L$, but for that term everything is constant and there can be no nonzero derivative at any boundary. I could illustrate the general method, but only for an example that is actually solvable. You would have to edit the question to change the boundary conditions. DSolve is only rarely able to solve PDEs with boundary-conditions - the numerical solvers are able to do that better.
Jul
25
comment Missing tick in plot
@xslittlegrass Thanks for doing that. It's very weird.
Jul
25
comment Missing tick in plot
I see this too in version 10.1 - has it been reported to Wolfram?
Jul
24
comment Axeslabel doesn't work when using Frame and FrameTicks,
Indeed, you're probably right.
Jul
24
comment Axeslabel doesn't work when using Frame and FrameTicks,
Maybe he wanted the labels the other way around, but the general idea works anyway (+1).
Jul
24
comment Is it possible to export equations from Mathematica to Corel with full Latex quality
@Szabolcs Reported the Import bug to Wolfram [CASE:3391590].
Jul
24
comment Is it possible to export equations from Mathematica to Corel with full Latex quality
@Szabolcs Great, thanks, I'll add that to my linked answer! (I checked that the old syntax also still works in 9.16, though). I'll also have to file another bug report for the Import issue, I guess. Although I believe I reported stuff like that a couple of times already. New issues keep popping up...
Jul
24
comment Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator
Yes, I think I invented that approach many years ago see e.g. here: Use a custom export function. Here is another relevant link. Also, it seems the ImportString approach is broken because Import now can't import PDF properly anymore. So maybe ghostscript as in one of the mentioned links would be a workaround. But it doesn't really answer your question, of course.
Jul
24
comment Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator
AArrgh - I just tested the linked approach in version 10.1 and see it's now broken, too. I had been using version 8 until now, and it seems I that was lucky for me. For regular text, it still seems to work, but my example with 2D math is no longer exported correctly. I'll have to look into that, I guess. Why??
Jul
24
comment Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator
My previous comment won't make sense to most people without a reference: here is what it does: it creates outlines for text glyphs. Then you can export the result, and all text is rendered as vector curves in Illustrator. The TextMode option in the linked answer is no longer needed to make it work (but doesn't hurt, either).
Jul
24
comment Custom fonts show as boxes when opening Mathematica-made PDFs with Illustrator
I long ago stopped worrying about font problems and instead always use this: First@ImportString[ExportString[Graphics[Text[Style["text",FontFamily->"Times"]‌​]],"PDF"],"PDF"]. It's not completely fool-proof with exotic Unicode characters, but usually gives me what I want.
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
Actually, I'm pretty sure that the boundary conditions are simply inconsistent so that there is no solution at all unless b = 0. The reason is that the functions $\cos(n\pi y/H)$ cannot be superimposed to form a constant on the interval $[0,H]$, only on $[0,H/2]$.
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
@MichaelSeifert Sorry, looks like m_goldberg reverted your change by accident. I think I'll edit the question myself to fix it.
Jul
23
comment How can I solve the 2D Laplace equation with Neumann boundary conditions?
@MichaelSeifert It looks like your edit of the code was the opposite of what you wanted. Anyway, to answer the question we need to know if the goal is to obtain the (exact but infinite) expansion or a numerical result.