rec01_vishp21_HW05 - function2=sin(t_2/6%The actual...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
%% Vishal Patel Recitation 01 RUID 132009258 %% Problem 3 % m=1:10; %This is the mass going from 1-10, steps of 1. Benzene=78.115; %Molar Weight of Benzene. EthylAlcohol=46.07; %Molar Weight of Ethyl Alcohol. RefrigentR134a=102.3; %Molar Weight of Refrigent R134a. nmoles(m,Benzene) %Gets the number of moles for Benzene. nmoles(m,EthylAlcohol) %Gets the number of moles for Ethyl Alcohol. nmoles(m,RefrigentR134a) %Gets the number of moles for Refrigent R134a.. %% Problem 4 % t=0:2:60; %Time line from 0-60 in steps of 2. function1=sin(t/6); %The actual function. subplot(1,3,1); %gives the placement of the function. stem(t,function1) %plots the function with circles at the data values. xlabel('Time');%Labels the x-axis. ylabel('Sine Wave 1'); %Labels the y-axis. title('Sine Wave 1 vs. Time') %Titles the plot. t t_2=0:2:60; %Time line of 0-60 in steps of 2.
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: function2=sin(t_2./6); %The actual function. subplot(1,3,2); %gives the placement of the function. stem(t_2,function2) %plots the function. xlabel('Time'); %Labels the x-axis. ylabel('Sine Wave 2'); %Labels the y-axis. title('Sine Wave 2 vs. Time') %Titles the plot. t t_3=0:10:60; %Time line of 0-60 in steps of 10. function3=sin(t_3./6); %The actual function. subplot(1,3,3); %gives the placement of the function. stem(t_3,function3) %plots the function. xlabel('Time'); %Labels the x-axis. ylabel('Sine Wave 3'); %Labels the y-axis. title('Sine wave 3 vs. Time') %Titles the plot. t %The importance of good sampling is that a bandlimited signal can be %reconstructed exactly if it is sampled at a rate atleast twice the maximum %frequency component in it....
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern