SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 1 Day Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Computer Science Posted 20 Nov 2017 My Price 10.00

Circle all answers that apply. 1. You are given distance values,

see attachment. Matlab is where these problems would be ran.

Quiz 2 CS151 – Summer 2017 Due: Monday, 6/19/2017, 11 AM Your Name: _________________________________ Grade: ____ /9 pts Directions: Circle all answers that apply. 1. You are given distance values, dist = [10,12,8,6,15,11,12] km and corresponding time values, time = [20,25,32,45,59,75,80] sec. What code finds the time when the minimum distance occurs? a. [m,loc]=min(dist); md=time(m) b. loc=min(dist); md=time(loc) c. [a,b]=min(time); md=time(b) d. loc=min(dist); md=d(loc) e. [a,b]=min(dist); md=time(b) 2. Using the proper Matlab syntax, how would you find the inverse sine of in degrees? a. asin( (16/33) ) b. asind( 16/33*180/pi ) c. asind( 16/33 ) d. asin( 16/33 )*180/pi e. asind( 16/33 )*pi/180 f. arcsind( 16/33 ) 3. If you have a matrix, x = [4 5; 6 8; 9 4] and execute [col, row] = size(x) and len=length(x), the result will be: a. row = 3, col = 2, len = 3 b. row = 2, col = 3, len = 3 c. row = 2, col = 3, len = 2 d. row = 3, col = 2, len = 2 4. To get a 3 column, 5 row matrix of random numbers between -20 and 25, you would use the command: a. y = 45-20*rand(3,5) b. y = -20+45*rand(3,5) c. y = 45*rand(5,3)-20 d. y = (-20+45)*rand(5,3) 5. If you had a row vector V=[ 3,6,7,9,-9,3,9 ]; what would the command, max(V), return? a. max = 9 b. max = 9 9 c. ans = 9 9 d. ans = 9 For the next 2 problems: A = [12,17,-3,6], B = [-5,8,3; -1,2,3; 2,4,-6], C = [22; 17; 4] 6. How would you assign the entire third column of matrix B to X1? a. X1 = B(1-3,3) b. X1 = B(:,3) c. X1 = B(3,3) d. X1 = B([1,3],3) 7. How would you assign the second and third rows and second and third columns of B to X2 (creating the matrix [2 3; 4 -6])? a. X2 = B(2:3,2:end) b. X2 = B(2-end,2-end) c. X2 = B([2:3],[2:3]) d. X2 = B((2,3),(2,3)) e. X2 = B(2:3,5: 6,8: 9)

Attachments:

Answers

(5)
Status NEW Posted 20 Nov 2017 01:11 PM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)