Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Calculate the following by Matlab: sin(0.27) COS Hint: it is pi in Matlab; use nthroot function. 2. With Matlab, define the variables c=4.5,

1. Calculate the following by Matlab: sin(0.27) COS Hint: it is pi in Matlab; use nthroot function. 2. With

1. Calculate the following by Matlab: sin(0.27) COS Hint: it is pi in Matlab; use nthroot function. 2. With Matlab, define the variables c=4.5, d=1.7, a=cd and b=+ c-d 2 3 4 cd. 3. Given are 5x6 matrix A, a 3x6 B and a 9- element vector v. [258 11 14 17 369 12 15 18 A 47 10 13 16 19 58 11 14 17 20 6 9 12 15 18 21 5 6 + tan 72 - 5 a 5 10 15 20 6 9 12 15 18 7 30 35 40 45 8 95 94 93 92 9 60 65 70 75 2.1x10-15.2x10 3x 6x101 5 10 15 20 25 30 B = 30 35 40 45 50 55 55 60 65 70 75 80] Create the three arrays in the Command Window, and then, by writing one command, Replace the last four columns of the first and third rows of A with the first columns of the first tow rows of B, the last four columns of the fourth row of A with the elements 5 through 8 of v, and the last four columns of the fifth row of A with columns 3 through 5 of the third row of B. You should have: A = 7 then evaluate: v = [99 98 97 96 95 94 93 92 91] 4. Create a variable N that is a column vector with seven equally spaced elements in which the first element is 44 and the last element is 23. 5. Create the following three row vector: a=[5 8-102], b= [4 19-2 3], and c-[-3 5061]. a) Use the three vectors in Matalb command to creat 3x5 matrix in which the rows are the vectors c, b and a, respectively. b) Use the three vectors in a Matalb command to create a 5x3 matrix in which the columns are the vectors c, v, and a, respectively.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Solution 1 Calculate the following by Matlab matlab 21x10152x105 3x 6x1011 sin02picospi6 tan72 result 21e15 152e5 3 sqrt6 1e11 sin02 pi cospi 6 tan72 pi 180 Display the result dispresult Output 30000e... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Numerical Methods With Chemical Engineering Applications

Authors: Kevin D. Dorfman, Prodromos Daoutidis

1st Edition

1107135117, 978-1107135116

More Books

Students also viewed these Computer Network questions

Question

Is there any formal training for teaching?

Answered: 1 week ago

Question

Solve the following ordinary differential equation y=3xy, y(3) = 1

Answered: 1 week ago

Question

Solve the following equations. 3x + 5y = 11 2x- y=16

Answered: 1 week ago