How can I "change" the values in the list h={2,4,6} using Manipulate?
(Next line was edited after hte first Alexi´s comment) I WANT to choose real values in h[[1]], h[[3]] , h[[3]] between 0 and 8.
I was trying, typing at the final line
{h[[1]],1,8},{h[[2]],1,8},{h[[3]],1,8},{zmax, Range[8]}
instead
{zmax, Range[8]}
But I obtain this error: Manipulate::vsform: "Manipulate argument {h[[1]],1,8} does not have the correct form for a variable specification"
Manipulate[
h = {2, 4, 6};
Column[{
Row[{
TableForm[Table[h^z, {z, 1, zmax}],
TableHeadings -> {None, {"Number", "Square", "Cube"}}]
}
],
Row[{
PieChart[Table[i^2, {i, 1, zmax}], ChartLabels -> Range[zmax],
ImageSize -> 200],
PieChart[Table[i^3, {i, 1, zmax}], ChartLabels -> Range[zmax],
ImageSize -> 200],
PieChart[Range[zmax], ChartLabels -> Range[zmax],
ImageSize -> 200]
}
]
}]
, {zmax, Range[8]}]