请高手给matlab中的数值解和解析解下个定义
1个回答
展开全部
80665;
k=2.95;
k1=0.64*s;
t=sqrt(2*3000*1000/k*g);
t1=7;
f=((m/(k+k1)*g)*tan(sqrt((k+k1)/m*g)*(t-t1)+atan(sqrt((k+k1)/k)*tan(sqrt(k*g/m)*t1))^2+1/(k^2*t^2/m^2+1/v0)^2+2*k*t/(m*v0)))-25;
>> s=solve(f,s)
Warning: Explicit solution could not be found.
> In C:\Matlab6p5\toolbox\symbolic\solve.m at line 136
In C:\Matlab6p5\toolbox\symbolic\@sym\solve.m at line 49
s =
[ empty sym ]
v0没有数值
此外方程没有解析解,可以取v0的值后,用数值解
k=2.95;
k1=0.64*s;
t=sqrt(2*3000*1000/k*g);
t1=7;
f=((m/(k+k1)*g)*tan(sqrt((k+k1)/m*g)*(t-t1)+atan(sqrt((k+k1)/k)*tan(sqrt(k*g/m)*t1))^2+1/(k^2*t^2/m^2+1/v0)^2+2*k*t/(m*v0)))-25;
>> s=solve(f,s)
Warning: Explicit solution could not be found.
> In C:\Matlab6p5\toolbox\symbolic\solve.m at line 136
In C:\Matlab6p5\toolbox\symbolic\@sym\solve.m at line 49
s =
[ empty sym ]
v0没有数值
此外方程没有解析解,可以取v0的值后,用数值解
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询