21,431 reputation
12973
bio website
location
age
visits member for 2 years, 9 months
seen 43 mins ago

Nov
29
answered Mathematica to swf / fla
Nov
29
revised Compute ratios of elements in two lists
shorten code
Nov
29
comment Mathematica to swf / fla
No. You have to use CDF for interactive. (you can export to swf ofcourse, but only as a movie, not interactive).
Nov
29
revised Compute ratios of elements in two lists
added 472 characters in body
Nov
29
accepted How to get list of duplicates when using DeleteDuplicates?
Nov
29
revised How to get list of duplicates when using DeleteDuplicates?
removed the "Wolfram Language" tag name
Nov
29
comment How to get list of duplicates when using DeleteDuplicates?
@IstvánZachar What's with the wolfram-language tag? I was just trying to do my part to make the new name popular :) But will remove this tag now, no problem.
Nov
29
comment Raspberry Pi GPIO operations with Mathematica
updated docs here reference.wolfram.com/language/guide/ConnectingToDevices.html For ConnectingToDevices There is a whole page on reference.wolfram.com/language/guide/RaspberryPi.html RaspberryPi (I never heared of RaspberryPi before the last week, but it must be important)
Nov
29
comment How to represent very long integers with at-most-8-digit(base-10) short integers with * and +
short integers (not more than 6 decimal digits). Can you clarify this with an example? How can an integer have decimal digits? something with decimal point is not an integer, right? or are you using different notations?
Nov
29
comment Compute ratios of elements in two lists
But Kuba you can't do the division "a/b" in first place if there was a zero in list "b" ? A check is needed before
Nov
29
comment Compute ratios of elements in two lists
But Bill you can't do the division "a/b" in first place if there was a zero in list "b" ? A check is needed before.
Nov
29
revised Compute ratios of elements in two lists
added 388 characters in body
Nov
29
answered Compute ratios of elements in two lists
Nov
28
comment Problem using WhenEvent to constrain solution
@Julian I can't tell now why it failes for over 1 second. But looking at your matlab code, in there, you are not using ode45, but using simple Euler steps. So your Matlab solution itself might not be accurate. If all else fails, you can code it in Mathematica the same way as you did it in Matlab, i.e manual integration. What happens is that the ps-p1[t] becomes negative at one point, and sqrt returns complex then. But you really need to first write down a mathematical model of your equations, for your own benefit.
Nov
28
revised Problem using WhenEvent to constrain solution
fixed cut/paste error in code
Nov
28
comment Problem using WhenEvent to constrain solution
WL result It looked like the Matlab image to me. Can you post the text of the full Matlab code which you say works so one can compare easier? Hard to read code from an image.
Nov
28
revised Problem using WhenEvent to constrain solution
added doc links
Nov
28
answered Problem using WhenEvent to constrain solution
Nov
28
comment Integrating a BesselJ integrand to obtain the same result as Maple 16
@AlexeiBoulbitch thanks :) @ learner123, actually I was just lucky I found it. I was hoping if I can find different form, that will send Integrate into different code path to allow it to do it. So I looked at all the different possible transformations to other special functions from BesselJ, tried few and none worked, and just before I gave up, HypergeometricPFQ worked. I used Maple's nice convert commands to try different forms, then copied each form to Mathematica and tried them to see if it will work or not. That is how I found it.
Nov
28
comment How to get list of duplicates when using DeleteDuplicates?
Nice. Now would it not be good if Mathematica DeleteDuplicate returned both of these lists as well? (if user wanted)