Question
Anyone able to help with this 3-D plotting on Matlab

Question 1: Three edges of a rectangular plate (a 5 m, b 4 m) are kept at a temperature of O C and one side is kept at a temp
Comments
    0 0
    Add a comment Improve this question Transcribed image text
    Answer #1

    MATLAB Script

    %%
    clear
    clc

    a = 5;
    b = 4;
    T1= 80;

    x = 0:a/19:a;
    y = 0:b/15:b;

    n = 10; %Number of Fourier terms

    T_temp = zeros(n,1);
    T = zeros(length(y),length(x));

    for i = 1:length(y)
    for j = 1:length(x)
    for k = 1:n
      
    T_temp(k) = (sin((2*k-1)*(pi*x(j)/a))*sinh((2*k-1)*(pi*y(i)/a)))/((2*k-1)*sinh((2*k-1)*(pi*b/a)));
    T(i,j) = (4*T1/pi)*sum(T_temp);
      
    end
    end
    end

    %% Plotting the graph
    s = surf(x,y,T);
    colormap('jet')
    s.EdgeColor = 'none';
    S.facecolor = 'interp';
    xlabel 'x (m)'
    ylabel 'y (m)'
    zlabel 'T (deg. C)'

    Graph:

    100 ト40 0 3.5 4.5 2.5 3.5 1.5 2.5 1.5 0.5 0.5 y (m) x (m)

    Add a comment
    Know the answer?
    Add Answer to:
    Question 1: Three edges of a rectangular plate (a 5 m, b 4 m) are kept at a temperature of O C an...
    Your Answer:

    Post as a guest

    Your Name:

    What's your source?

    Earn Coins

    Coins can be redeemed for fabulous gifts.

    Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
    Similar Homework Help Questions
    • Consider the steady temperature T (2,y) in a rectangular plate that occupies 0 <<< 9 and...

      Consider the steady temperature T (2,y) in a rectangular plate that occupies 0 <<< 9 and 0 <y<5, which is heated at constant temperature 150 at 9 and 0 along its other three sides. (a) For separation solutions T(1,y) = F(x)G(y), you are given that admissible F(1) are the eigenfunctions Fn (1) = sinh(An I) for n=1,2,... and G(y) are the eigenfunctions Gn(y) = sin(Any) for n=1,2,... A for In = (b) The solution is the superposition T(z,y) = an...

    • 1. Consider a thin rectangular plate in the ry-plane, the figure. The PDE describing the temperature...

      1. Consider a thin rectangular plate in the ry-plane, the figure. The PDE describing the temperature of the plate is the heat equation shown in as 0 xa, 0< y < b, t>0. D + at where u(x, y, t) is the temperature at point (x, y) diffusivity at time t andD> 0 is the thermal (a) Suppose that the solution to the PDE (once we impose initial and boundary con ditions) reaches equilibrium when t o, that is there...

    • 11. Consider a thin, infinitely long rectangular plate that is free of heat sources, as shown...

      11. Consider a thin, infinitely long rectangular plate that is free of heat sources, as shown below. For a thin plate, is negligible, and the temperature is a function of x and y only. The solution for this problem is best obtained by considering scaled temperature (ie. 1-T - To, where To is the absolute temperature at T-0) variables, so that the two edges of the plate have "zero-zero" boundary conditions and the bottom of the plate is maintained at...

    • 11. The figure shows the contour map of the function T (in "C giving the temperature at each poin...

      11. The figure shows the contour map of the function T (in "C giving the temperature at each point (r, y) on an 8cm x 5 cm rectangular metal plate. Use it to estimate the rate of change of the temperature at the point (3,2)in the positive r-direction and in the positive y-direction. 4 75 80 105 00 9508:s 0 11. The figure shows the contour map of the function T (in "C giving the temperature at each point (r,...

    • The temperature in a rectangular plate is described by the function below: f(x, y) = x^3...

      The temperature in a rectangular plate is described by the function below: f(x, y) = x^3 + 4x^2y^2 - y^3 Plot the function to show the temperature profile Estimate the average temperature defined as f = Integral_c^d (Integral_a^b f(x, y)dx)dy/(d-c)(b-a) Where a = 0; b = 3; c = -1; d = 2; Using a single application of the Simpson's 3/8 method in all directions Using two (n=2) applications of the trapezoid rule in all directions Estimate the Percent Relative...

    • y(m) 1. (10 points) The temperature of a plate in the ry-plane is given by 3 48 2 T(x, y) x2 2y2 2 1 T is in degrees Ce...

      y(m) 1. (10 points) The temperature of a plate in the ry-plane is given by 3 48 2 T(x, y) x2 2y2 2 1 T is in degrees Celsius (°C) and x, y are in meters (m). A contour plot of T(x, y) is shown at right. -3 -2 4 3 4 (a) At the point (-2,1) draw and label a vector in the direction 6 of VT(-2, 1 8 4 (b) At (-2, 1) draw and label both vectors...

    • 2. A rectangular plate with sides 6 m and 4 m of thickness l 12 mm (Fig. 1) is subjected to the s...

      2. A rectangular plate with sides 6 m and 4 m of thickness l 12 mm (Fig. 1) is subjected to the stresses σο Ơy and Fry. An Airy stress function is proposed to be φ = 12x3y. (a) Is φ a possible valid Airy stress function? Prove your answer by a calculation. (b) If φ is valid, determine the values of stresses (Ox, σ, and τ, at point (xy,z) which satisfy the stress function. (c) Draw a sketch showing...

    • Parts c and d only please 12. The temperature at any point on a metal plate...

      Parts c and d only please 12. The temperature at any point on a metal plate in the xy plane is given by T(x, y) = 100 – 4x2 - y2, where x and y are measured in inches and T in degrees Celsius. Consider the portion of the plate that lies on the rectangular region R = (1,5] x [3, 6]. Write an iterated integral whose value represents the volume under the surface T over the rectangle R. b....

    • 1. Consider a rectangular plate with sides a and b of thickness t, as showen in...

      1. Consider a rectangular plate with sides a and b of thickness t, as showen in Fig. P1, for the stress function 0 = px?y, where p is a constant, what will be the resultant normal bounday force Py allong the edge of the plate y = b? (a) 3pabt, (b) pat, (c) 2pabt, (d) 0, (e) none of above YA 3 4 6 4 25 6 51 MPa X a Fig. P1 Fig. P2

    • please solve 17 for me thanks~~ :) ! temperature f(x) °C, where 5. f(x) = sin 0.1 x 6 f(x) = 4 - 08 |x - 5 7. fix) =x(1...

      please solve 17 for me thanks~~ :) ! temperature f(x) °C, where 5. f(x) = sin 0.1 x 6 f(x) = 4 - 08 |x - 5 7. fix) =x(10 - x) 8 Arbitrarytemperatures at ends. If the ends x = 0 and x= Lof the bar in the text are kept at constant 20. CAS PROJECT. Isotherms. Fim solutions (tempe rature s) in the squa with a 2 satisfying the followin tions. Graph isotherms. (a) u80 sin Tx on...

    ADVERTISEMENT
    Free Homework Help App
    Download From Google Play
    Scan Your Homework
    to Get Instant Free Answers
    Need Online Homework Help?
    Ask a Question
    Get Answers For Free
    Most questions answered within 3 hours.
    ADVERTISEMENT
    ADVERTISEMENT
    ADVERTISEMENT