clc; clear all; close all
et time from 0 to 3 hours
t = [0,3];
%initial conditions
A0 = 1;
B0 = 0.2;
et up the ODE solver with the time contraints and the intial conditions
%of A0, B0
kab=0.8;
kba=0.8
%Andrea Cancino
%Homework #2
%Question 2.13
%Step 1 is to make the matrices for A and B
A = [56,32;24,-16]
B = [14,-4;6,-2]
%For part a, matrix A and B will be multiplied
Q= A*B
%For part b, matrix A
%Andrea Cancino
%Homework #3
%Problem 3.1
% The problems are tested in the original tab.The equations typed were
% given in the problem.
y = Mysinh(0)
y = Mysinh(1)
y = Mysinh(2)
%End of question 3.1
%Andrea Cancino
%Homework #4
%Problem 4.6
%The given information is inputed to test the functions that were written
grade = MyLeterGrader(97)
grade = MyLeterGrader(84)
%End of problem
%Problem 4.7
res
%Sasha Mela
%Andrea Cancino
%Homework 1
%Question 1.12
%Since nR is constant in the equation, that is the first thing to calculate
simply by inputting the values we are given.
nR=(2.2*28500)/(273.2-15