summaryrefslogtreecommitdiff
path: root/2735/CH16/EX16.20/Ex16_20.sce
diff options
context:
space:
mode:
Diffstat (limited to '2735/CH16/EX16.20/Ex16_20.sce')
-rwxr-xr-x2735/CH16/EX16.20/Ex16_20.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2735/CH16/EX16.20/Ex16_20.sce b/2735/CH16/EX16.20/Ex16_20.sce
new file mode 100755
index 000000000..a5402c702
--- /dev/null
+++ b/2735/CH16/EX16.20/Ex16_20.sce
@@ -0,0 +1,9 @@
+clc
+clear
+//Initialization of variables
+x=poly(0,"x")
+vec=roots(24*x^3 +48*x^2 + 7*x -4)
+x=vec(3) *100
+//results
+printf("Extent of reaction= %d percent",100-x)
+