Info

This question is closed. Reopen it to edit or answer.

how can make it variable not given data

1 view (last 30 days)
muhammed  mekdam
muhammed mekdam on 26 Apr 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
Pg=9.4; % Gas pressure (MPa) ETA_MEC=.9; Bpower=58823.53; %Break power (Watt) N=2500; % Speed (rpm) Z=4; %No.Cylinders Taw=2; Sigma_1=45; %Allowable circumferential stress (MPa) C=.01; %Constant in Thickness of cyl. head Equation Ipower=Bpower/ETA_MEC; n=N/Taw; Pm=Pg/9; %Mean Effective Pressure(Mpa) D=((Ipower*60*1000*4)/(Pm*1.5*pi*n*Z))^(1/3) % Bore diamter (mm) Lst=1.5*D %Stroke length(mm) t=.045*D+1.6 % thickness of cylinder Sigma_c=((D*Pg)/(2*t)) % circumferential Stress t_head=D*(C*Pg/Sigma_1)^.5 %thickness of cyliunder head
  1 Comment
Image Analyst
Image Analyst on 26 Apr 2015
Read this, then fix the formatting. Then read this and explain what you want to make a variable. As far as I know all those things are variables, though some of the variables may be constant, or user-supplied. Not sure which variable name you're talking about.

Answers (1)

Image Analyst
Image Analyst on 26 Apr 2015
This sounds remarkably similar to Vivie's question: http://www.mathworks.com/matlabcentral/answers/213650-i-need-serious-help-please If it's the same homework problem, you will find help there.

Community Treasure Hunt

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

Start Hunting!