I'll give u the simple answer it will work but mabey not ur best option if u want a decent yield. Especially if u have 40inches square. That's more than 3 sqaure feet. With led I like to shoot for about 50-60 watts per sq feet. Theres more to it than that obviously but trying not to over complicate thing on u. So with that rule ud want about 450w of led power to optimize that space. If 40 cm that's just over 1 foot squared if u can keep it cool with good airflow in that 1 square foot I'd say that 100w might just suit it. But make sure to flower ur plant to be a little smaller. In order to utilize ur small space and light.