qqp question1: How can I make a textarea resize it’s width and height automatically to fit it’s contents for it to be used as a textbox feature in a paint program question2: A point of mass is connected to one end of the inextensible string of length l and the other end of the string fixed to the peg. The string is free to rotate in a vertical plane. How do you find the minimum velocity given to the mass in the horizontal direction so that it hits the peg in its subsequent motion?