The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
2. Plot the following equation using the command “meshgrid” and “mesh”.2 2Z r r sin( ) /r x y x and y are both between -10 and 10
1BE 1500 – Homework #5Submit this assignment as a PDF to the link on BlackboardCopy and paste your MATLAB commands and final answers for each problem into a worddocument. For excel portions, copy the contents of any calculated cells into the document withthe cell reference also include a screen shot of the excel file. A detailed explanation of how to dothis is available on Blackboard in the Homework folder. In addition to the PDF submission submitany script files that the assignment asks you to create and any excel files you create.Plotting, If-Else, fprintf1. Write a Matlab script name spheres that will calculate the surface area and volume of fivespheres. The script should prompt the user to enter one vector containing 5 numbers(diameters) and return a two-dimensional matrix containing the surface area and volume of fivespheres. Calculate the surface area and volume for spheres with diameter of 1, 2, 3, 4, and 5cm.2. Plot the following equation using the command “meshgrid” and “mesh”.22sin( ) /Zrrrxyx and y are both between -10 and 103. In a Matlab Script, for −2°≤±≤2°create a vector and then plot the following functions. Addlabel, legend and title to your plot. Be sure to select an appropriate step size for your vector.sinh(x)(ex– e-x)/24. Assuming you have a doughnut (perfect shape like a torus) with theinner radius aand theouter radius b. The volume (V) and area (A) can be calculated by these formula:a.Create a script that asked for the value of a and b and computes area and volume.b.Suppose that the outer radius is constrained to be 1.5 in. greater than the inner radius.Write a another script file that plots A and V versus a for 0.25<=a<=4 in.
Attachments: