I have a homework question which I don't know if my solution is correct

I need to arrange the below formula to make l the subject
M = w/2 (L - l^2)

MY SOLUTION
2M = w (L - l^2)
2M = Lw - wl^2
wl^2 = Lw - 2M
l^2 = (Lw - 2M) / w
l = sqrt of (Lw - 2M) / w

Thanks

ok if you mean

M = [w/2] (L - l^2)
and not
M = w / [2 (L - l^2)]
careful with parentheses

thanks for your answer

Your solution looks mostly correct! However, there is a small error in the last step. Let's go through the steps together to find the correct solution:

Starting with the equation: M = (w/2) (L - l^2)

1. Multiply both sides by 2 to eliminate the fraction:
2M = w (L - l^2)

2. Distribute the w across the parentheses:
2M = Lw - wl^2

3. Move the - wl^2 term to the other side:
wl^2 = Lw - 2M

4. Divide both sides of the equation by w to isolate l^2:
l^2 = (Lw - 2M) / w

Now, here comes the small correction:

5. To solve for l, take the square root of both sides:
l = sqrt((Lw - 2M) / w)

So your solution is almost correct, but make sure to include the square root in the final step.