Doubt about formula transcription
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 29 articles for 0.002 sec
Re: Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: Terence
Date: May 4, 2008 20:50

On May 5, 12:55 pm, glen herrmannsfeldt <g...@ugcs.caltech.edu> wrote: On Apr 7, 3:36 pm, Leonardo Marques <surf...@gmail.com> wrote:  > I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8-  > cos(a)**2))-((pi)*4/9) I would use atan2(sin(a)*cos(a),0.8-cos(a)**2)-pi*4/9 You might also want it in double precision.  Likely it won't come out exactly zero, but should...
Show full article (0.63Kb) · Show article thread
Re: Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: glen herrmannsfeldt
Date: May 4, 2008 19:50

On Apr 7, 3:36 pm, Leonardo Marques <surf...@gmail.com> wrote: I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8- cos(a)**2))-((pi)*4/9) I would use atan2(sin(a)*cos(a),0.8-cos(a)**2)-pi*4/9 You might also want it in double precision. Likely it won't come out exactly zero, but should be close if a is close to a solution. -- glen
Show full article (0.36Kb) · Show article thread
Re: Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: robin
Date: Apr 12, 2008 07:45

...8b90-74cbef524878@u3g2000hsc.googlegroups.com... hey guys, im with a little problem when im transcripting a math formula from maple to fortran, because when i put a solution on the equation, i got a result diferent from zero. The formula is: 2*arctan(sin(a)*cos(a)/(.8-cos(a)^2))-4/9*Pi ; I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8- ...
Show full article (0.68Kb) · Show article thread
Re: Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: glen herrmannsfeldt
Date: Apr 8, 2008 12:25

... folding and 2) you can prove the sequence of code in question is a bottleneck of your program. Other than that, legibility and correctness are more important. I think I agree. Those who need the speed should use the compiler optimization options, and the compilers should then do it. I doubt many check the generated code even when it is known to have bottlenecks. -- glen
Show full article (0.58Kb) · Show article thread
Re: Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: Leonardo Marques
Date: Apr 7, 2008 16:11

... Marques <surf...@gmail.com> wrote: hey guys, im with a little problem when im transcripting a math formula from maple to fortran, because when i put a solution on the equation, i got a result diferent from zero. The formula is: 2*arctan(sin(a)*cos(a)/(.8-cos(a)^2))-4/9*Pi ; I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8- cos(...
Show full article (2.11Kb) · Show article thread
Re: Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: Gordon Sande
Date: Apr 7, 2008 13:38

... Marques <surf3r0@gmail.com> said: hey guys, im with a little problem when im transcripting a math formula from maple to fortran, because when i put a solution on the equation, i got a result diferent from zero. The formula is: 2*arctan(sin(a)*cos(a)/(.8-cos(a)^2))-4/9*Pi ; I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8- cos...
Show full article (2.41Kb) · Show article thread
Re: Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: e p chandler
Date: Apr 7, 2008 13:36

...@u3g2000hsc.googlegroups.com... hey guys, im with a little problem when im transcripting a math formula from maple to fortran, because when i put a solution on the equation, i got a result diferent from zero. The formula is: 2*arctan(sin(a)*cos(a)/(.8-cos(a)^2))-4/9*Pi ; I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8- ...
Show full article (0.77Kb) · Show article thread
Re: Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: fj
Date: Apr 7, 2008 13:34

...@u3g2000hsc.googlegroups.com... hey guys, im with a little problem when im transcripting a math formula from maple to fortran, because when i put a solution on the equation, i got a result diferent from zero. The formula is: 2*arctan(sin(a)*cos(a)/(.8-cos(a)^2))-4/9*Pi ; I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8- ...
Show full article (0.80Kb) · Show article thread
Re: Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: Michael Metcalf
Date: Apr 7, 2008 13:09

...8b90-74cbef524878@u3g2000hsc.googlegroups.com... hey guys, im with a little problem when im transcripting a math formula from maple to fortran, because when i put a solution on the equation, i got a result diferent from zero. The formula is: 2*arctan(sin(a)*cos(a)/(.8-cos(a)^2))-4/9*Pi ; I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8- ...
Show full article (0.57Kb) · Show article thread
Doubt about formula transcription     

Group: comp.lang.fortran · Group Profile · Search for Doubt about formula transcription in comp.lang.fortran
Author: Leonardo Marques
Date: Apr 7, 2008 12:36

hey guys, im with a little problem when im transcripting a math formula from maple to fortran, because when i put a solution on the equation, i got a result diferent from zero. The formula is: 2*arctan(sin(a)*cos(a)/(.8-cos(a)^2))-4/9*Pi ; I've transcripted to fortran as: 2*atan((sin(a)*cos(a))/(0.8- cos(a)**2))-((pi)*4/9) There's correct?! a piece of my code:...
Show full article (0.77Kb)
1 · 2 · 3 · next