{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW_Assignment_1

# HW_Assignment_1 - HOMEWORK ASSIGNMENT 1 EGM 3344 Structured...

This preview shows pages 1–5. Sign up to view the full content.

HOMEWORK ASSIGNMENT 1 EGM 3344 Structured Programming Concepts Problems from Chapra book chapters 1, 2, and 3 Problem Approach Comments 1.4 (b) only Hand Provide a table of t, v, dv/dt and a plot of v vs. t 1.8 Matlab Provide a table of t, y, dy/dt and a plot of y vs. t 2.2 Matlab Use xlabel and ylabel with the plot command 2.3 Matlab 2.5 Matlab Make sure to use the dot (.) operator 2.7 Matlab Make sure to use the dot(.) and colon (:) operators 2.8 Matlab Create two plots with a single plot command 2.14 Matlab Use the subplot command 3.1 Matlab Use a while loop and fprintf, provide a table of order, true value, approx value, and percent error 3.5 Matlab Use if statements 3.9 Matlab Use the dot(.) and colon (:) operators and fprintf with a matrix 3.10 Matlab Create both functions in a single .m file 3.12 Matlab 3.13 Matlab Use a while loop inside an if statement. Also use the built-in Matlab variable j to represent complex numbers 3.16 Matlab Use a switch statement inside a for loop 3.19 Matlab Use varargin and a while loop

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}