1/0.8x^2+0.5x+2
1 次查看(过去 30 天)
显示 更早的评论
回答(2 个)
KSSV
2022-5-29
x = linspace(-1,1);
p = 1./(0.8*x.^2+0.5*x+2) ; % element by element operation
plot(x,p)
2 个评论
Sam Chak
2022-5-29
Based on the order of operations using PEMDAS: Parentheses, Exponents, Multiplication and Division (from left to right), Addition and Subtraction (from left to right) in mathematics and computer programming, I have at least helped you to type this out in MATLAB:
fcn = @(x) 1/0.8*x^2 + 0.5*x + 2
From here, you can do the options to do the following:
- Plot the graph of this function
- Solve the function
- Find Taylor series expansion at point
- Find the minimum of this function
- Find the derivative of this function
0 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!