I have a set of points:
data := {{10, 15}, {20, 45}, {30, 97}, {40, 162}, {50, 221}, {60, 249}, {70, 231}, {80, 166}, {90, 75}, {100, -5}}
What I want to do is leave the first position of each bracket as is, but multiply the second by a number, let's say 2, so I get
{{10, 30}, {20, 90}, {30, 194},...}
and so on.
How can I do that?
data.{{1,0},{0,2}}– user1066 Nov 06 '23 at 14:13