[DOC] add example to computed properties set in API
Merge pull request #5538 from mikepmunroe/computed-set-api-example

[DOC] add example to computed properties set() in API docs