Hi, Khushboo.
If you are getting this dimensional error then try checking the equations that you are calling for the functions. Use dimensional analysis theory. Start from ‘Z1’, which is throwing errors in ‘A1’ and resulting in errors in ‘Z2 & A2’.
This link could be useful to you.