gpt-3.5-turbo-0301· openai
from WildChat-4.8M
请给出绘画以下多项式的matlab代码78.2-4.8x-3.2x(x-20)-0.15x(x-20)(x-40)+0.01x(x-20)(x-40)(x-60)
- User
请给出绘画以下多项式的matlab代码78.2-4.8x-3.2x*(x-20)-0.15x(x-20)(x-40)+0.01x*(x-20)(x-40)(x-60)
- Assistant
x = linspace(0, 80, 1000); y = 78.2 - 4.8.x - 3.2.x.(x-20) - 0.15.x.(x-20).(x-40) + 0.01.x.(x-20).(x-40).(x-60); plot(x, y); xlabel('x'); ylabel('y'); title('Plot of 78.2-4.8x-3.2x*(x-20)-0.15x(x-20)(x-40)+0.01x*(x-20)(x-40)(x-60)');