% Constant volume and constant pressure cycle efficiency as a
% function of compression ratio(rc);
clear all; close all; clc
rc= 5:1:28;
%compression ratio
k=1.3;
figure(1)
% For gasoline %
for i=1:length(k)
for j=1:length(rc)
% eliminate %
eff_constant_v
ME458 Automotive Engineering Winter 2015
Homework 2 Solution
Assigned 26 January 2015
Due 03 February 2015
Problem 1:
Recreate Figure 5.5. Use initial plotting tool as provided. Use hw2_pb1_tofill.m
[25%]
Ideal gas constant - volume cycle fuel conversion
ME458 Automotive Engineering Winter 2015
Homework 1
1
Assigned 12 January 2015
Due 26 January 2015
A passenger car has the empty weights and the
dimensions shown in the figure. The CG height of
the car is 558 mm. Loaded for vacation, it is
carrying two pa
% Ideal gas constant - volume cycle fuel conversion efficiency as a
% function of compression ratio(rc);
clear all
clc; clear all; close all;
% eliminate values %
rc= 0:1:30;
%compression ratio
% eliminate %
k=[1.25 1.3 1.4];
figure(1)
for i=1:length(k)
f
%l%HW 2 Problem 2a
%Creates plots of HW2_2.mat
load('HW2_4.mat');
% Create mesh plots
%the order of x and y is important xlabel
x=TbData;
y=RPMData;
figure(1), mesh(x,y,FuelRate1);
xlabel('Brake Torque [Nm]');
ylabel('RPM');
zlabel('Fuel Rate [g/s]');
X=U