Sale!

Introduction to Engineering Analysis Assignment 1

$30.00

Category:
Rate this product

ENSC 180: Introduction to Engineering Analysis
Assignment 1

1. Indicate whether the following variable names are acceptable in MATLAB (14
marks).
a) Wildcard
b) WILDCARD
c) *Wildcard
d) 2Wildcard
e) Wild_card
f) Wildcard!!
g) wild_card
2. Consider the arrays, x= <1 2 3 4 5 and y = <7 8 9. Build matrices C in
MATLAB using x and y such that C is 5×5, 5×2, 2×5, 3×3, 3×1, 2×8 and 7×6 (14
marks).
3. Write MATALAB statements to evaluate the following functions (16 marks).
a) sin(tan(x)) – tan(sin(x))
b) e-0.7x + (1-cos(x))/(1.0+tan2
(x))
c) (1+x/(x-0.5))/(1+(3.1xe-x
+2)/(sin(x)-cos2
(x2
)))
d) 3.00.25+ln (2.13.7) + tan-1
(0.63)
4. Plot the functions in 3a, 3b and 3c using MATLAB over the range -2π < x < 2π (12
marks).
5. Consider the array [ 3.1 5.8 6.2 2.1 7.0 5.0 8.2 4.6]. Using MATLAB, find the size,
minimum and maximum values, mean and median values, the standard deviation
of this array and sort it starting from the minimum value (14 marks).
6. Solve Question 2.26 in the textbook (30) marks.

Open chat
Need help?
Hello
Can we help you?