Microsoft Visual Basic
Functions exercise
Average difficulty

This Microsoft Visual Basic FUNCTIONS exercise is provided to allow potential course delegates to assess their suitability for the Wise Owl EXCEL VISUAL BASIC course only, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Exercise: NthRoot exercise

A full answer to this exercise is provided as part of the training course!

1) Create a function called NthRoot in a new workbook which calculates the nth root of any integer.  For example:
Exercise screen-shot 187 Two examples of the NthRoot function
Training exercise hint You can raise a number to its reciprocal power by using the ^ symbol - eg 125 ^ (1/3) = 5
2) Save this file with a suitable name, then close it down.

Thank you for showing an interest in this Excel Visual Basic training course! As mentioned above, full answers to this and other exercises are provided on the course. On all Wise Owl scheduled courses delegates can take away these model answers (together with their own efforts!) on a free USB stick.

All content copyright Wise Owl Business Solutions Ltd 2008.  All rights reserved..