%%Matlab code for ode solution and Phase potrait
clear all
close all
%function to be solved
f = @(x,y) (1/2).*y.*(y+3);
x_ini=0; %initial time
x_end=20; %ending time
%Plotting Direction field
figure(1)
dirrfield(f,-5:.5:5,-5:.5:5)
hold on
%plot for different initial conditions
y0=[-1 -2 1 -4];
x0=[0 0 0 0];
for i=1:4
x_ini=x0(i); v0=y0(i);
[ts,ys] = ode45(f,[x_ini,x_end],v0);
plot(ts,ys,'b','Linewidth',2)
end
hold off
title('phase potrait plot')
xlabel('x')
ylabel('y')
%%Matlab function for direction filed
function dirrfield(f,tval,yval)
% dirfield(f, t1:dt:t2, y1:dy:y2)
%
% plot direction field for first order ODE y' =
f(t,y)
% using t-values from t1 to t2 with spacing of dt
% using y-values from y1 to t2 with spacing of dy
%
% f is an @ function, or an inline function,
% or the name of an m-file with
quotes.
%
% Example: y' = -y^2 + t
% Show direction field for t in [-1,3], y in [-2,2],
use
% spacing of .2 for both t and y:
%
% f = @(t,y) -y^2+t
% dirfield(f, -1:.2:3, -2:.2:2)
[tm,ym]=meshgrid(tval,yval);
dt = tval(2) - tval(1);
dy = yval(2) - yval(1);
fv = vectorize(f);
if isa(f,'function_handle')
fv = eval(fv);
end
yp=feval(fv,tm,ym);
s = 1./max(1/dt,abs(yp)./dy)*0.75;
h = ishold;
quiver(tval,yval,s,s.*yp,0,'r'); hold on;
%quiver(tval,yval,-s,-s.*yp,0,'r');
if h
hold on
else
hold off
end
axis([tval(1)-dt/2,tval(end)+dt/2,yval(1)-dy/2,yval(end)+dy/2])
end
%%%%%%%%%%%%%%%%%% End of Code %%%%%%%%%%%%%%%%%
A fuel gas that contains
mole% methane and the balance ethane is burned completely with
pure oxygen at
°C, and the products are cooled to
°C.
Suppose that the reactor is continuous. Take a basis of
calculation of
mol/s of the fuel gas, assume some value for the percent excess
oxygen fed to the reactor (the value you choose is not going to
affect the results), and calculate -Q⋅ (kW), the rate at which heat
must be transferred from the...
On August 1, 2018, the beginning of its current fiscal year,
Accounts payable
$2,500
Interest receivable
20
Accounts receivable
4,740
Note receivable, due October 31, 2018
4,000
Accumulated depreciation—equipment
2,030
Retained earnings
6,040
Cash
5,520
Salaries payable
1,460
Common shares
12,000
Supplies
1,030
Equipment
10,100
Unearned revenue
1,380
(b)
Prepare T accounts, enter any opening balances, post the general
journal entries and calculate end balances. (Post
entries in the order of journal entries presented in the previous
part. If the...
Definition: The vector space is called the direct sum of and if and are subspaces of such that and We denote that is the direct sum of and by writing . Now, suppose that is a vector space over a field and is a linear transformation with distinct eigenvalues . Show that , where is the eigenspace of , if and only if is diagonalizable. We were unable to transcribe this imageWe were unable to transcribe this imageWe were unable...
,
and
are independent, and these following distributions
~
~
~
Also,
1 Find
2 Find MGF of
3 Use
A
to find
(match part1)
We were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe...
Let
be a field of characteristic
and
in
.
i.) Suppose
has a zero
in
. Show
splits in
and find the factorization of
ii.)Suppose
does not have a zero in
. Let
be a zero of
in an extension of
. Show
splits in
and find a factorization of
.
We were unable to transcribe this imageWe were unable to transcribe this imagef(x) = XP- We were unable to transcribe this imageWe were unable to transcribe this imageWe were...
Note: In the following, if is a set and both and are positive integers, then matrices with entries from . The problem below has many applications. If is a linear map from complex vector space to itself, and is an eigenvalue of , then is a simple eigenvalue of if . 1. Suppose is a vector space of dimension over field where you may assume that is either or , and let be a linear map from to . Show...
Identify the effect of increasing acidity on the solubility of
the given compounds.
Drag the appropriate items to their respective boxes.
Fe(ClO₄)₂Ca(OH)₂Ba₃(PO₄)₂PbCl₂MgF₂NiSAgI
We were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to transcribe this imageWe were unable to...
Identify the type of orbits given the following data : a. = 6872.0 + 6872.0 km, = -4.7028 + 4.7028 km/sec b. = 0.08 + 0.45 + 0.02 c. = 1.6 / d. = -3.5 / ER=earth radius , TU=time unit (time unit (TU) is a unit of time equal to 1024 microseconds and this makes equal 1) e is eccentricity vector and h is specify angular momentum vector We were unable to transcribe this imageWe were unable to transcribe...
part a: Prepare the closing
entries at December 31. (Credit account tittles are
automatically indented when the amount is entered. Do not indent
manually. If no entry is required, select "No Entry" for the
account titles and enter 0 for the amounts.)
Date
Account Titles and Explanation
Debit
Credit
Dec. 31
(To close revenue account.)
31
(To close expense accounts.)
31
(To close net income.)
31
(To close dividends.)
9,800 Exercise 4-13 (Part Level Submission) Selected accounts from Betts Ltd.'s...
Use the spectra above to fill in the letter spaces in the guided
synthesis in the boxes below
Clotis 1. Imole Hel 1.Li/NH3 -78°c 2. Mc PBA 2. 1 mole HI Kamaryu H NMR/IR VE c) H₂O FNne) (NMR/IR lCq H180 co ter) C10Hz, Br Molecule 9H Зн 2н 2н PPM Molecule ) 9H ЗН ін 2H 2H Е - Molecule F IH L6H 2H2H We were unable to transcribe this imageWe were unable to transcribe this imageWe were unable...