Problems 75 Use MATLAB to compute the energy stored by the inductor for time O s
ID: 3750204 • Letter: P
Question
Problems 75 Use MATLAB to compute the energy stored by the inductor for time O sis 0.2s Plot stored energy vs time 322 In Probskem . 1the folwing empiricarelationship relating indtar curent, magpnetic fux inlage A was used 4(a)s 97.32? + 4.24 (amps, A) a. Use MATLAB to plot current h as a function of flux linkage for the range-0.4 0.4 wh b. Use the data from part (a) to plot flux linkage as a function of current/ e. Write an M-file that uses the plot data from part (b) to estimate the inductance L and plot inductance as a function of flux linkage [Hint: recall that inductance is L-da/dExplanation / Answer
Matlab Code:
a)
clc
clear vars
close all;
% Part a
lambda = -0.4:0.02:0.4;
IL = 97.3*lambda.^3 + 4.2*lambda;
b) % Part a plot
figure
subplot(1, 2, 1)
plot(lambda, IL, '-k', 'LineWidth', 2);
title('Flux linkage vs Current')
ylabel('Current')
xlabel('Flux linkage (lambda)')
c) % part b plot
subplot(1, 2, 2)
plot(IL, lambda, '-b', 'LineWidth', 2)
title('Currrent vs Flux linkage (lambda)')
ylabel('Flux linkage (lambda)')
xlabel('Current')
% part c in a new plot
figure
L = lambda./IL;
plot(lambda, IL, '-r', 'LineWidth', 2)
title('Inductance vs flux linkage (lambda)')
xlabel('Flux linkage (lambda)')
ylabel('Current')
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.