Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Thank you..

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88473] Thank you..
  • From: "Fikri Serdar GOKHAN" <fsgokhan at gmail.com>
  • Date: Tue, 6 May 2008 06:40:52 -0400 (EDT)
  • References: <200805051016.GAA08633@smc.vnet.net> <20080505073446.Y110F.72641.imail@eastrmwml42>

Thank you for your kind help.
Serdar


-----Original Message-----
From: Bob Hanlon [mailto:hanlonr at cox.net] 
Sent: Monday, May 05, 2008 2:35 PM
To: mathgroup at smc.vnet.net; Fikri Serdar GOKHAN
Subject: [mg88473] Re: [mg88450] Problem: is not a list of numbers with dimensions

In both cases, use Exp rather than exp

A = 1*10^(-4);
k = 2/3;
g = 1.12*10^(-11);
Attenuation = 0.23026*0.475*10^(-3);
L = 7200;
Leff = (1 - Exp[-Attenuation*L])/Attenuation;

FindRoot[x - A*Exp[k*g*x*Leff - Attenuation*L], {x, 0}]

{x->0.0000454986}


Bob Hanlon

---- Fikri Serdar GOKHAN <fsgokhan at gmail.com> wrote: 
> When run the below code,
> 
> 
> A=1*10^(-4);
> 
> k=2/3;
> 
> g=1.12*10^(-11);
> 
> Attenuation= 0.23026*0.475*10^(-3);
> 
> L=7200;
> 
> Leff=(1-exp[-Attenuation*L])/Attenuation;
> 
>  
> 
> FindRoot[x-A*exp[k*g*x*Leff-Attenuation*L],{x,0}]
> 
>  
> 
> It executes the below solution,
> 
>  
> 
> FindRoot::nlnum: The function value {0.-0.0001 exp[-0.787489+0. \
> 
> (1.+Times[<<2>>])]} is not a list of numbers with dimensions {1} at \
> 
> {x} = {0.}.
> 
>  
> 
> I need your help about numerical and Alpha_numeric solution of this
problem.
> 
> 
>  
> 
> f(x)= x-A*exp[k*g*x*Leff-Attenuation*L
> 
>  
> 
> Serdar
> 
> 



  • Prev by Date: Re: orthonormal eigenvectors]
  • Next by Date: FindClusters & BarCharts
  • Previous by thread: Problem: is not a list of numbers with dimensions
  • Next by thread: Re: Problem: is not a list of numbers with dimensions