Viết chương trình tính giá trị biểu thức sau :
a. \(\dfrac{[(15+20)^2-100]}{2}\)
b. \(15+20-\dfrac{\left(50+7\right)^2}{5}\)
c. \(15+20+\dfrac{\left(45-20\right)\left(15+20\right)}{3}\)
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.
=\(\left[\dfrac{\left(0,4.2\right)^5}{\left(0,4\right)^6}+\dfrac{2^9.2^6.3^8}{\left(3.2\right)^6.2^9}\right]=\left[\dfrac{\left(0,4\right)^5.2^5}{\left(0,4\right)^6}+\dfrac{2^6.3^8}{3^6.2^6}\right]\)
=\(\left[\dfrac{2^5}{0,4}+3^2\right]\)
=\(\left[80+9\right]=89\)
\(\left[\dfrac{\left(2.0,4\right)^5}{0,4,0,4^5}+\dfrac{2^{15}.3^8}{3^6.2^6.2^9}\right]\div\dfrac{3^{20}.5^{30}}{3^{15}.5^{30}}\)
\(=\left[\dfrac{2^5.0.4^5}{0,4.0,4^5}+\dfrac{2^{15}.3^8}{3^6.2^{15}}\right]\div3^5\)
\(=\left[\dfrac{2^5}{0,4}+3^2\right]\div243\)
\(=80+\left(3^5\div3^2\right)\)
\(=80+3^3\)
\(=80+27\)
\(=107\)
\(1,\\ a,=\left(\dfrac{1}{4}\right)^3\cdot32=\dfrac{1}{64}\cdot32=\dfrac{1}{2}\\ b,=\left(\dfrac{1}{8}\right)^3\cdot512=\dfrac{1}{512}\cdot512=1\\ c,=\dfrac{2^6\cdot2^{10}}{2^{20}}=\dfrac{1}{2^4}=\dfrac{1}{16}\\ d,=\dfrac{3^{44}\cdot3^{17}}{3^{30}\cdot3^{30}}=3\\ 2,\\ a,A=\left|x-\dfrac{3}{4}\right|\ge0\\ A_{min}=0\Leftrightarrow x=\dfrac{3}{4}\\ b,B=1,5+\left|2-x\right|\ge1,5\\ A_{min}=1,5\Leftrightarrow x=2\\ c,A=\left|2x-\dfrac{1}{3}\right|+107\ge107\\ A_{min}=107\Leftrightarrow2x=\dfrac{1}{3}\Leftrightarrow x=\dfrac{1}{6}\)
\(d,M=5\left|1-4x\right|-1\ge-1\\ M_{min}=-1\Leftrightarrow4x=1\Leftrightarrow x=\dfrac{1}{4}\\ 3,\\ a,C=-\left|x-2\right|\le0\\ C_{max}=0\Leftrightarrow x=2\\ b,D=1-\left|2x-3\right|\le1\\ D_{max}=1\Leftrightarrow x=\dfrac{3}{2}\\ c,D=-\left|x+\dfrac{5}{2}\right|\le0\\ D_{max}=0\Leftrightarrow x=-\dfrac{5}{2}\)
a: =11+3/4-6-5/6+4+1/2+1+2/3
=10+9/12-10/12+6/12+8/12
=10+13/12=133/12
b: \(=2+\dfrac{17}{20}-1-\dfrac{11}{15}+2+\dfrac{3}{20}\)
=3-11/15
=34/15
c: \(=\dfrac{31}{7}:\left(\dfrac{7}{5}\cdot\dfrac{31}{7}\right)\)
\(=\dfrac{31}{7}:\dfrac{31}{5}=\dfrac{5}{7}\)
d: \(=\dfrac{29}{8}\cdot\dfrac{36}{29}\cdot\dfrac{15}{23}\cdot\dfrac{23}{5}=\dfrac{9}{2}\cdot3=\dfrac{27}{2}\)
1) \(A=2\sqrt{5}-6\sqrt{2}+3\sqrt{5}=5\sqrt{5}-6\sqrt{2}\)
2) \(B=\dfrac{30\left(\sqrt{7}+1\right)}{7-1}+\dfrac{15\left(\sqrt{7}-2\right)}{7-4}=5\sqrt{7}+5+5\sqrt{7}-10=-5+10\sqrt{7}\)
3) \(C=\left(3-\dfrac{\sqrt{5}\left(\sqrt{5}-1\right)}{\sqrt{5}-1}\right)\left(3+\dfrac{\sqrt{5}\left(\sqrt{5}+1\right)}{\sqrt{5}+1}\right)=\left(3-\sqrt{5}\right)\left(3+\sqrt{5}\right)=9-5=4\)
4) \(D=3-\sqrt{2}+1-\sqrt{2}=4-2\sqrt{2}\)
a) \(\sqrt{200}-\sqrt{32}+\sqrt{72}\)
\(=\sqrt{10^2\cdot2}-\sqrt{4^2\cdot2}+\sqrt{6^2\cdot2}\)
\(=10\sqrt{2}-4\sqrt{2}+6\sqrt{2}\)
\(=\left(10-4+6\right)\sqrt{2}\)
\(=12\sqrt{2}\)
b) \(4\sqrt{20}-3\sqrt{125}+5\sqrt{45}-15\sqrt{\dfrac{1}{5}}\)
\(=4\cdot2\sqrt{5}-3\cdot5\sqrt{5}+5\cdot3\sqrt{5}-3\sqrt{5}\)
\(=8\sqrt{5}-15\sqrt{5}+15\sqrt{5}-3\sqrt{5}\)
\(=\left(8-15+15-3\right)\sqrt{5}\)
\(=5\sqrt{5}\)
c) \(\left(2\sqrt{8}+3\sqrt{5}-7\sqrt{2}\right)\left(72-5\sqrt{20}-2\sqrt{2}\right)\)
\(=\left(2\cdot2\sqrt{2}+3\sqrt{5}-7\sqrt{2}\right)\left(72-5\cdot2\sqrt{5}-2\sqrt{2}\right)\)
\(=\left(3\sqrt{5}-3\sqrt{2}\right)\left(72-10\sqrt{5}-2\sqrt{2}\right)\)
a, \(\dfrac{5}{7}+\left(\dfrac{3}{5}+\dfrac{-5}{7}\right)\)
\(=\dfrac{5}{7}+\dfrac{-5}{7}+\dfrac{3}{5}
=0+\dfrac{3}{5}=\dfrac{3}{5}\)
b, \(=\dfrac{-3}{4}-\dfrac{15}{14}:\dfrac{-5}{7}+\left(-1\right)^2=\dfrac{-3}{4}-\dfrac{-3}{2}+1=\dfrac{-3}{4}-\dfrac{-6}{4}+1=\dfrac{3}{4}+1=\dfrac{7}{4}\)
c, \(\dfrac{-5}{9}+\left(\dfrac{-2}{3}\right)^2.\left(20\%-1.2\right)=\dfrac{-5}{9}+\dfrac{4}{9}x\left(\dfrac{1}{5}-\dfrac{6}{5}\right)=\dfrac{-5}{9}+\dfrac{4}{9}x\left(-1\right)=\dfrac{-5}{9}+\dfrac{-4}{9}=-1\)
Bài 1:
a) \(\dfrac{5}{7}+\left(\dfrac{3}{5}+\dfrac{-5}{7}\right)\)\(=\left(\dfrac{5}{7}+\dfrac{-5}{7}\right)+\dfrac{3}{5}\)\(=0+\dfrac{3}{5}=\dfrac{3}{5}\)
b) \(\dfrac{-3}{4}-\dfrac{15}{14}:\dfrac{-5}{7}+\left(-1\right)^2\)\(=\dfrac{-3}{4}-\dfrac{15}{14}:\dfrac{-5}{7}+1\)\(=\dfrac{-3}{4}-\dfrac{-3}{2}+1\)
\(=\dfrac{3}{4}+1\)\(=\dfrac{7}{4}\)
d)
\(\dfrac{3^9.3^{20}.2^8}{3^{24}.243.2^6}\\ =\dfrac{3^{29}.2^6.2^2}{3^{24}.3^5.2^6}\\ =\dfrac{3^{29}.2^6.4}{3^{29}.2^6}\\ =4\)
e)
\(\dfrac{2^{15}.5^3.2^6.3^4}{8.2^{18}.81.5}\\ =\dfrac{2^{21}.5^3.3^4}{2^3.2^{18}3^4.5}\\ =\dfrac{2^{21}.5.5^2.3^4}{2^{21}.3^4.5}\\ =5^2\\ =25\)
f)
\(=\dfrac{24\left(315+561+124\right)}{\dfrac{\left(1+99\right).50}{2}-500}\\ =\dfrac{24.1000}{2500-500}\\ =12\)
\(a,\dfrac{-14.15}{21.\left(-10\right)}=\dfrac{-7.2.3.5}{7.3.\left(-2\right).5}=1\)
\(b,\dfrac{5.7-7.9}{7.2+6.7}=\dfrac{7\left(5-9\right)}{7\left(2+6\right)}=\dfrac{-4}{8}=-\dfrac{1}{2}\)
\(c,\dfrac{\left(-7\right).3+2.\left(-14\right)}{\left(-5\right).7-2.7}=\dfrac{-7.\left(3+4\right)}{7\left(-5-2\right)}\)
\(=\dfrac{\left(-7\right).7}{7.\left(-7\right)}=1\)
\(d,\dfrac{3^9.3^{20}.2^8}{3^{24}.243.2^6}=\dfrac{3^{29}.2^8}{3^{24}.3^5.2^6}=\dfrac{3^{29}.2^8}{3^{29}.2^6}=2^2=4\)
\(e,\dfrac{2^{15}.5^3.2^6.3^4}{8.2^{18}.81.5}=\dfrac{2^{21}.3^4.5^3}{2^{18}.2^3.3^4.5}=\dfrac{2^{21}.3^4.5^3}{2^{21}.3^4.5}=5^2=25\)
\(f,\dfrac{24.315+3.561.8+4.124.6}{1+3+5+...+97+99-500}\)
\(=\dfrac{24.315+24.561+24.124}{1+3+5+...+97+99-500}\)
\(=\dfrac{24\left(315+561+124\right)}{1+3+5+...+97+99-500}\)
\(=\dfrac{24.1000}{1+3+5+...+97+99-500}\) (1)
Đặt A = 1 + 3 + 5 + ... + 97 + 99
Số số hạng trong A là: (99 - 1) : 2 + 1 = 50 (số)
Tổng A bằng: (99 + 1) . 50 : 2 = 2500
Thay A = 2500 vào biểu thức (1), ta được:
\(\dfrac{24.1000}{2500-500}=\dfrac{24.1000}{2.1000}=12\)
\(a,\dfrac{45^{10}.5^{20}}{75^{15}}=\dfrac{\left(3^2\right)^{10}.5^{10}.5^{20}}{\left(5^2\right)^{15}.3^{15}}=\dfrac{3^{20}.5^{30}}{5^{30}.3^{15}}=3^5=243\)
\(b,\dfrac{\left(0,8\right)^5}{\left(0,4\right)^6}=\dfrac{\left(0,4.2\right)^5}{\left(0.4\right)^6}=\dfrac{\left(0.4\right)^5.2^5}{\left(0,4\right)^6}=\dfrac{2^5}{0,4}=\dfrac{32}{0,4}=80\)
a,\(\dfrac{45^{10}.5^{20}}{75^{15}}=\dfrac{3^{20}.5^{30}}{3^{15}.3^{30}}=3^5=243\)
b,\(\dfrac{\left(0,8\right)^5}{0,4^6}=\dfrac{0,4^5.2^5}{0,4^6}=\dfrac{2^5}{0,4}=80\)
a) [(15+20) * (15+20) - 100]/2
b) 15 + 20 - [(50+7)*(50+7)]/5
c) 15 + 20 + [(45-20)(15+20)]/3
a) Writeln(` [(15+20)*(15+20) - 100]/ 2' , [(15+20)*(15+20) - 100]/2 ) ;
b) Writeln ('15+20 - (50+7)*(50+7)/5= ' , 15+20 - (50+7)*(50+7)/6 ) ;
c) Writeln ( ' 15 + 20 + (45-20)* (15+20)/3 = ' , 15+20 +(45-20)*(15+20)/3 );