Which of the following blocks of code does not plot y = 10x^2 and y = x^3 on the
ID: 3109775 • Letter: W
Question
Which of the following blocks of code does not plot y = 10x^2 and y = x^3 on the same figure? A. plot(x, 10^2, x, x.^3 B. hold on: plot(x, 10 *x.^2); plot(x, x.^3); hold off; C. subplot (1, 2. 1) plot(x, 10*x.^2); subplot (1, 2, 2) plot(x, x.^3); D. figure (1) plot(x, 10*x. 2, x, x.^3): Which of the following lines of code plots y versus x with a red line A. plot('r', x, y); B.plot(x, 'r', y); C. plot(x, y, 'r'); D. plot(y, x, 'r'); Which of the following commands plots y = x^5 with a dashed line, triangle right markers, and in green? A. plot(x, x.^5, 'rightarrow g;); B. plot (x, x.^5, 'drtg';); C. plot(x, x.^5, 'dash r-tri green'); D. plot(x, x.^5, -g>'); The hold on command allows the user to plot more than one set of data on a single figure. True or False. The Spiral of Archimedes (left) may be represented in polar coordinates by the equation r = a theta. (The shells of a class of animals called nummulites grow in this way) The logarithmic spiral (right) describes the shell growth of the periwinkle and the nautilus. Its equation in polar coordinates is r = aq^theta. If we can sign a = 2, q = 1.5, write some command-line statements to draw the spirals to make the two spirals in the same figure window.Explanation / Answer
1)
option c is right
subplot command is used for differentiate between the figure
2 )
option c is correct
format of command is
plot ( xcordinate , y cordinate , ' color ' )
3)
option d is correct
format of command is like
plot( xcordinate , y cordinate , ' fdashed_line color marker'
4)
True
hold command is used to plot multiple data on same figure
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.