刮风的晴天吧 关注:60贴子:8,364
  • 0回复贴,共1
function [y ] = arcsin( x )
%UNTITLED3 Summary of this function goes here
% Detailed explanation goes here
n=0;
temp=(factorial(2*n)*x^(2*n+1))/(2^(2*n)*(factorial(n))^2*(2*n+1));
y=0;
while temp>=0.002
y=y+temp;
n=n+1;
temp=(factorial(2*n)*x^(2*n+1))/(2^(2*n)*(factorial(n))^2*(2*n+1));
end
end


IP属地:上海1楼2013-09-30 11:59回复