I you are a new user, you should probably make an effort to learn the language. The example about should be very straightforward to translate to Julia. See, in particular, algebra and arrays.
(is this homework?)