Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Prof. RC de Guzman ENGG 010 Engineering Computer Programming Hofstra Department

ID: 3797402 • Letter: P

Question

Prof. RC de Guzman ENGG 010 Engineering Computer Programming Hofstra Department erIngineering What is the result of this assignment statement? Mat Is 4 3 2 1U a 5 x 1 vector d scalar 8. Simplify the expression: 5-(1:3), 2-2 2 a) [4 3 2 1 0) b) [3 1 -1 -3 -5 -7 -9] c) Empty matrix d) [4 50 e) [0 -3 -8] Given the script lines of codes: clear; clcs Given dist0 500; initial distance (in m) distN 100 distance after N hours (in km) Computations disto dist0/1000: 9% (in km) distDelta distN-disto; 96 change in distance (in km) o S S Which of these is true when the script is saved then run? a) distDelta -400 km. b) distDelta error c) distDelta 400 km d) dis Delta 100000-500 m e distDelta 99.5 km 10. The correct code in the Command Window, given gsun e 274 (in the Workspace), to display: The acceleration due to gravity on the Sun is 274 m/s 2. a display: The acceleration due to gravity on the Sun is 274 m/s 2. b) disp("The acceleration due to gravity on the Sun is ,num 2str(gSun), m/s 2.) e c displ(The acceleration due to gravity on the Sun is num2str(gsun),' m/s 2. d acceleration due to gravity on the Sun is ,num2str(gSun),' m/s 2.D; e) disp(IThe acceleration due to gravity on the Sun is gSun m/s 2. D; IL Fin in the Blank (10 questions, 3 points each, 30 points subtotal): write the best possible 1. Calculate by hand, show your solution, and simplity the expression: (2 1/3-2) 4 3/1-(5) -3 (7 31'+4

Explanation / Answer

Multiple Questions : Answering 1st one .

7. b) a 1 X 5 vector.

Mat = [5 4 3 2 1]';

Mat =

5

4

3

2

1

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote