用matlab编程求出y=-0.0855*x^3+0.0245*x^2+0.4983*x+0.4855 的的反函数,并y等于(0,1)的随机数时x的值

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/21 01:56:56
用matlab编程求出y=-0.0855*x^3+0.0245*x^2+0.4983*x+0.4855的的反函数,并y等于(0,1)的随机数时x的值用matlab编程求出y=-0.0855*x^3+0

用matlab编程求出y=-0.0855*x^3+0.0245*x^2+0.4983*x+0.4855 的的反函数,并y等于(0,1)的随机数时x的值
用matlab编程求出y=-0.0855*x^3+0.0245*x^2+0.4983*x+0.4855 的的反函数,并y等于(0,1)的随机数时x的值

用matlab编程求出y=-0.0855*x^3+0.0245*x^2+0.4983*x+0.4855 的的反函数,并y等于(0,1)的随机数时x的值
>> syms x y
>> x=solve('y=-0.0855*x^3+0.0245*x^2+0.4983*x+0.4855')
x =
1.9518134734714195060968427132375/(((5.8479532163742690058479532163743*y - 3.1183913579587682140554409344666)^2 - 7.4355814434024474123676612805896)^(1/2) - 5.8479532163742690058479532163743*y + 3.1183913579587682140554409344666)^(1/3) + (((5.8479532163742690058479532163743*y - 3.1183913579587682140554409344666)^2 - 7.4355814434024474123676612805896)^(1/2) - 5.8479532163742690058479532163743*y + 3.1183913579587682140554409344666)^(1/3) + 0.09551656920077972709551656920078
0.09551656920077972709551656920078 + (((5.8479532163742690058479532163743*y - 3.1183913579587682140554409344666)^2 - 7.4355814434024474123676612805896)^(1/2) - 5.8479532163742690058479532163743*y + 3.1183913579587682140554409344666)^(1/3)*(- 0.86602540378443864676372317075294*i - 0.5) + (1.6903200514749938066147015794976*i - 0.97590673673570975304842135661875)/(((5.8479532163742690058479532163743*y - 3.1183913579587682140554409344666)^2 - 7.4355814434024474123676612805896)^(1/2) - 5.8479532163742690058479532163743*y + 3.1183913579587682140554409344666)^(1/3)
0.09551656920077972709551656920078 + (((5.8479532163742690058479532163743*y - 3.1183913579587682140554409344666)^2 - 7.4355814434024474123676612805896)^(1/2) - 5.8479532163742690058479532163743*y + 3.1183913579587682140554409344666)^(1/3)*(0.86602540378443864676372317075294*i - 0.5) + (- 1.6903200514749938066147015794976*i - 0.97590673673570975304842135661875)/(((5.8479532163742690058479532163743*y - 3.1183913579587682140554409344666)^2 - 7.4355814434024474123676612805896)^(1/2) - 5.8479532163742690058479532163743*y + 3.1183913579587682140554409344666)^(1/3)
>> y=rand(1)
y =
0.8147
>> subs(x)
ans =
2.1596 - 0.0000i
0.6944 + 0.0000i
-2.5675 - 0.0000i
个人建议,先对原函数拟合,再就反函数.如何?
用matlab工具箱进行拟合,可以得到,用指数函数拟合的结果:
General model Power2:
f(x) = a*x^b+c
Coefficients (with 95% confidence bounds):
a = -0.0833 (-0.08339,-0.08321)
b = 3.005 (3.005,3.005)
c = 11.88 (10.34,13.42)
Goodness of fit:
SSE:1829
R-square:1
Adjusted R-square:1
RMSE:4.342
可得到拟合函数为:
y=-0.0833*x^3.005 +11.88;

dy(t)/dt = k y(t) [1 - y(t)/w] y(0) = y0 用MATLAB能编程能求出y(t)吗? 请高手解答x^2+y^2=4方程,求出y和自变量x的函数关系式.用matlab编程. 用matlab编程求出y=-0.0855*x^3+0.0245*x^2+0.4983*x+0.4855 的的反函数,并y等于(0,1)的随机数时x的值 牛顿迭代法能否求出虚根,用matlab怎么编程,例如x^5+1=0 我想求得二次曲面模型参数 模型是ζ=A0+A1*X+A2*Y+A3*X^2+A4*Y^2+A5*X*Y 用MATLAB编程求出这个函数也就是求解参数A0 A1 A2 A3 A4 A5 matlab 求导数后求解如y=exp(x),求解y'=e,用matlab编程实现 最小二乘法拟合指数函数(Matlab编程),着急,拟合函数形式为:y=a×exp(-bt);数据比较少:y=[50 40 30 20 10 ]; t=[55 63 73 100 121],用matlab编程程序该怎么写啊,需要求出未知系数a和b的值 Matlab小白提问,急求怎么用Matlab求一个多元函数的偏导数,比如说z=x*y 分别求x y 的偏导数我希望得到的matlab求出的答案是dz/dx=y dz/dy=x 用diff死活求不对 希望给一个详细的编程过程让我当范本 matlab 计算矩阵方程其中x=[0 1 2 3] 这个怎么用matlab编程求t y已知 求用matlab编程求函数f(x,y)=x^2+xy(1 怎么样用matlab求不定方程的解、编程找出不定方程 x*x-2*y*y=-1 (y 急求!MATLAB的几道编程题1)用起泡法对10 个数由小到大排序.即将相邻两个数比较,将小的调到前头. 2)有一个4 ×5 矩阵,编程求出其最大值及其所处的位置. 3)有一函数f (x, y) x2 =+sin xy +2y ,写一程 根据y=1+1/3+1/5+...+1/(2n-1),用matlab编程,求:y 根据y=1+1/3+1/5+...+1/(2n-1),用matlab编程,求:y MATLAB的写程序求函数y'=yy(0)=2用matlab求出y关于x的函数 用matlab求z=x+y这个函数的最小值条件是x>=1,y>=x+2请问这个用matlab怎么编程? 怎么用MATLAB求多元函数极值求z=x^2-(y-1)^2的极值,包括极大值和极小值,用MATLAB怎么编程? z=3626/x-3626*y*2/x*14.58 0.51.2 05 用MATLAB编程得出图形初学MATLAB 咋弄也弄不对!