In a computation those abbreviations would be fine but in the unlikely situation of using the terms in a narrative answer then employ the usual technique of writing the term in full the first time used, with the abbreviation bracketed after it and then use the abbreviation thereafter.