summaryrefslogtreecommitdiff
path: root/Basic_Engineering_Mathematics_by_John_Bird/CH35
diff options
context:
space:
mode:
Diffstat (limited to 'Basic_Engineering_Mathematics_by_John_Bird/CH35')
-rw-r--r--Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.11/Ex35_11.R12
-rw-r--r--Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.12/Ex35_12.R9
-rw-r--r--Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.16/Ex35_16.R9
-rw-r--r--Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.25/Ex35_25.R11
-rw-r--r--Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.6/Ex35_6.R9
-rw-r--r--Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.9/Ex35_9.R9
6 files changed, 59 insertions, 0 deletions
diff --git a/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.11/Ex35_11.R b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.11/Ex35_11.R
new file mode 100644
index 00000000..b114395e
--- /dev/null
+++ b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.11/Ex35_11.R
@@ -0,0 +1,12 @@
+#page no.376
+#problem 11
+
+#load package ----->deriv
+library(Deriv)
+#funtion used: D()-------> derivative function w.r.t variable
+#given:
+# (3*x^2-5*x)/2*x ----->((3*x)/2) - (5/2) # expression after solving
+y=expression(((3*x)/2) - (5/2))
+
+result = D(y,'x') # differentiation w.r.t 'x'
+print(result) \ No newline at end of file
diff --git a/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.12/Ex35_12.R b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.12/Ex35_12.R
new file mode 100644
index 00000000..a7d0f3d9
--- /dev/null
+++ b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.12/Ex35_12.R
@@ -0,0 +1,9 @@
+#page no.377
+#problem 12
+#load package ----->deriv
+library(Deriv)
+#funtion used: D()-------> derivative function w.r.t variable
+#given:
+y=expression((2*x^3/5)-(4/x^3) + (4*sqrt(x^5))+7)
+
+D(y,'x') # differentiation w.r.t 'x' \ No newline at end of file
diff --git a/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.16/Ex35_16.R b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.16/Ex35_16.R
new file mode 100644
index 00000000..b7943b5c
--- /dev/null
+++ b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.16/Ex35_16.R
@@ -0,0 +1,9 @@
+#page no.379
+#problem 16
+#load package ----->deriv
+library(Deriv)
+#funtion used: D()-------> derivative function w.r.t variable
+#given:
+y=expression(7*sin(2*x) - 3*cos(4*x)) #sin and cos function derivatives
+
+D(y,'x') # differentiation w.r.t 'x' \ No newline at end of file
diff --git a/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.25/Ex35_25.R b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.25/Ex35_25.R
new file mode 100644
index 00000000..f1c7f575
--- /dev/null
+++ b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.25/Ex35_25.R
@@ -0,0 +1,11 @@
+#page no.382
+#problem 25
+#load package ----->deriv
+library(Deriv)
+#funtion used: D()-------> derivative function w.r.t variable
+#given:
+y=expression(2*x^3/3 - 4/x^2 + 1/2*x -sqrt(x)) #sin and cos function derivatives
+
+D1=D(y,'x') # 1st order differentiation w.r.t 'x'
+D2=D(D1,'x')# 2nd order differentiation w.r.t 'x'
+print(D2) \ No newline at end of file
diff --git a/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.6/Ex35_6.R b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.6/Ex35_6.R
new file mode 100644
index 00000000..aaa5fe2e
--- /dev/null
+++ b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.6/Ex35_6.R
@@ -0,0 +1,9 @@
+#page no.376
+#problem 6
+#load package ----->deriv
+library(Deriv)
+#funtion used: D()-------> derivative function w.r.t variable
+#given:
+y=expression(5*sqrt(x))
+
+D(y,'x') # differentiation w.r.t 'x' \ No newline at end of file
diff --git a/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.9/Ex35_9.R b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.9/Ex35_9.R
new file mode 100644
index 00000000..2338b74e
--- /dev/null
+++ b/Basic_Engineering_Mathematics_by_John_Bird/CH35/EX35.9/Ex35_9.R
@@ -0,0 +1,9 @@
+#page no.376
+#problem 9
+#load package ----->deriv
+library(Deriv)
+#funtion used: D()-------> derivative function w.r.t variable
+#given:
+y=expression(((2*x^4)/3)-(4/x^3)+9)
+
+D(y,'x') # differentiation w.r.t 'x' \ No newline at end of file