Firstly, my question is not Python related, but maths A-level related. I don't know how to change that in my profile but I would like to only tutor maths GCSE and potentially A-level. My question: Integrate sin(x)^3 over x=0 and x=pi/2.

I Cant write up my solution without LaTeX (markup language for mathematical text) and can't seem to find a way to use the whiteboard, so I shall try to explain my answer, and show my answer exactly if need be during the interview.
answer:re-write sin3x as sinxsin2x. Then using the identity of (sinx)^2+(cosx)^2=1, make the relevant substitution. I then expanded the brackets of the sinx. I then integrate sinx as normal and for the sinx(cosx)^2 I use the chain rule. I then evaluate the integral at the limits and obtain 2/3 as the answer.

AS
Answered by Arjun S. Python tutor

1136 Views

See similar Python Mentoring tutors

Related Python Mentoring answers

All answers ▸

What is the difference between DFS and BFS? Where can I apply each?


Create an algorithm that can be used as a guessing game. Make sure to import random at the start.


Write a recursive function to find the factorial of a number n.


Create a python code to sum the number from 1 to 10.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences