I do agree it would be more standard to use the formula , for people who are new to this and are wondering how to utilize the formula to calculate the max file size.
*********Calculation for 32 bit address size , 10 direct block & 1 indirect ***********
no of direct disk block pointer + (DBS/DBA) + (DBS/DBA)^2 + (DBS/DBA)^3)*DBS
DBS = Disk Block size= 4,096 bytes = 4KB
DBA = Disk Block address size = 32 bits = 4 byte
DBS/DBA = 4,096/4 = 1024
10 direct address entries= 10
one primary indirect block= 1024
max file size = (1024+10)*4KB= 4136 KB
##############################################################
*********Calculation for 24 bit address size, 10 direct block & 1 indirect ***********
(This is an unstandard address size, but some professors use it to test their students )
Max file size = no of direct disk block pointer + (DBS/DBA) + (DBS/DBA)^2 + (DBS/DBA)^3)*DBS
DBS = Disk Block size= 1024 bytes = 1KB
DBA = Disk Block address size = 24 bits = 3 byte
DBS/DBA = 1024/3 = 341.3333 = 341
10 direct address entries= 10
one primary indirect block= 341
max file size = (341+10)*1KB= 352 KB = 360448 bytes