أرسل هذا في رسالة قصيرة: A nonstandard optimal control problem arising in an economics application: for royalty payment with piecewise function