Recent content by the_dane
-
T
Python Scientific Computing: Method of Undetermined Coefficients in Python
I have now typed something in Python. for k = 2, xbar = pi/2, and x =[pi/2-0.2 , pi/2-0.1, pi/2, pi/2 + 0.1, pi/2 + 0.2] I get the results: C = [-8.33333333, 133.33333333, -250. , 133.33333333, -8.33333333]Can someone with MATLAB license please verify this result. I will be...- the_dane
- Post #3
- Forum: Programming and Computer Science
-
T
Python Scientific Computing: Method of Undetermined Coefficients in Python
In a self learning project I am fooling around book https://faculty.washington.edu/rjl/fdmbook/ I want to do some of the computation myself to better understand the concepts but the book is Matlab based and Matlab is too expensive. Does anyone by any chance have some of the codes provided by...- the_dane
- Thread
- Coefficients Computing Method Python Scientific Scientific computing Undetermined coefficients
- Replies: 5
- Forum: Programming and Computer Science
-
T
Graduate Implicit Euler method with adaptive time step and step doubling
For Initial Value problems I want to implement an ODE solver for implicit Euler method with adaptive time step and use step doubling to estimate error. I have found some reading stuff about adaptive time step and error estimation using step doubling but those are mostly related to RK methods. I...- the_dane
- Thread
- Euler Euler method Implicit Method Numerical algorithms Ode Scientific computing Time
- Replies: 2
- Forum: Differential Equations
-
T
Graduate Lecture notes on Finite Difference Methods
I have lately been working with Numerical Analysis and I am using Finite Difference Methods for Ordinary and Partial Differential Equations by Randall J. LeVeque. It was recommended to me by a friend of mine (physicist) https://epubs.siam.org/doi/book/10.1137/1.9780898717839?mobileUi=0&...- the_dane
- Thread
- Difference Finite Finite difference Lecture Lecture notes Notes Numerical analysis Reference
- Replies: 1
- Forum: Differential Equations
-
T
Is f(t,y)=e^{-t}y Lipschitz Continuous in y?
This is not so much a "Homework" question I am just giving an example to ask about a specific topic. Homework Statement Is ##f(t,y)=e^{-t}y## Lipschitz continuous in ##y## Homework Equations I don't really know what to put here. Here is the definitions...- the_dane
- Thread
- continuity lipschitz
- Replies: 1
- Forum: Calculus and Beyond Homework Help
-
T
Finite difference method; finding the 'Stencil'
You're right that I am not quite certain about there terminology. I am using the textbook by Levee: Finite Difference Methods for Ordinary and Partial DE. But the terminology is not clear for me and that is Exactly what I am asking about. My answer to the question is: (a+h*0), (a+h*1), ... and...- the_dane
- Post #3
- Forum: Calculus and Beyond Homework Help
-
T
Finite difference method; finding the 'Stencil'
Homework Statement Determine the Finite Difference Method stencil for approximating a second derivative u''(x) at a discrete set of nodes with maximum accuracy for stencil of sizes (0,4) (off-centered). My questions: I think I am able to answer the question I am just not sure about what is...- the_dane
- Thread
- Difference Finite Finite difference Finite difference method Method Numerical analysis
- Replies: 5
- Forum: Calculus and Beyond Homework Help
-
T
Stochastic calculus:Laplace transformation of a Wiener process
Homework Statement I am asked to show that E[\exp(a*W_t)]=\exp(\frac{a^2t}{2}) Let's define: Z_t = \exp(a*W_t) W_t is a wiener process Homework Equations W_t \sim N(0,\sqrt{t}) The Attempt at a Solution I want to use the following formula. if Y has density f_Y and there's a ral function g...- the_dane
- Thread
- Probability Process Stochastic Stochastic calculus Transformation
- Replies: 5
- Forum: Calculus and Beyond Homework Help
-
T
Maximum likelihood of a statistical model
Can I get the prob. distribution from the formula of ##Y_i##.- the_dane
- Post #7
- Forum: Calculus and Beyond Homework Help
-
T
Maximum likelihood of a statistical model
I use ##L(Y_1,...Y_n;μ,φ) =Y_1*Y_2*...*Y_n##- the_dane
- Post #4
- Forum: Calculus and Beyond Homework Help
-
T
Maximum likelihood of a statistical model
Homework Statement I look at the distribution ##(Y_1,Y_2,...,Y_n)## where ##Y_i=μ+(1+φ x_i)+ε_i## where ##-1<φ<1## and ##-1<x_i<1## . x's are known numbers. ε's are independent and normally distributed with mean 0 and variance 1. I need to find the the maximum likelihood estimator for μ and...- the_dane
- Thread
- Likelihood Mathemathics Maximum Maximum likelihood Model Probability Statistic Statistical
- Replies: 7
- Forum: Calculus and Beyond Homework Help
-
T
How to properly use the nlm function in R for minimizing functions?
I try to find out how to minimize functions i R by using nlm function: > f<-function(x,y){x^2+y^2+10-5*x-y} > nlm(f,0.1,0.1) That only gives me an estimate for x. How would write the code to get x and y?- the_dane
- Thread
- Function Mathemathics Optimization Programming
- Replies: 3
- Forum: Programming and Computer Science
-
T
Expected value and variance of multivariate exponential distr.
They are discrete and I was wrong saying that they are independent. I know I have to do some work before, but I brought it because I'm totally stuck. I think my problem is that in this course our textbook only have examples for one variable and not multi. That confuses me.- the_dane
- Post #3
- Forum: Calculus and Beyond Homework Help
-
T
Expected value and variance of multivariate exponential distr.
Homework Statement https://dl.dropboxusercontent.com/u/17974596/Sk%C3%A6rmbillede%202016-02-02%20kl.%2007.35.26.png I want to find variance matrix and expected variance vector of Y=(Y1,Y2). Y1 and Y2 are independent. Γ is the gamma function and ϒ is a known parameter. λ1>0 λ2>0 and ϒ>0...- the_dane
- Thread
- Expected value Exponential Exponential distribution Multivariate Probability Value Variance
- Replies: 3
- Forum: Calculus and Beyond Homework Help
-
T
Graduate Distribution of exponential family
... or just help me find the variance and expected value :)- the_dane
- Post #5
- Forum: Set Theory, Logic, Probability, Statistics