Hiya,
I'm not sure if the 10% is
(a) 10% of unit cost or
(b)10% of (unit cost + square root of unit cost)
so here's both:
(a)
$sellprice = round(($unitcost + sqrt($unitcost) + ($unitcost / 10)),2)
(b)
$sellprice = round(($unitcost + sqrt($unitcost) + ($unitcost + sqrt($unitcost))/10),2)
That's expressing them roughly the same as you did. You could make things a little more compact and faster if you like as follows:
(a)
$sellprice = round((($unitcost * 1.1)+ sqr ($unitcost)),2)
(b)
$sellprice = round((($unitcost + sqrt($unitcost)) * 1.1) ,2)
I'm just typing these as I think them, but they look ok!
Cheers,
Jack