Tìm số n, biết rằng \(\dfrac{n}{4}\)=1-\(\dfrac{1}{3}+\dfrac{1}{5}-\dfrac{1}{7}+...\)
Với độ chính xác: |1/2n-1| < 10-5
Giúp em giải bài này với ngôn ngữ pascal với ạ.
Em xin cảm ơn trước :D
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.
a) ĐKXĐ: \(x\notin\left\{0;-5\right\}\)
b) Ta có: \(B=\dfrac{x^2+2x}{2x+10}+\dfrac{x-5}{x}+\dfrac{50-5x}{2x\left(x+5\right)}\)
\(=\dfrac{x\left(x^2+2x\right)}{2x\left(x+5\right)}+\dfrac{2\left(x+5\right)\left(x-5\right)}{2x\left(x+5\right)}+\dfrac{50-5x}{2x\left(x+5\right)}\)
\(=\dfrac{x^3+2x^2+2\left(x^2-25\right)+50-5x}{2x\left(x+5\right)}\)
\(=\dfrac{x^3+2x^2+2x^2-50+50-5x}{2x\left(x+5\right)}\)
\(=\dfrac{x^3+4x^2-5x}{2x\left(x+5\right)}\)
\(=\dfrac{x\left(x^2+4x-5\right)}{2x\left(x+5\right)}\)
\(=\dfrac{x^2+4x-5}{2\left(x+5\right)}\)
\(=\dfrac{x^2+5x-x-5}{2\left(x+5\right)}\)
\(=\dfrac{x\left(x+5\right)-\left(x+5\right)}{2\left(x+5\right)}\)
\(=\dfrac{\left(x+5\right)\left(x-1\right)}{2\left(x+5\right)}\)
\(=\dfrac{x-1}{2}\)
Để B=0 thì \(\dfrac{x-1}{2}=0\)
\(\Leftrightarrow x-1=0\)
hay x=1(nhận)
Để \(B=\dfrac{1}{4}\) thì \(\dfrac{x-1}{2}=\dfrac{1}{4}\)
\(\Leftrightarrow x-1=\dfrac{1}{2}\)
hay \(x=\dfrac{3}{2}\)(nhận)
Vậy: Để B=0 thì x=1 và Để \(B=\dfrac{1}{4}\) thì \(x=\dfrac{3}{2}\)
Bài 2
b, `\sqrt{3x^2}=x+2` ĐKXĐ : `x>=0`
`=>(\sqrt{3x^2})^2=(x+2)^2`
`=>3x^2=x^2+4x+4`
`=>3x^2-x^2-4x-4=0`
`=>2x^2-4x-4=0`
`=>x^2-2x-2=0`
`=>(x^2-2x+1)-3=0`
`=>(x-1)^2=3`
`=>(x-1)^2=(\pm \sqrt{3})^2`
`=>` $\left[\begin{matrix} x-1=\sqrt{3}\\ x-1=-\sqrt{3}\end{matrix}\right.$
`=>` $\left[\begin{matrix} x=1+\sqrt{3}\\ x=1-\sqrt{3}\end{matrix}\right.$
Vậy `S={1+\sqrt{3};1-\sqrt{3}}`
\(x^2-x+1-m=0\left(1\right)\\ \text{PT có 2 nghiệm }x_1,x_2\\ \Leftrightarrow\Delta=1-4\left(1-m\right)\ge0\\ \Leftrightarrow4m-3\ge0\Leftrightarrow m\ge\dfrac{3}{4}\\ \text{Vi-ét: }\left\{{}\begin{matrix}x_1+x_2=1\\x_1x_2=1-m\end{matrix}\right.\\ \text{Ta có }5\left(\dfrac{1}{x_1}+\dfrac{1}{x_2}\right)-x_1x_2+4=0\\ \Leftrightarrow5\cdot\dfrac{x_1+x_2}{x_1x_2}-x_1x_2+4=0\\ \Leftrightarrow\dfrac{5}{1-m}+m-1+4=0\\ \Leftrightarrow\dfrac{5}{1-m}+m+3=0\\ \Leftrightarrow5+\left(1-m\right)\left(m+3\right)=0\\ \Leftrightarrow m^2+2m-8=0\\ \Leftrightarrow m^2-2m+4m-8=0\\ \Leftrightarrow\left(m-2\right)\left(m+4\right)=0\\ \Leftrightarrow\left[{}\begin{matrix}m=2\left(n\right)\\m=-4\left(l\right)\end{matrix}\right.\)
Vậy $m=2$
\(=\dfrac{5}{21}+\dfrac{16}{21}-\left(\dfrac{19}{23}+\dfrac{4}{23}\right)+\dfrac{1}{2}=\dfrac{1}{2}\)
a) \(5\sqrt{\dfrac{1}{5}}+\dfrac{1}{3}\sqrt{45}+\dfrac{5-\sqrt{5}}{\sqrt{5}}=\sqrt{5}+\sqrt{5}+\dfrac{\sqrt{5}\left(\sqrt{5}-1\right)}{\sqrt{5}}=\sqrt{5}+\sqrt{5}+\sqrt{5}-1=-1+3\sqrt{5}\)
b) \(\sqrt{7-4\sqrt{3}}+\sqrt{\left(1+\sqrt{3}\right)^2}=\sqrt{\left(2-\sqrt{3}\right)^2}+1+\sqrt{3}=2-\sqrt{3}+1+\sqrt{3}=3\)
a: \(5\sqrt{\dfrac{1}{5}}+\dfrac{1}{3}\sqrt{45}+\dfrac{5-\sqrt{5}}{\sqrt{5}}\)
\(=\sqrt{5}+\sqrt{5}+\sqrt{5}-1\)
\(=3\sqrt{5}-1\)
b: \(\sqrt{7-4\sqrt{3}}+\sqrt{\left(\sqrt{3}+1\right)^2}\)
\(=2-\sqrt{3}+\sqrt{3}+1\)
=3