clear all
close all
clc


y=@(x) x.^(1/3);

z=@(x) x.^30;

x=0.92-0.005:0.0001:0.92+0.005;

m1=0.9726-0.0017;
m2=0.9726+0.0017;

plot(x,y(x),[x(1),x(end)],[m1,m1],[x(1),x(end)],[m2,m2])

xlabel('x')
ylabel('y')
title('Error variation for y(x)')

figure

q1=0.08197-0.013;
q2=0.08197+0.013;

plot(x,z(x),[x(1),x(end)],[q1,q1],[x(1),x(end)],[q2,q2])

xlabel('x')
ylabel('z')
title('Error variation for z(x)')