What is the value of x after these statements if the starting value of x is 3.
(a) If x^2 = 5^x then x := 25^x. (b) If x^2 > x and x^3 < 4x^2 then x := x+ 2. (c) If 4^x < x^4 or x^5 > 5^x then x := x^2. (d) If 5^x > 2^x xor x^2 < 11 then x := x + 8. (e) If x > 7 then x := x^2.

Respuesta :

[A]
[tex]3^{2}=9[/tex]
[tex]5^{3}=125[/tex]
[tex]9\neq25[/tex]

Ignore


[B]
[tex] 3^{2} = 9 [/tex]
[tex]9 \ \textgreater \ 3[/tex]
Yes

[tex] 3^{3}=27[/tex]
[tex]4( 3^{2})=36 27 \ \textless \ 36[/tex]
Yes

Therefore
[tex]x=3+2=5[/tex]


[C]
[tex] 4^{5}=1024 5^{4}=625 1024\ \textless \ 625[/tex]
No

[tex] 5^{5}=3125 5^{5}=3125 3125\ \textgreater \ 3125 [/tex]
No

Ignore


[D]
[tex]5^{5}=3125 2^{5}=32 3125\ \textgreater \ 32 [/tex]
Yes

[tex] 5^{2}=25 25\ \textless \ 11 [/tex]
No

Therefore
[tex]x=5+8=13[/tex]


[E]
[tex]8\ \textgreater \ 7[/tex]
Yes

Therefore
[tex]x = 13^{2}=169[/tex]