MATlab assignment

User Generated

QNA23

Engineering

Description

Complete the following problems that in the first file from 1 - 6 in a single scrip t file and up load it.

for the second paper I need the solution by hand as I solved the first one, and these from 7 - 10.

I attached the file for the problems, I need the MATLAB code for all these problems.

I hope all things are clear.




Unformatted Attachment Preview

ENGR 102 In-Class Activity/ HWS Complete the following problems in a single script file and upload to eCampus. 1. Use element addressing to determine the sum of the 2nd, 4, and 7" terms of the following vector V = (0,5,6,-1, 6, 9, 6, 2, -3,5) 2. Create a new vector which is the result of squaring each element of vector T. Do not square each element explicitly. T = (0,8,5, 3,0,8,4) 3. Create a column vector which is a result of the term by term product of vectors P and M. For example Prob3;=P,*M1. P = [3,4,5,6, 0,7,-1) M =(4,-2, 1, 2, -1, 2, -11 4. For the function y = x +2e*-1, calculate the value of y for the following values of x using element- by-element operations: -3, -2,-1,0, 1, 2, 3. 5. For the function y 2stnx.cosex calculate the value of y for the following values of x using element-by-element operations: 200, 300, 40, 50°, 60°, 70" 6. The radius of a sphere can be calculated from its surface area, s, by using the following equation VS/ The volume can be found by using the following equation: 4rur Determine the volume of spheres with surface areas of 50, 100, 150, 200, 250, and 300 ft. For problems 7-10 see handout. Nam achi ENGR 102 In-Class Activity Work out the following problems by hand in the space provided. 7. Evaluate the following expressions without using MATLAB. b) y = 8/4> 6 X 3-42> -3 a) 12-4 < 5 X3 8- 3 1 27 27-3 8. Evaluate the following expressions without using MATLAB. y= 1 a) (^5 + ~0) X 6 == 3 + 3 X~ 1 X 6 == 3+3 X 1 b) y=-3 < (8-12)+ 2X(5>18/6-4)? ? y=-3
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

I attached the solution of problems 7-10. Let me know if you need anything else.I will double check the script too.

Problem 7
a. 12 − 4 < 5 × 3
12 − 4 < 15
8 < 15
𝑇𝑟𝑢𝑒 − −−> 1

b. y = 8/4 > 6 × 3 − 42 > −3
𝑦 = 2 > 18 − 16 > −3
𝑦 =...


Anonymous
Goes above and beyond expectations!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags