






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This mathematica notebook contains solutions to various mathematical problems involving functions, differentiation, integration, and plotting. The problems include defining functions, computing derivatives and integrals, solving equations, and plotting functions. The solutions are obtained using mathematica functions such as factor, expand, simplify, integrate, solve, and plot.
Typology: Study Guides, Projects, Research
1 / 12
This page cannot be seen from the preview
Don't miss anything!







f@x_D = H6 x ^ 2 - 18 x + 12 L Exp@-x ê 2 D Cos@5 xD „- x ê^2 I 6 x^2 - 18 x + 12 M cosH 5 x L
Factor@f@xDD 6 „- x ê^2 H x - 2 L H x - 1 L cosH 5 x L
Expand@f@xDD 6 „- x ê^2 cosH 5 x L x^2 - 18 „- x ê^2 cosH 5 x L x + 12 „- x ê^2 cosH 5 x L
Simplify@f@xDD 6 „- x ê^2 I x^2 - 3 x + 2 M cosH 5 x L
FullSimplify@f@xDD 6 „- x ê^2 HH x - 3 L x + 2 L cosH 5 x L
df@x_D = D@f@xD, xD
„- x ê^2 H 12 x - 18 L cosH 5 x L - ÄÄÄÄÄ
„- x ê^2 I 6 x^2 - 18 x + 12 M cosH 5 x L - 5 „- x ê^2 I 6 x^2 - 18 x + 12 M sinH 5 x L
Simplify@df@xDD
Plot@8f@xD, df@xD<, 8 x, - 1, 1 <, PlotRange Æ All, Frame Æ True, PlotLabel Æ "Math 3350 Project 1, solutions: Problem 1"D
0
100
g@x_D = Integrate@f@xD, xD
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
6 „- x ê^2 I 20 I10 201 x^2 - 29 795 x + 18 414M sinH 5 x L - 2 I10 201 x^2 - 70 599 x + 78 004M cosH 5 x LM
Plot@y@xD, 8 x, - 8, 8 <, Frame Æ True, PlotLabel Æ "Math 3350 Project 1 solutions, Problem 2"D
Problem 3
ClearAll@algSoln, yD
2
algSoln = Solve@Log@y ^ 2 ê H 1 - y ^ 2LD ä x, yD
:: y Æ - ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ „ x ê^2 è!!!!!!!!!!!!!!!! 1 + „ x!^ >,^ : y^ Æ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
„ x ê^2 è!!!!!!!!!!!!!!!! 1 + „ x!^ >>
posSoln = algSoln@@ 2 DD
: y Æ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
„ x ê^2 è!!!!!!!!!!!!!!!! 1 + „ x!^ > y@x_D = y ê. posSoln
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ „ x ê^2 è!!!!!!!!!!!!!!!! 1 + „ x!
Plot@y@xD, 8 x, - 8, 8 <, Frame Æ True, PlotLabel Æ "Math 3350 Project 1 solutions, Problem 3"D
Problem 4
ClearAll@h, g, H, G, algEqn, solnD g@x_D = 2 x 2 x
h@y_D = 3 y ^ 2 3 y^2
G@x_D = Integrate@g@xD, xD x^2 H@y_D = Integrate@h@yD, yD y^3
Plot@soln@xD, 8 x, - 4, 4 <, Frame Æ True, PlotLabel Æ "Math 3350, Project 1 solutions, Problem 4"D
Problem 5
ClearAll@g, h, G, H, algEqn, solnD g@x_D = x + Cos@5 xD x + cosH 5 x L h@y_D = y ^ 3 y^3 x0 = 0 0 y0 = 1 1
G@x_D = Integrate@g@xD, xD
ÄÄÄÄÄÄÄÄ x^2 2
sinH 5 x L
H@y_D = Integrate@h@yD, yD
ÄÄÄÄÄÄÄÄ y^4 4
algEqn = H@yD - H@y0D ä G@xD - G@x0D
ÄÄÄÄÄÄÄÄ y^4 4
á ÄÄÄÄÄÄÄÄ x^2 2
sinH 5 x L
algSoln = Solve@algEqn, yD
:: y Æ -"##### 2 &''''''''''''''''''''''''''''''''''''''''''''''''ÄÄÄÄÄÄÄÄ x^2 2
sinH 5 x L + ÄÄÄÄÄ
(^4) >, : y Æ -‰ "##### 2 &''''''''''''''''''''''''''''''''''''''''''''''''ÄÄÄÄÄÄÄÄ^ x
2 2
sinH 5 x L + ÄÄÄÄÄ
: y Æ ‰ "##### 2 &''''''''''''''''''''''''''''''''''''''''''''''''ÄÄÄÄÄÄÄÄ
x^2 2
sinH 5 x L + ÄÄÄÄÄ
(^4) >, : y Æ "##### 2 &''''''''''''''''''''''''''''''''''''''''''''''''ÄÄÄÄÄÄÄÄ x^2 2
sinH 5 x L + ÄÄÄÄÄ
soln@x_D = y ê. algSoln@@ 4 DD
"##### 2 &''''''''''''''''''''''''''''''''''''''''''''''''ÄÄÄÄÄÄÄÄ^ x^2 2
sinH 5 x L + ÄÄÄÄÄ
4
ü Check the solution
LHS = D@soln@xD, xD
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ x + cosH 5 x L 2 è!!!!! 2 J ÄÄÄÄÄÄ^ x 22 + ÄÄÄ^15 sinH 5 x L + ÄÄÄ^14 N
3 ê 4
RHS = g@xD ê h@soln@xDD
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
x + cosH 5 x L 2 è!!!!! 2 J ÄÄÄÄÄÄ^ x 22 + ÄÄÄ^15 sinH 5 x L + ÄÄÄ^14 N
3 ê 4
FullSimplify@LHSD ä FullSimplify@RHSD True
soln@ 0 D ä 1 True
y@x_D = 1 ê mu@xD Hmu@x0D y0 + Integrate@mu@xD q@xD, 8 x, x0, x<DL
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
ÄÄÄÄÄÄ^ x 44 + ÄÄÄ^34 x^2
ü Check the solution
LHS = D@y@xD, xD + p@xD y@xD x
RHS = q@xD x FullSimplify@LHSD ä FullSimplify@RHSD True
y@x0D ä y True
ü Plot the solution
Plot@y@xD, 8 x, 1, 4 <, Frame Æ True, PlotLabel Æ "Math 3350, Project 1 solutions, problem 6"D
1.0 1.5 2.0 2.5 3.0 3.5 4.
Problem 7
ClearAll@p, q, mu, y, x0, y0D p@x_D = 3 + 2 ê H 1 + xL
3 + ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
x + 1 q@x_D = x Cos@3 xD + 7 x ^ 3 Exp@-xD Sin@2 xD + Cos@xD + x ^ 2 Exp@-x ê 2 D 7 „- x^ sinH 2 x L x^3 + „- x ê^2 x^2 + cosH 3 x L x + cosH x L x0 = 0 0
y0 = 1 1
mu@x_D = Exp@Integrate@p@xD, xDD „^3 x^ H x + 1 L^2
y@x_D = 1 ê mu@xD Hmu@x0D y0 + Integrate@mu@xD q@xD, 8 x, 0, x<DL
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
H x + 1 L^2
„-^3 x^
i k
jjjj jjj ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
2 „^5 x ë^2 H 625 x^4 + 250 x^3 + 325 x^2 - 260 x + 104 L 3125 + ÄÄÄÄÄÄÄÄÄÄÄÄÄ
3 x (^) I 75 x (^2) + 110 x + 44 M cosH x L -
2 x (^) I 16 x (^5) - 8 x (^4) - 8 x (^3) + 24 x (^2) - 18 x + 3 M cosH 2 x L + ÄÄÄÄÄÄÄÄÄ^1 54 „
3 x (^) I 9 x (^3) + 18 x (^2) + 6 x - 1 M cosH 3 x L + ÄÄÄÄÄÄÄÄÄÄÄÄÄ^1 250 „
3 x (^) I 25 x (^2) + 20 x + 8 M
sinH x L + ÄÄÄÄÄÄÄÄÄ
2 x (^) I 8 x (^5) + 16 x (^4) - 12 x (^3) + 6 x (^2) + 3 x - 3 M sinH 2 x L + ÄÄÄÄÄÄÄÄÄ^1 54 „
3 x (^) I 9 x (^3) + 9 x (^2) - 1 M sinH 3 x L + ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ^ 5 962 051 5 400 000
y {
zzzz zzz
ü Check the solution
LHS = Simplify@ D@y@xD, xD + p@xD y@xD D cosH x L + x IcosH 3 x L + „- x^ x I 7 x sinH 2 x L + „ x ê^2 MM RHS = q@xD 7 „- x^ sinH 2 x L x^3 + „- x ê^2 x^2 + cosH 3 x L x + cosH x L