What is the output of the following code? [code]title(‘x^2+y^2=r^2’)[/code]

Alvin Le

Member
What is the output of the following code?
Code:
title(‘x^2+y^2=r^2’)
A. x$^{2}$+y$^{2}$ = r$^{2}$
B. x^2+y^2 = r^2
C. Error
D. No such command
 
Answer: a
Explanation: The ‘^’ is used, in the title command, to place the number as an exponent. Hence, option x$^{2}$+y$^{2}$ = r$^{2}$ is correct. The rest of the options are incorrect.
 

Tìm kiếm

Back
Top