Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #16595
| From | Narasimham <mathma18@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How to replace some variables and how to solve a differential |
| Date | 2014-03-02 06:48 +0000 |
| Message-ID | <leuk76$sfg$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
> Dear all, > > I am really new to Mathematica. > > I have two questions, please. > > 1. How to replace a variable in a function? > > I have defined: > > f[r_] := Log[((2*\[Lambda])/(\[Kappa]*r* > Cos[\[Lambda]*Log[(r/RM)]]))^2] Replace r with Exp[u]/Kappa and then it is now f[u_] The above does not give zero for constant numerical values assumed for RM and lambda, so may not be correct. The solution is in terms of Log and Tanh functions using DSolve. > RM, lambda >0 > > I want to replace r with u given by > > u=log[Kappa*r] > > I did it by hand but whant to check my result. > > > 2. How to check or solve the differential equation: It is better to use NDSolve at first numerically check for zero right hand side of equation, then DSolve analytically next. > > f"[u]=0.5*exp[2*u+f[u]] > > It would be sufficient for me to insert f[u] and see > if both sides are > the same. So far I failed. > > Thank you for your help. > > Regards > Blue >
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar
Re: How to replace some variables and how to solve a differential Narasimham <mathma18@gmail.com> - 2014-03-02 06:48 +0000
csiph-web