Exer 4-15

# Exer 4-15 - plot(R,UL,'ok'); hold on; plot(R,UQ,'sk')

This preview shows page 1. Sign up to view the full content.

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 5 10 15 20 25 30 r/R o T Comparison Plot Exercise 4.15, T o =0, qR o 2 /k = 100 FEA Linear FEA Quadratic Exact Solution Homework 4.15 Comparisons (Using MATLAB) % Exercise 4.15 – Plot of Results clc To=0;T1=100;% Note T1=qRo^2/k R=[0,0.5,1];% for discrete plotting of FEA results r=0:0.1:1;% for continuous plotting of exact solution T=To+(T1/4)*(1-(r.^2)); UL=[To+(5/18)*T1,To+(7/36)*T1,To]; UQ=[To+(1/4)*T1,To+(3/16)*T1,To];
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: plot(R,UL,'ok'); hold on; plot(R,UQ,'sk') plot(r,T,'k-','linewidth',2) xlabel('r/R_o');ylabel('T') grid on legend('FEA Linear','FEA Quadratic','Exact Solution') title('Comparison Plot Exercise 4.15, T_o=0, qR_o^2/k = 100') line(R,UL,'color','k','linewidth',2); 2 1 18 5 T k R q U e L + = 2 2 2 1 16 3 4 T k R q U T k R q U e Q e Q + = + = 2 2 36 7 T k R q U e L + =...
View Full Document

## This note was uploaded on 10/03/2011 for the course MCE 561 taught by Professor Sadd during the Spring '11 term at Rhode Island.

Ask a homework question - tutors are online