Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

We want to define and plot two functions and compute the area under each functio

ID: 2898608 • Letter: W

Question

We want to define and plot two functions and compute the area under each function and under the difference and sum of the two functions.

a. Define function A(t)=3sint and B(t)=2Cost
b. Plot A(t) and B(t)
c. compute area under A(t) between [0,Pi]
d. compute area under B(t) between [0,Pi]
e. find area between the curves A(t) and B(t) between [0, Pi]
f. Define H(t)=A(t)+B(t)
g. plot H(t)
h. compute the area under H(t) between [0,Pi]



i know what operations to use to perform this on paper but the mathematica coding is throwing me off. thanks

Explanation / Answer

A[t_] = 3*Sin[t] B[t_] = 2*Cos[t] Plot[A[t], {t, 0, Pi}] Plot[B[t], {t, 0, Pi}] Area1 = Integrate[A[t], {t, 0, Pi}] Solve[B[t] == 0, t] (* We get x=pi/2 *) Area2 = Integrate[B[t], {t, 0, Pi/2}] + Abs[Integrate[B[t], {t, Pi/2, Pi}]] Plot[{A[t], B[t]}, {t, 0, Pi}] H[t_] = A[t] - B[t] Plot[H[t], {t, 0, Pi}]

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote