Given:2x2−3y2+z2
Now, when x=1,y=2 and z=5, we get,
⇒2(1)2−3(2)2+(5)2
=2−3×4+25
=27−12
=15
Hence, 2x2−3y2+z2=15