Ответ:
REM
REM x^2 = 5cos(x-1) [-5; 5]
REM x = -0.51726; x = 1.83350
DECLARE FUNCTION f! (x!)
CLS
a = SQR(5)
FOR x = -a TO a STEP .0001
IF ABS(f(x)) < .0003 THEN PRINT x
NEXT
END
FUNCTION f (x)
f = x ^ 2 - 5 * COS(x - 1)
END FUNCTION
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
REM
REM x^2 = 5cos(x-1) [-5; 5]
REM
REM x = -0.51726; x = 1.83350
REM
DECLARE FUNCTION f! (x!)
CLS
a = SQR(5)
FOR x = -a TO a STEP .0001
IF ABS(f(x)) < .0003 THEN PRINT x
NEXT
END
FUNCTION f (x)
f = x ^ 2 - 5 * COS(x - 1)
END FUNCTION