mod((x+2),10)=1 求x 如何编程
来源:百度知道 编辑:UC知道 时间:2024/05/28 16:34:54
这种无限答案的东西,只能是求解某个限定范围的解。
用穷举法比较容易理解点。
比如说求解1-100范围内的解(ASP语言):
<%
for i = 0 to 100
if (i+2) mod 10 =1 then
response.write(i & "满足条件;")
else
response.write(i & "不能满足条件;")
end if
next
%>
PASCAL 语言
begin
for i:=0 to 10000 do
if (i+2 mod 10)=1 then
writeln(i);
end.
mod((x+2),10)=1 求x 如何编程
求解 x^3+a*x+b=0 (mod p)
数学题 X MOD Y
(X-1/X)=5,且X<0,求x^10+x^6+x^4+1除以x^10+x^8+x^2+1的值
f(x)=(x-1)(x-2)(x-3).......(x-10) 求f'(9)=?
(x+1)(x-4)-6=x^2-3x-4-6=x^2-3x-10=(x+2)(x-5)中x^2-3x-10怎么弄成(x-5)(x+2).
已知x=根号2-1,计算x^10+2x^9-2x^8-2x^7+x^6+3x^2+5x+1的值
x+1/x=3,求(x^10+x^8+x^2+1)/(x^10+x^6+x^4+1)的值
1+x+x^2+x^3=0 ,求x+x^2+x^3+...+x^2000
f(x)=(X-1)X(X-2).........X(X-101) 求f(x)的导数