Question: USE MATLAB PLEASE. COPY SCRIPT DON'T SCREENSHOT IT PLEASE %Part 1 K = 0.05; F = 10; a = 0; % start time b =

USE MATLAB PLEASE. COPY SCRIPT DON'T SCREENSHOT IT PLEASE

USE MATLAB PLEASE. COPY SCRIPT DON'T SCREENSHOT IT PLEASE %Part 1 K= 0.05; F = 10; a = 0; % start time b

%Part 1 K = 0.05; F = 10; a = 0; % start time b = 100; % end time time = a; % initialize time T = 25; % initialize temperature load train % prepare to blow the whistle dt = input( 'dt: '); opint = input( 'output interval (minutes): '); if opint/dt ~= fix(opint/dt) sound(y, Fs) % blow the whistle! disp( 'output interval is not a multiple of dt!'); return end % Part 2 clc format bank disp('Time Temperature'); disp( [time T] ) % display initial values for time = a+dt: dt:b T=T-K* dt * (T-F); if abs(rem(time, opint))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!