New answers tagged

2

Use Mapping multiple parameters of a function to specific values and supply it with the following version of parameters. parameters=Flatten[Table[{a, 1/bInverted}, {a, 1/2, 5, 1/2}, {bInverted, 2, 5}], 1] Update Let's redefine myfunction to be a function of a, b and x. myfunction[a_, b_, x_] := (b/a)*((a/x)^(b + 1)) Now when you generate parameters ...


4

Try this: MapThread[Equal, {initialXArr, xarr}] (* {Subscript[x, 0][0] == 15, Subscript[x, 1][0] == 16, Subscript[x, 2][0] == 17, Subscript[x, 3][0] == 18, Subscript[x, 4][0] == 19} *) Have fun!



Top 50 recent answers are included