summaryrefslogtreecommitdiff
path: root/3588/CH6/EX6.7/EX6_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3588/CH6/EX6.7/EX6_7.sce')
-rw-r--r--3588/CH6/EX6.7/EX6_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3588/CH6/EX6.7/EX6_7.sce b/3588/CH6/EX6.7/EX6_7.sce
new file mode 100644
index 000000000..8bc410036
--- /dev/null
+++ b/3588/CH6/EX6.7/EX6_7.sce
@@ -0,0 +1,13 @@
+//Clearing console
+clc
+clear
+
+//Intializing variables
+x0 = -1
+x1 = 1
+
+//Integrating given function
+f = [integrate('r^2 -3*r+7','r',x0,x1)]
+
+printf('\nResults')
+printf('\nIntegration of given function f =%f',f)