大侠帮忙,matlab解方程组 (5个方程,5个未知数)
大侠帮忙,matlab解方程组 (5个方程,5个未知数)
方程组如下:
1/lambda_s+1/lambda_i=1/1064;
n_p/1064-n_s/lambda_s-n_i/lambda_i=1/31500;
n_p^2=5.319725+(4.753469e-7)*297.9100+(0.09147285+(3.310965e-8)*297.9100)/(1064^2-0.3165008^2)+(100.2028+(2.760513e-5)*297.9100)/(1064^2-11.73639^2)-(1.497046e-2)*1064^2;
n_s^2=5.319725+(4.753469e-7)*297.9100+(0.09147285+(3.310965e-8)*297.9100)/(lambda_s^2-0.3165008^2)+(100.2028+(2.760513e-5)*297.9100)/(lambda_s^2-11.73639^2)-(1.497046e-2)*lambda_s^2;
n_i^2=5.319725+(4.753469e-7)*297.9100+(0.09147285+(3.310965e-8)*297.9100)/(lambda_i^2-0.3165008^2)+(100.2028+(2.760513e-5)*297.9100)/(lambda_i^2-11.73639^2)-(1.497046e-2)*lambda_i^2;
未知数分别为:lambda_s,lambda_i,n_s,n_i,n_p
希望大侠帮我写出matlab计算的程序.非常感谢!