Initial Parameters Calculator Plugin

Just for info, if i wanted to do something like this:

would it be possible with a .cs script?