code issue

code issue

i have calulation code that is working in one file but in another file code is not working is there any solution?