while doing optimization in MAPLE, i am getting the output in the form of a list, which is as follows. \begin{equation} t=[.366595121038205462, [pr = 14.2982930082790, ps = 22.5165237470778]] \end{equation} I just want to extract the value $pr \quad\&\quad ps $ from $t$, and store it in x and y respectively. Please help me.
till now i have used whattype() in order to check the type of t. And it comes out to be a list. Now i have to extract the floating values of ps and pr and put them in x and y respectively.