All questions should be written in a MATLAB script.Make a comment in the first line of your Script and write your name as a comment.Youshould submityour entire code. Do not submit thefinal answers or output tableonly. I will grade your code, not the final result.If you are writing all the questions in one script, separate questions using %% and begin each section with clear all; close all; 1.Create a character array (1×3), and store 3 strings: your first name, last nameand age 2.The following series can be written with a shorthand form of sigma notation (A): 12+12∗3+13∗4+⋯+1𝑛(𝑛+1)𝐴=∑1𝑛(𝑛+1)𝑛=10000𝑛=1Write aMatlab code to calculate this arithmetic series. 3.Create these matrices: A = [243519] B = [104512951] a.Use the sizefunction to find the size of Matrix A and B. b.Use the sizefunction to find the number of rows for matrix A and the number of columns for matrix B and call those variables NColumns and Nrows. c.Zero the thirdcolumn of Matrix B d.Multiply Bby A. 4.You work for an engineering design firm that has been contracted to evaluate the concentration of pollutants. A tall chimney releases (𝑀̇=20 kg/s) of smoke into a steady uniform wind of speed (u=10 m/s). An expression for the decay of the peak pollutant concentrationC(ppm)with distance downwind is given as:𝐶(𝑥,𝑦,𝑧)=𝑀̇4𝜋𝜌𝐷𝑥∗𝑒−(𝑦2+𝑧2)𝑢4𝐷𝑥Assuming that the diffusion coefficient D to be 0.01 m2/s, and the density of air to be (𝜌=1.225𝑘𝑔/𝑚3),4.You work for an engineering design firm that has been contracted to evaluate the concentration of pollutants. A tall chimney releases (𝑀̇=20 kg/s) of smoke into a steady uniform wind of speed (u=10 m/s). An expression for the decay of the peak pollutant concentrationC(ppm)with distance downwind is given as:𝐶(𝑥,𝑦,𝑧)=𝑀̇4𝜋𝜌𝐷𝑥∗𝑒−(𝑦2+𝑧2)𝑢4𝐷𝑥Assuming that the diffusion coefficient D to be 0.01 m2/s, and the density of air to be (𝜌=1.225𝑘𝑔/𝑚3), a)Write a code in matlabto calculate the pollutant concentration(C1, C2)at two different locations downwind: 1.(x=1000 m, -5m < y < 5m, z=0 m). Use an interval of 0.2m for y. 2.(x =20000 m, -5m
Our essay writers will gladly help you with:
Powered by essayworldwide.com