ENGR 102 WVU Defined Function that Calculates Sin Lab Report 2 problems all the instruction on the file ENGR102: Engineering Problem Solving 2
Weekly Challenge; Week of April 6th
Solve all problems using Matlab. Submit your PUBLISHED pdf file, command window, and
your .m file.
Problem 1) The Taylor series expansion for sin(x) is given by
sin(x)= −
3
3!
+
5
(−1)
2 +1
… = ∑∞
=0 (2 +1)!
5!
where x is in radians. Write a user-defined function that calculates sin(x) using the Taylor series
of expansion. For the function name and arguments use SI=sine(n,x). The input arguments are
the number of terms in the series (n) and the angle in radians (x). Stop adding terms to the
series when the number of passes through the loop exceeds 40.
Use the function to calculate the sin of the following angles:
a) π/5
b) /3
A thin metal plate, initially at T=0°C, is exposed to a constant temperature of
T1=800°C at each side of the plate.
Problem 2)
T1=800°C
T1=800°C
T1=800°C
T1=800°C
The temperature distribution in the plate is described by the equation
2
2
= 800 −( −1) −3( −1)
If the plate can be model by a 10 by 10 matrix, determine the temperature profile in the plate
after 200 iterations. Create a figure of the contour plot for the final temperature profile.
To solve the problem
a) Create a 10 by 10 matrix that represents the thin metal plate
b) Write a program that calculates the internal temperature profile after 200 iteractions
c) Create a contour plot to represent the temperature profile after 200 iteractions. (use
the contourf command to create the plot)
Purchase answer to see full
attachment
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.