If \( \Large x^{2}-3x+1=0 \) find the value of \( \Large x+\frac{1}{x} \)

A) 0

B) 3

C) 2

D) 1

Correct answer:
B) 3

Description for Correct answer:

Given equation is

\( \Large x^{2}-3x+1=0 => x^{2}+1=3x \)

= \( \Large \frac{x^{2}+1}{x}=3 \)

= \( \Large \frac{x^{2}}{x}+\frac{1}{x}=3 \)

Therefore, \( \Large x+\frac{1}{x}=3 \)



Please provide the error details in above question