Hi everybody
This is an interesting question. As Atakan says, you must "write a plan in English". No other language is accepted. R and Python answers are considered wrong. On the other side, it is easy to translate from "computer" to "human". So if you did it in R, test it, and translate it to English.
In a second thought, we may use another universal language: Mathematics. It is a good idea to give names to the objects that you use, like sequence or result. You may also need to use names for indices, like i, n, etc. When speaking of part of a sequence, you may say sequence[i]. As you see, it is also a good idea to use different typography for variable names. If you write in Rmarkdown (always recommended), you can use `backticks` or $dollars$ for those special symbols. Try and see which ones you prefer.
The goals of this question are
- Pay attention to details. If the question says "English", then it is English.
- Improve your English grammar and orthography. Today all Good Science is in English. Not German, not Russian, not French, not Latin, not Arab. Not (yet) Chinese. It is so sad to see older students failing their work for lack of good English.
- Describe the solution in detail so anybody can understand. You may find that you have not yet understood the question. And that is the most important part.
- Describe a solution that does not depend on any particular computer language. You may use another system later, so do not limit yourself to R or Python. For example, can you do it in Excel?
You may do this part first in your mother language if you feel more comfortable, but then you must translate it to English. On the other hand, thinking and writing directly in English will give you a professional advantage.
If you want to know more about why I insist on English, see my article in the blog.
Take care
On Tuesday, 23 March 2021 at 21:01:02 UTC+3 Atakan Pipilos wrote:
Since it says "write a plan in English" I thought just explaining it step by step is okay.
Personally I am not willing to do so , but you can also give some examples by using R for it.