help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calculation error


From: Sergei Steshenko
Subject: Re: Calculation error
Date: Tue, 19 Feb 2013 22:33:31 -0800 (PST)

>________________________________
> From: asha g <address@hidden>
>To: "address@hidden" <address@hidden> 
>Sent: Wednesday, February 20, 2013 8:19 AM
>Subject: Calculation error 
> 
>
>I am getting an error while calculating the following using Octave 3.2 . Can 
>you please crosscheck. Also, when I write ln( ro/rl)/l - I get an error  
>message. can ln not be computed in Octave ? I would like to get the values of 
>rho and rx. Thanks Asha G 
>
> l = 400*10^-4; % in cm
>ro= 1.85*10^-4;% in cm
>rl= 0.3*10^-4;%in cm
>rho = (2.303/l)*log(ro/rl)
>%rho = ln(ro/rl)/l;
>x = linspace(0,l,N)
>rx= ro*(exp(-rho*x)) 
> 
> 
> 
>
>_______________________________________________
>Help-octave mailing list
>address@hidden
>https://mailman.cae.wisc.edu/listinfo/help-octave
>
>
>

By, say,

400*10^-4

do actually mean

400e-4

?

Regards,
  Sergei.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]