differentiation of vol for theta

1 次查看(过去 30 天)
Can you show me what is the answer?What is the answer?
dvol/dtheta?
clear();
r = 8; % compression ratio
s = 100; % stroke (mm)
b=s; % bore=stoke
len= 150; % connecting rod length (mm)
Vd= b^2*s*pi/4; % displacement volume
Vc=Vd/(r-1); % clearence volume
a=s/2; % radius of crank shaft
theta=-180:1:180; % crankangle theta vector
y =len+a-((len^2-a^2*sind(theta).^2).^(1/2) +a*cosd(theta)); % .^2).^
vol= Vc+y*b^2*pi/4; % exact volume

采纳的回答

Ameer Hamza
Ameer Hamza 2020-4-9
编辑:Ameer Hamza 2020-4-9
Use gradient to differentiate vol with respect to theta numerically
dvol_dtheta = gradient(vol, theta);
  10 个评论
gultekin karahasan
Sorry my friend,my experiences are so basic.i dont know how can i use matlab. i started use 2 days ago :(Thank u for helping u are amazing.
Ameer Hamza
Ameer Hamza 2020-4-9
No problem, you will learn with time. I am glad to be of help. You can try this course to get started in MATLAB: https://www.mathworks.com/learn/tutorials/matlab-onramp.html

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by