summaryrefslogtreecommitdiff
path: root/1553/CH9
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH9')
-rw-r--r--1553/CH9/EX9.1/9Ex1.sce11
-rw-r--r--1553/CH9/EX9.10/9Ex10.sce7
-rw-r--r--1553/CH9/EX9.13/9Ex13.sce10
-rw-r--r--1553/CH9/EX9.14/9Ex14.sce10
-rw-r--r--1553/CH9/EX9.2/9Ex2.sce13
-rw-r--r--1553/CH9/EX9.3/9Ex3.sce11
-rw-r--r--1553/CH9/EX9.4/9Ex4.sce12
-rw-r--r--1553/CH9/EX9.5/9EX5.sce7
-rw-r--r--1553/CH9/EX9.6/9Ex6.sce7
-rw-r--r--1553/CH9/EX9.7/9Ex7.sce15
-rw-r--r--1553/CH9/EX9.8/9Ex8.sce9
-rw-r--r--1553/CH9/EX9.9/9Ex9.sce7
12 files changed, 119 insertions, 0 deletions
diff --git a/1553/CH9/EX9.1/9Ex1.sce b/1553/CH9/EX9.1/9Ex1.sce
new file mode 100644
index 000000000..1fe7e7039
--- /dev/null
+++ b/1553/CH9/EX9.1/9Ex1.sce
@@ -0,0 +1,11 @@
+//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);
diff --git a/1553/CH9/EX9.10/9Ex10.sce b/1553/CH9/EX9.10/9Ex10.sce
new file mode 100644
index 000000000..517eaab8c
--- /dev/null
+++ b/1553/CH9/EX9.10/9Ex10.sce
@@ -0,0 +1,7 @@
+//Chapter 9 Ex 10
+
+clc;
+clear;
+close;
+x=((6^(2/3))*(6^(7/3)))/(6^(6/3));
+mprintf("The value of expression is %d",x);
diff --git a/1553/CH9/EX9.13/9Ex13.sce b/1553/CH9/EX9.13/9Ex13.sce
new file mode 100644
index 000000000..02d818ac7
--- /dev/null
+++ b/1553/CH9/EX9.13/9Ex13.sce
@@ -0,0 +1,10 @@
+//chapter 9 Ex 13
+
+clc;
+clear;
+close;
+
+a=sqrt(2); b=nthroot(3,3);
+v=[a b];
+v=gsort(v,'lc','i');
+mprintf("%.3f > %.3f i.e b>a",v(2),v(1));
diff --git a/1553/CH9/EX9.14/9Ex14.sce b/1553/CH9/EX9.14/9Ex14.sce
new file mode 100644
index 000000000..850f9c2f1
--- /dev/null
+++ b/1553/CH9/EX9.14/9Ex14.sce
@@ -0,0 +1,10 @@
+//chapter 9 Ex 14
+
+clc;
+clear;
+close;
+
+a=nthroot(6,4); b=sqrt(2); c=nthroot(4,3);
+v=[a b c];
+v=gsort(v,'lc','i');
+mprintf("Largest number is %.3f",v(3));
diff --git a/1553/CH9/EX9.2/9Ex2.sce b/1553/CH9/EX9.2/9Ex2.sce
new file mode 100644
index 000000000..1993dcbe9
--- /dev/null
+++ b/1553/CH9/EX9.2/9Ex2.sce
@@ -0,0 +1,13 @@
+//Chapter 9 Ex 2
+
+clc;
+clear;
+close;
+
+//(i)
+x1=(0.00032)^(3/5);
+
+//(ii)
+x2=((256)^(0.16))*((16)^(0.18));
+
+mprintf("The value of expression 1 and expression 2 are %.3f and %d",x1,x2);
diff --git a/1553/CH9/EX9.3/9Ex3.sce b/1553/CH9/EX9.3/9Ex3.sce
new file mode 100644
index 000000000..97d3cc56e
--- /dev/null
+++ b/1553/CH9/EX9.3/9Ex3.sce
@@ -0,0 +1,11 @@
+//chapter 9 Ex 3
+
+clc;
+clear;
+close;
+x=poly(0,'x');
+//let the answer to be found out be ans
+mprintf("The quotient is:\n");
+ans=(x^(-1)-1)/(x-1)
+disp(ans)
+
diff --git a/1553/CH9/EX9.4/9Ex4.sce b/1553/CH9/EX9.4/9Ex4.sce
new file mode 100644
index 000000000..a0787e61b
--- /dev/null
+++ b/1553/CH9/EX9.4/9Ex4.sce
@@ -0,0 +1,12 @@
+//Chapter 9 Ex 4
+
+clc;
+close;
+clear;
+x=poly(0,'x');
+for x=1:20
+ if ((2^(x-1))+(2^(x+1)))==1280
+ break;
+ end
+end
+mprintf("The value of x is %d",x);
diff --git a/1553/CH9/EX9.5/9EX5.sce b/1553/CH9/EX9.5/9EX5.sce
new file mode 100644
index 000000000..32f000d25
--- /dev/null
+++ b/1553/CH9/EX9.5/9EX5.sce
@@ -0,0 +1,7 @@
+//Chapter 9 Ex 5
+
+clc;
+clear;
+close;
+x=(5*((8^(1/3))+(27^(1/3)))^3)^(1/4);
+mprintf("The value of expression is %d",x);
diff --git a/1553/CH9/EX9.6/9Ex6.sce b/1553/CH9/EX9.6/9Ex6.sce
new file mode 100644
index 000000000..ea7f4565a
--- /dev/null
+++ b/1553/CH9/EX9.6/9Ex6.sce
@@ -0,0 +1,7 @@
+//Chapter 9 Ex 6
+
+clc;
+clear;
+close;
+x=(16^(3/2))+(16^(-3/2));
+mprintf("The value of x is %.3f",x);
diff --git a/1553/CH9/EX9.7/9Ex7.sce b/1553/CH9/EX9.7/9Ex7.sce
new file mode 100644
index 000000000..9832f6256
--- /dev/null
+++ b/1553/CH9/EX9.7/9Ex7.sce
@@ -0,0 +1,15 @@
+//chapter 9 Ex 7
+
+clc;
+clear;
+close;
+//let the value be x
+y=poly(0,'y');
+for y=1:10
+ if ((1/5)^(y))==nthroot(.008,3)
+ mprintf("y=%d",y);
+ break;
+ end
+end
+ans=.25^y;
+mprintf("\n ans=%.2f",ans);
diff --git a/1553/CH9/EX9.8/9Ex8.sce b/1553/CH9/EX9.8/9Ex8.sce
new file mode 100644
index 000000000..cdd181afb
--- /dev/null
+++ b/1553/CH9/EX9.8/9Ex8.sce
@@ -0,0 +1,9 @@
+//Chapter 9 Ex 8
+
+clc;
+clear;
+close;
+n=1; //assuming
+expr=((243^(n/5))*(3^(2*n+1)))/((9^n)*(3^(n-1)));
+mprintf("The value of expression is %d",expr);
+
diff --git a/1553/CH9/EX9.9/9Ex9.sce b/1553/CH9/EX9.9/9Ex9.sce
new file mode 100644
index 000000000..402492a7d
--- /dev/null
+++ b/1553/CH9/EX9.9/9Ex9.sce
@@ -0,0 +1,7 @@
+//Chapter 9 Ex 9
+
+clc;
+clear;
+close;
+x=(2^(1/4)-1)*((2^(3/4))+(2^(1/2))+(2^(1/4))+1);
+mprintf("The value of the expression is %.0f",x);