已知直線(xiàn)y=kx+3(k<0)分別交x軸、y軸于A(yíng)、B兩點(diǎn),線(xiàn)段OA上有一動(dòng)點(diǎn)P由原點(diǎn)O向點(diǎn)A運(yùn)動(dòng),速度為每秒1個(gè)單位長(zhǎng)度,過(guò)點(diǎn)P作x軸的垂線(xiàn)交直線(xiàn)AB于點(diǎn)C,設(shè)運(yùn)動(dòng)時(shí)間為t秒.
(1)當(dāng)k=-1時(shí),線(xiàn)段OA上另有一動(dòng)點(diǎn)Q由點(diǎn)A向點(diǎn)O運(yùn)動(dòng),它與點(diǎn)P以相同速度同時(shí)出發(fā),當(dāng)點(diǎn)P到達(dá)點(diǎn)A時(shí)兩點(diǎn)同時(shí)停止運(yùn)動(dòng)(如圖1).
①直接寫(xiě)出t=1秒時(shí)C、Q兩點(diǎn)的坐標(biāo);
②若以Q、C、A為頂點(diǎn)的三角形與△AOB相似,求t的值.
(2)當(dāng)
k=-時(shí),設(shè)以C為頂點(diǎn)的拋物線(xiàn)y=(x+m)
2+n與直線(xiàn)AB的另一交點(diǎn)為D(如圖2),
①求CD的長(zhǎng);
②設(shè)△COD的OC邊上的高為h,當(dāng)t為何值時(shí),h的值最大?