Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please help with these codes!! MATLAB = CONTENTS Close Courses & Content LMS Integration Documentation & Support Computer Software for Sciences Computer Software for Sciences
please help with these codes!! MATLAB
= CONTENTS Close Courses & Content LMS Integration Documentation & Support Computer Software for Sciences Computer Software for Sciences > Assignment 1 > Assignment 1 Revers an array O solutions submitted (max: 3) Create a vector with spacing we have following array Pythagorean Theorem X= [ 87 69 78 54] viscosity is the Carreau model define an array y with values of x but in reverse order do this in just one line Revers an array Inverse and Transpose Script colon operator C Reset DE MATLAB Documentation select sub matrix 1 x = [ 87 69 78 54] 2 %y is reverse of x 3 y = Create diagonal matrix Select every other element of a vector Swap the first and last columns CONTENTS Close Courses & Content LMS Integration Documentation & Support Assignment 1 viscosity is the Carreau model O solutions submitted (max: 3) Create a vector with spacing Pythagorean Theorem In fluid mechanics, one possibility to model viscosity is the Carreau model (https://en.wikipedia.org/wiki/Carreau_fluid). Viscosity is function of the shear rate y ) = 4cm +(80 Hv) [1 + (47)27"2 For the following shear rate and parameters values, calculate the viscosity (the name of variable should be v). Use variables to save the parameter values. y = 100,4 = 0.035,n=0.3568, 1 = 3.313.M=0.56 viscosity is the Carreau model Revers an array Inverse and Transpose colon operator Script C Reset DE MATLAB Documentation select sub matrix Create diagonal matrix Select every other element of a vector 1 gamma = 100; 2 uinf - 0.035; 3 n = 0.3568; 4 lambda - 3.313; 5 ue = 0.56; 6 V- 7 Swap the first and last columns = CONTENTS Close Courses & Content LMS Integration Documentation & Support Assignment 1 Inverse and Transpose O solutions submitted (max: 3) Create a vector with spacing define matrix A with following value Pythagorean Theorem 2 3 4 5.2 6 7 8 91 viscosity is the Carreau model Revers an array then Inverse and Transpose caluclulat its transform and save it in variable AT calculate its inverse and save it in variable INVA colon operator select sub matrix Create diagonal matrix Script C Reset MATLAB Documentation Select every other element of a vector Swap the first and last columns 1 %define A 2 A= 3 %calculate transpose of A 4 AT - 5 %calculate inverse of A 6 INVA = MATLAB Grader Ruth Ayala E CONTENTS Close Courses & Content LMS Integration Documentation & Support Computer Software for Sciences Computer Software for Sciences > Assignment 1 > colon operator O solutions submitted (max: 3) Assignment 1 Create a vector with spacing calculate the squre root of even values between 2 and 10000 and save it in variable named es Pythagorean Theorem viscosity is the Carreau model Script C Reset 19 MATLAB Documentation Revers an array Inverse and Transpose 1 es = colon operator select sub matrix Create diagonal matrix Select every other element of a vector Run Script Swap the first and last columns innamon
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started