You are on page 1of 1

SCRIPT

function grafico
r1=0:10:1221.5;
x1=(r1/6371);
f1=(13.0885-8.8381*x1.^2)*(1/1000)*(1000000/1);

r2=1221.5:10:3480;
x2=(r2/6371);
f2=(12.5815-1.2638*x2-3.6426*x2.^2-5.5281*x2.^3)*(1/1000)*(1000000/1);

r3=3480:10:6371;
x3=(r3/6371);
f3=(7.9565-6.4761*x3+5.5283*x3.^2-3.0807*x3.^3)*(1/1000)*(1000000/1);
plot(r1,f1,r2,f2,r3,f3,'r')

You might also like