Những câu hỏi liên quan
Vũ Khôi Nguyên
Xem chi tiết
Mỹ Tâm
Xem chi tiết
Nguyễn Việt Lâm
1 tháng 11 2021 lúc 14:48

\(y'=\dfrac{\left(-2x+2\right)\left(x-3\right)-\left(-x^2+2x+c\right)}{\left(x-3\right)^2}=\dfrac{-x^2+6x-6-c}{\left(x-3\right)^2}\)

\(\Rightarrow\) Cực đại và cực tiểu của hàm là nghiệm của: \(-x^2+6x-6-c=0\) (1)

\(\Delta'=9-\left(6+c\right)>0\Rightarrow c< 3\)

Gọi \(x_1;x_2\) là 2 nghiệm của (1) \(\Rightarrow\left\{{}\begin{matrix}-x_1^2+6x_1-6=c\\-x_2^2+6x_2-6=c\end{matrix}\right.\)

\(\Rightarrow m-M=\dfrac{-x_1^2+2x_1+c}{x_1-3}-\dfrac{-x_2^2+2x_2+c}{x_2-3}=4\)

\(\Leftrightarrow\dfrac{-2x_1^2+8x_1-6}{x_1-3}-\dfrac{-2x_2^2+8x_2-6}{x_2-3}=4\)

\(\Leftrightarrow2\left(1-x_1\right)-2\left(1-x_2\right)=4\)

\(\Leftrightarrow x_2-x_1=2\)

Kết hợp với Viet: \(\left\{{}\begin{matrix}x_2-x_1=2\\x_1+x_2=6\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}x_1=2\\x_2=4\end{matrix}\right.\)

\(\Rightarrow c=2\)

Có 1 giá trị nguyên

Bình luận (0)
Hung Do Van
Xem chi tiết
Nguyễn Lê Phước Thịnh
4 tháng 5 2021 lúc 13:03

Câu 1: 

const fi='dulieu.dat'

fo='thaythe.out'

var f1,f2:text;

a:array[1..100]of string;

n,d,i,vt:integer;

begin

assign(f1,fi); reset(f1);

assign(f2,fo); rewrite(f2);

n:=0;

while not eof(f1) do 

  begin

n:=n+1;

readln(f1,a[n]);

end;

for i:=1 to n do 

  begin

d:=length(a[i]);

vt:=pos('anh',a[i]);

while vt<>0 do 

  begin

delete(a[i],vt,3);

insert('em',a[i],vt);

vt:=pos('anh',a[i]);

end;

end;

for i:=1 to n do 

  writeln(f2,a[i]);

close(f1);

close(f2);

end.

Bình luận (0)
Nguyễn Lê Phước Thịnh
4 tháng 5 2021 lúc 13:05

Câu 2: 

uses crt;

const fi='mang.inp'

fo='sapxep.out'

var f1,f2:text;

a:array[1..100]of integer;

i,n,tam,j:integer;

begin

clrscr;

assign(f1,fi); rewrite(f1);

assign(f2,fo); rewrite(f2);

write('Nhap n='); readln(n);

for i:=1 to n do 

  begin

write('A[',i,']='); readln(a[i]);

end;

for i:=1 to n do 

  write(f1,a[i]:4);

for i:=1 to n-1 do 

  for j:=i+1 to n do 

if a[i]>a[j] then

begin

tam:=a[i];

a[i]:=a[j];

a[j]:=tam;

end;

for i:=1 to n do 

  write(f2,a[i]:4);

close(f1);

close(f2);

end.

Bình luận (0)
Ame No Hi
Xem chi tiết
Nguyễn Lê Phước Thịnh
Xem chi tiết
Hồ Nhật Phi
19 tháng 2 2022 lúc 10:25

undefined

Bình luận (0)
Phạm Bảo Ngân
Xem chi tiết
Võ Ngọc Phương
28 tháng 1 lúc 21:32

is not different

Bình luận (3)
Sinh Viên NEU
6 tháng 2 lúc 20:43

is not different 

Bình luận (2)
ngô trung hiếu
Xem chi tiết
ILoveMath
12 tháng 12 2021 lúc 17:55

undefined

Bình luận (0)
Phan Thị Thanh Trúc
Xem chi tiết
Nhi Nguyễn
Xem chi tiết
Nguyễn Quốc Việt
Xem chi tiết
Minh Hồng
12 tháng 5 2022 lúc 16:50

\(\sqrt{16+6\sqrt{7}}=\sqrt{9+2.3.\sqrt{7}+7}=\sqrt{\left(3+\sqrt{7}\right)^2}=\left|3+\sqrt{7}\right|=3+\sqrt{7}\)

Bình luận (0)
Lê Song Phương
12 tháng 5 2022 lúc 17:53

\(\sqrt{16+6\sqrt{7}}=\sqrt{9+2.3\sqrt{7}+7}=\sqrt{3^2+2.3\sqrt{7}+\left(\sqrt{7}\right)^2}\)\(=\sqrt{\left(3+\sqrt{7}\right)^2}=3+\sqrt{7}\)

Bình luận (0)