29.2k views
0 votes
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.

User Atrus
by
8.8k points

1 Answer

6 votes
[A]

3^(2)=9

5^(3)=125

9\\eq25

Ignore


[B]

3^(2) = 9

9 \ \textgreater \ 3
Yes


3^(3)=27

4( 3^(2))=36 27 \ \textless \ 36
Yes

Therefore

x=3+2=5


[C]

4^(5)=1024 5^(4)=625 1024\ \textless \ 625
No


5^(5)=3125 5^(5)=3125 3125\ \textgreater \ 3125
No

Ignore


[D]

5^(5)=3125 2^(5)=32 3125\ \textgreater \ 32
Yes


5^(2)=25 25\ \textless \ 11
No

Therefore

x=5+8=13


[E]

8\ \textgreater \ 7
Yes

Therefore

x = 13^(2)=169
User Ebynum
by
8.9k points