Solved
Here are some variants on the answers already given plus an additional one that allows you to choose whichever elements you want from A.
Note that the functions were written in Mathcad Prime Express 7. Express does not have programming and so breaks a function down into a sequence of successive (functional) steps.



Mathcad Prime Express 7 worksheet attached.
Stuart
Welcome to the PTC Community
No account yet? Create an account
Please use your PTC eSupport account.
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.


