Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is the answer of the following input DS (2.5 Points) >> syms X Y >> int (xy^2, y,0,3 ) ans = Unrecognized function or

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
What is the answer of the following input DS (2.5 Points) >> syms X Y >> int (xy^2, y,0,3 ) ans = Unrecognized function or variable xy 17 What is the output of this code DS (3 Points) >> symsum (k^2, 1,5 ) ans Write the letter of the correct answer (2.5 Points) Which of the following expressions generates an evenly spaced vector x containing 15 values between 4 and 20. a) X-linspace(20,15,4) c) X=linspace(4,20,15) b)x=4:15:20 d) x=linspacel 15.4.20) Enter your answer 11 Write the letter of the correct answer DS (2.5 Points) Which of the following expression generates the matrix shown below 2.7 1.8 2 9 10 20 30 40 A- 5 7.5 9 4.8 6.2 1 2 3 a) A = [2.7 1.8 2 9; 10 20 30 40;5 7.5 9 4.8: 6.2 1 2 3] b) A = [2.7, 1.8, 2,9; 10, 20, 30, 40; 5,7.5, 9, 4.8; 6.2, 1, 2.31 c) A = [2.7: 1.8; 2; 9; 10; 20; 30; 40; 5; 7.5:9; 4.8; 6.2; 1:2; 3] 12.7: 1.8: 2:9.10:20: 30:40,5:7.5:9:4.8.6.2: 1:2:31 d A= b Write the letter of the correct answer (2.5 Points) Consider the following MATLAB program: [12: y - [34): 2 - {x' ty: yll'; What is the value of z after this program executes? 3 A. B. C. D. 3 3 4 B Write the letter of the correct answer D (3 Points) Consider the following two-dimensional MATLAB array, stored in the variable A: 1 1 3 6 9 36 27 216 How can we index and retrieve the value 36 from this array? A. AC 2,1) C. AC 2,3) B. AC 3,2) D. AC 2,1) 00 Write the letter of the correct answer 9 (3 Points) y! - - linspace( -1,1,101 ); exp(); y2 - tan(x): y3 - rand 1. numel(x)); How would you successfully plot all three of these data series as points? (Assume any given plot format strings are valid.) C. hold on A. plot( x, y, 'r... y2, '8', y3,'b.' ); plot(x, yi); plot( x, y2); B. plot( x, yi, 'r.', x,y2, '8', *.y3, 'b.' ); plot(x, y3 ); D. plot( x,y, x,y2, x,y3 );

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions

Question

What is grapevine?

Answered: 1 week ago