Diesel Work Cycle using MATLAB to plot P-v Diagram, Calculate work output, and Plot the work output when diameter of the piston is changed

9 views (last 30 days)
I'm engineering student. I've got this project from my teacher.
The problem is I "never" use MATLAB before and I try to search some informations about Diesel Cycle for MATLAB many times on internet but I can't understand.
Please help me to solve this project, I really need some helps here.
Thank you very much.
PS. Sorry for my bad English
  3 Comments

Sign in to comment.

Answers (1)

Rick Rosson
Rick Rosson on 4 Apr 2016
Here's a start:
theta = (0:0.1:359.9)';
D = 15;
L = 12;
L_TDC = 1.5;
V_TDC = (pi/4)*D^2*L_TDC;

Categories

Find more on Mathematics in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!