1236: 计算匀加速问题

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

在坐标系上有一个点P,点P从(x0,y0)出发,x初始速度为Vx0,y初始速度为Vy0,Vx0每秒ax,Vy0每秒加ay,求t秒后点P的坐标

Input

2行 第一行为x0,y0 第二行为vx0,vy0,ax,ay,t

Output

一行,t秒后的P点坐标(小数保留2位)

Sample Input Copy

5 6
3 4 0.8 2 6

Sample Output Copy

37.40 66.00

HINT

S=v0t+1/2at² From:float-official,浮点工作室q群:672556549,本人q:2023176055