Question
MATLAB Question The temperature profile on a plate that is 17m long( [7,10]) and 9m wide ( [1,8]) is illustrated in the figure below: The
MATLAB Question
The temperature profile on a plate that is 17m long( [7,10]) and 9m wide ( [1,8]) is illustrated in the figure below:
The temperature profile on the plate is described by:
where represents the temperature.
The average temperature of the plate can be calculated through:
where represents the total surface area of the plate.
Write a function file for the Composite Simpsons 1/3 rule which accepts vectors as input. with the following function header: I = comp_simp13_vector(a,b) where I is the integral and a and b are the independent and dependant variables that you are integrating.
Calculate the average temperature of the plate using Composite Simpsons 1/3 rulewith 99 points in each direction (x and y). Use the composite simpson's 1/3 rule function file created to calculate the integral values.
Use fprintf() to print a statement containing the average temperature to 4 decimal places.
x. 0 -5 0 0 arpadual T(x,y) -y sin(x)-x cos(y) 10 8 T. T(x,y) dxdjy A average -7 J-1
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