User Portlet User Portlet

Discussions
Sure was quick, they sorted it out in under a minute. But it was weekend when I posted, had to refresh my lua skills a bit :)
Cool idea! You can speed up ruleFunc quite a bit by precomputing all random values: [mcode] (* seedStore = RandomInteger[{0, 1000}, 1000], *) randStore = RandomReal[1, 1000], (* SeedRandom[seedStore[[step + 1]]]; rand = RandomReal[]; *) rand =...
Looks like you've accidentaly assigned a value to Derivative: [mcode](* How the y''[x] expression looks without nice syntax: *) y''[x]//FullForm (* Derivative[2][y][x] *) DSolve[{y''[x] == y[x]}, y[x], x] (* {{y[x] -> E^x C[1] + E^-x C[2]}} *) ...
Having just acquired a bunch of wind data from NOAA I thought I'd give this a go First of you need some data on wind turbine power output, the folks over at WindPower program has some nice...
Since there is such a huge amount of sectors in total you can reduce that by a fair bit and still get a decent result: [mcode]sectorsPerRing[r_] := Floor[5 r]; m2 = MapIndexed[ Mean /@ Partition[#, Ceiling[dim[[2]]/sectorsPerRing@First@#2], ...
Iliang: What is your $MaxNumber? 182616009! (* Overflow[] *) $MaxNumber (* 1.233433712981650*10^323228458 *)
With the full version you can use Import so you wont even need to copy paste:data = Import["data.txt", "Table"];
How do you imagine a purely symbolic plot to look? Not being able to grasp the concept of a purely symbolic plot, here is a Manipulate that explicitly substitute values: [mcode]x[a_, wo_, w_, t_] := a (wo Sin[w t] - w Sin[wo t]) Manipulate[ Plot[ ...
I guess the simplest would be to create a file with the Mathematica code and have math run it: [mcode]#!/usr/bin/env python from subprocess import call # Create temporary file and write your Mathematica code to it do_stuff() call(['math',...
Accumulate[Most@Acc + Rest@Acc]/2