Theo bài ra, ta có: \(\frac{x}{3}=\frac{y}{4}=\frac{z}{5}=k\) \(\Rightarrow\hept{\begin{cases}x=3k\\y=4k\\z=5k\end{cases}}\)
Ta có: \(P=\frac{2017x+2018y-2019z}{2017x-2018y+2019z}=\frac{2017.3k+2018.4k-2019.5k}{2017.3k-2018.4k+2019.5k}\)
\(P=\frac{6051k+8072k-10095k}{6051k-8072k+10095k}=\frac{k\left(6051+8072-10095\right)}{k\left(6051-8072+10095\right)}=\frac{4028}{8074}=\frac{2014}{4037}\)
Ta có:Đặt\(\frac{x}{3}=\frac{y}{4}=\frac{z}{5}=k\)
\(\Rightarrow\hept{\begin{cases}x=3k\\y=4k\\z=5k\end{cases}}\)
Thay vào đề bài
\(\Rightarrow P=\frac{2017x+2018y-2019z}{2017x-2018y+2019z}=\frac{2017.3.k+2018.4.k-2019.5.k}{2017.3.k-2018.4.k+2019.5.k}=\frac{4028k}{8074k}=\frac{2014}{4037}\)
Vậy\(P=\frac{2014}{4037}\)