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

1079 Views

See similar Python Mentoring tutors

Related Python Mentoring answers

All answers ▸

Why would I use dictionaries instead of a list?


With the help of Pandas and Numpy library create a DataFrame with the columns "Name", "Surname", "Age" and "Gender", create as many rows as you want. Print out the result.


Create an rock, paper, scissors game. The user should input one option, and the computer should play randomly.


Write a simple number guessing game, give the user 3 tries to guess a number between 1 and 10


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences