Question: How can I simplify the expression to get the final result?

>P := array(1 .. 51, 1 .. 3); >y := (-1)*0.6e-1*(arctan(10*s/1.3+(-10)*.3)/Pi+1/2)*cos(6*Pi*s/1.3); >for i from 1 to 51 do p[i, 2] = y(0.26e-1*i; od; / 1.227772386 1\ p[1, 2] = -0.06 |- ----------- + -| cos(0.1200000000 Pi) \ Pi 2/ / 1.203622493 1\ p[2, 2] = -0.06 |- ----------- + -| cos(0.2400000000 Pi) \ Pi 2/ / 1.176005207 1\ p[3, 2] = -0.06 |- ----------- + -| cos(0.3600000000 Pi) \ Pi 2/ / 1.144168834 1\ p[4, 2] = -0.06 |- ----------- + -| cos(0.4800000000 Pi) \ Pi 2/ / 1.107148718 1\ p[5, 2] = -0.06 |- ----------- + -| cos(0.6000000000 Pi) \ Pi 2/ / 1.063697822 1\ p[6, 2] = -0.06 |- ----------- + -| cos(0.7200000000 Pi) \ Pi 2/ how can I get the result like this: p[1, 1] = 0.025996 p[2, 1] = 0.051992 p[3, 1] = 0.077986 p[4, 1] = 0.10398 p[5, 1] = 0.12997 p[6, 1] = 0.15595 Need the help From anyone! Thank you ! liu
Please Wait...