# 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

2 views (last 30 days)

Show older comments

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

Jason Rodgers
on 25 May 2022

### Answers (1)

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;

##### 0 Comments

### See Also

### Categories

### Products

### Community Treasure Hunt

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

Start Hunting!