Energy consumed. Energy is power times time. With P=50 W and t=1 h=3600 s:
E=Pt=50 W⋅3600 s=1,8⋅105 J≈200 kJ
In kilowatt-hours: it is convenient to use E=Pt directly with the power in kW and the time in hours:
E=0,050 kW⋅1 h=0,050 kWh
Cost:
cost=0,050 kWh⋅0,22 euro/kWh≈0,011 euro
just over a cent: an hour of laptop use costs a negligible fraction.
E≈1,8⋅105 J∼200 kJcost≈0,011 euro