WorksheetsMATLAB Quiz 1
Total questions: 10
Worksheet time: 5mins
The created or imported variables are placed in the _________
command window
workspace
editor
script file
What is the answer for
50^(1/2)+40^0.2
7.5221
10.1623
9.1623
27.0912
125 is divided by 3. The answer is written as 41.667. What is the display format of this number?
format long
format short e
format short
format short g
What is the correct command to find square root of any number, x.
square rt (x)
sqrt(x)
Sqrt x
sqrtx
How do we assign a value to a variable
x=0.5
x=1-0.5
x=1/2
All of above
What is the correct rule for defining a variable?
must begin with a letter
must not exceed 3 characters
can contain comma or semicolon
AB and ab are the same variables
Where does the error message being displayed in MATLAB?
workspace
command window
editor
script file
What does the 'clear' command do?
remove all variables from workspace
remove all variables from memory
remove all variables from file
remove all variables from system
how do write π in MATLAB
pi
phi
pie
pai
what is 3π in format short?
1.0471
1.047
1.047197551196598
1.0471975511
