Recent content by xuej1112
-
X
Is ln(E(x^n)) equal to E(ln(x^n))
thanks. if g is a concave function, can i say g(E(x))>=E(g(x)) ? (jensen's inequality)- xuej1112
- Post #5
- Forum: Calculus and Beyond Homework Help
-
X
Is ln(E(x^n)) equal to E(ln(x^n))
Sorry. E is the expectation- xuej1112
- Post #3
- Forum: Calculus and Beyond Homework Help
-
X
Is ln(E(x^n)) equal to E(ln(x^n))
is ln(E(x^n)) equal to E(ln(x^n)), if x is a continuous variable and x>=0? Help me! Thanks!- xuej1112
- Thread
- Replies: 5
- Forum: Calculus and Beyond Homework Help
-
X
Calculating Basis of Matrix Space T: All Rank-n Matrices | Tips & Tricks
thank you.that's right. is there any other method to calculate the basis of space T?- xuej1112
- Post #3
- Forum: Precalculus Mathematics Homework Help
-
X
Calculating Basis of Matrix Space T: All Rank-n Matrices | Tips & Tricks
If T={Bi} Bi are the all matrix of rank n. So,T is a matrix space(right?). How to calculate the basis of T? are the basis of T also some matrix? Thank you!- xuej1112
- Thread
- Basis Matrix Space
- Replies: 4
- Forum: Precalculus Mathematics Homework Help
-
X
MATLAB Who can help me to run this code in matlab?
this is a image in the book:- xuej1112
- Post #4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
X
MATLAB Who can help me to run this code in matlab?
thank you! the problem is about a example of Vasicek model.it is in the book"Strategic Asset Allocation in Fixed Income Markets A Matlab based user's guide",page 77.It wants to solve a PDE of Vasicek model for bond pricing.- xuej1112
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
X
MATLAB Who can help me to run this code in matlab?
who can help me to run this code in matlab? I run it in my computer but the result is totally different from the book! In the book,the image is a increase curve,but my result is a decrease curve.So, is there something wrong of my MATLAB? code: syms r P A B t; P = exp(A+B*r); disp('first...- xuej1112
- Thread
- Code Matlab
- Replies: 4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
X
MATLAB Help Solving Equation with Matlab - Get Expert Advice Now!
thank you man! I am just back from norway. I tried the code you give me,but it is not work. The following is the code,could you help me to check it? >>dr = 0.005; Nr = 20; dt = 0.1; Nt = 20; a=0.2339*0.0189; b=0.2339; delta=sqrt(0.0073); u=zeros(Nr+1,Nt+1); u(1,:)=1; for...- xuej1112
- Post #13
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
X
MATLAB Help Solving Equation with Matlab - Get Expert Advice Now!
Thank you so much. by the way,could I find the analyze solution of this equation by matlab?- xuej1112
- Post #11
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
X
MATLAB Help Solving Equation with Matlab - Get Expert Advice Now!
because I use the implicit difference method.It is steady.So,maybe this is a equation system.- xuej1112
- Post #9
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
X
MATLAB Help Solving Equation with Matlab - Get Expert Advice Now!
thank u so mush!but I think my difference method is implicit difference that is: B_j^i = \frac{\sigma_j k}{h} B_{j-1}^{i+1} + \left(1-\frac{2 \sigma_j k}{h^2}-\frac{\mu_j k}{h}-r_j\right)B_j^{i+1} + \left(\frac{\sigma_j k}{h^2}+\frac{\mu_j k}{h}\right)B_{j+1}^{i+1}, so: B^i = \left(...- xuej1112
- Post #7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
X
MATLAB Help Solving Equation with Matlab - Get Expert Advice Now!
Thank you so much! you a so kind! I wrote some code this afternoon.but i think there is some thing wrong r is the longitudinal coordinates, t is the x-coordinate: dr = 0.01; %each depth step Nr = 100; % Choose the number of depth steps Nt = 40; % Choose the number of time steps dt =...- xuej1112
- Post #5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
X
MATLAB Help Solving Equation with Matlab - Get Expert Advice Now!
yes, I know these are the boundary conditions.I mean that I don't know how to express them in the MATLAB program . but thanks for your reply.- xuej1112
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX