Question: in mathlab please A study shows the energy E of a heating system can be represented by E(t)=Ct+Dsin(30t)ea1 where C,D, and a are constants. Download

 in mathlab please A study shows the energy E of a
heating system can be represented by E(t)=Ct+Dsin(30t)ea1 where C,D, and a are
constants. Download the template file and finish the script file to calculate
in mathlab please

A study shows the energy E of a heating system can be represented by E(t)=Ct+Dsin(30t)ea1 where C,D, and a are constants. Download the template file and finish the script file to calculate the energy(E) when 0.2st1.2s. Use 0.15 as the increment and let C=3000;D=1500 and =0.8. Name the script file as energy.m to produce the following table by using fprintf and disp commands. This file will also find the maximum energy and the time required to reach the maximum energy Submit your code in the box Grading criteria: - Correct file name and type your name: 2 pts - Define t correctly: 2 pts - Correct expression for E: 4 pts - Correct fprintf format: 5 pts - Correctly find Emax and tmax: 4 pts 7 This fucntion calculate the energy E of a heating system fron 9.15 to 4.1.2s for every 0.1s. The C,D and alpha are given constants. 4 This script will create a formatted report and find the max energy. * Type your name within the disp disp( "Your Nane") \& Given constants. Do not change. C=30e0; De15e0;alpha=e.8; Sefine your t array and the expression for Energy E tap; Eap: Use fprintf to create the result as a table. Do not use table comand disp('The energy of a heating system') disp("tis) fili in disp(1) fprintf(") 4. Find the highest energy (E_max) and the time (t_max) required to reach the EInax by using max command. E__ax=e; t_max=0; 4 Print the result by using the variable T_max and t_max. * Define your t array and the expression for Energy E tees: 4 Use fprintf to create the result as a table. Do not use table coesand disp( The energy of a heating systen') disp(' t(s)E(J) ') fprintf(*) A find the highest energy (E_max) and the time (t_max) required to reach s the E_max by using max command. E_naxa; t_maxa; 4. Print the result by using the var mble \( T_{\text {_ max }} \) mand tmax max. Ho credit if you use the value directly tike the following line. 4 disp('The highest energy is 3679.226J when time is 1,15 .') Do not change the following lines. They will plot the graph plot(t,E) xlabel('Time (s)');ylabel('Energy (J)') A study shows the energy E of a heating system can be represented by E(t)=Ct+Dsin(30t)ea1 where C,D, and a are constants. Download the template file and finish the script file to calculate the energy(E) when 0.2st1.2s. Use 0.15 as the increment and let C=3000;D=1500 and =0.8. Name the script file as energy.m to produce the following table by using fprintf and disp commands. This file will also find the maximum energy and the time required to reach the maximum energy Submit your code in the box Grading criteria: - Correct file name and type your name: 2 pts - Define t correctly: 2 pts - Correct expression for E: 4 pts - Correct fprintf format: 5 pts - Correctly find Emax and tmax: 4 pts 7 This fucntion calculate the energy E of a heating system fron 9.15 to 4.1.2s for every 0.1s. The C,D and alpha are given constants. 4 This script will create a formatted report and find the max energy. * Type your name within the disp disp( "Your Nane") \& Given constants. Do not change. C=30e0; De15e0;alpha=e.8; Sefine your t array and the expression for Energy E tap; Eap: Use fprintf to create the result as a table. Do not use table comand disp('The energy of a heating system') disp("tis) fili in disp(1) fprintf(") 4. Find the highest energy (E_max) and the time (t_max) required to reach the EInax by using max command. E__ax=e; t_max=0; 4 Print the result by using the variable T_max and t_max. * Define your t array and the expression for Energy E tees: 4 Use fprintf to create the result as a table. Do not use table coesand disp( The energy of a heating systen') disp(' t(s)E(J) ') fprintf(*) A find the highest energy (E_max) and the time (t_max) required to reach s the E_max by using max command. E_naxa; t_maxa; 4. Print the result by using the var mble \( T_{\text {_ max }} \) mand tmax max. Ho credit if you use the value directly tike the following line. 4 disp('The highest energy is 3679.226J when time is 1,15 .') Do not change the following lines. They will plot the graph plot(t,E) xlabel('Time (s)');ylabel('Energy (J)')

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!