//chapter 9 Ex 1 clc; clear; close; b1=27; p1=2/3; //base and power b2=1024; p2=(-4/5); b3=8/125; p3=(-4/3); //let the values to be found out be x, y and z x=b1^p1; y=b2^p2; z=b3^p3; mprintf("(i)x=%.0f\n(ii) y=%.4f\n(iii) z=%.2f",x,y,z);