hãy viết chương trình cho bài toán nhập vào một mảng gồm n cầu cá nhân Qi. Yêu cầu:
1. In mảng cầu cá nhân vừa nhập ra màn hình
2. In ra giá trị trung bình của cầu cá nhân
viết bằng c++, cứu tuii tui sắp thii
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
Trên \(\left[0;3\right]\) hàm \(y=x^2-3x\) âm nên ta cần "xoay" nó lên thành \(y=3x-x^2\)
Khi đó:
Pt hoành độ giao điểm trên \(\left[0;3\right]\): \(3x-x^2=x\Rightarrow\left[{}\begin{matrix}x=0\\x=2\end{matrix}\right.\)
Pt hoành độ giao điểm với \(x>3\): \(x^2-3x=x\Rightarrow x=4\)
Do đó:
\(V=\pi\int\limits^2_0\left(3x-x^2\right)^2dx+\pi\int\limits^4_2x^2dx-\pi\int\limits^4_3\left(x^2-3x\right)^2dx=\dfrac{611\pi}{30}\)
\(\Rightarrow18a-300b=1998\)
I visit our uncle's house not only in spring but also in autummn.
I visit our uncle's house not only in sping but also in autumn
In the study of events in Vietnam and throughout world history, we examine the past and present.
We study events in the past and present in Vietnam and throughout the world in history