in reply to trigonometric functions give an uncaught user exception

Hi! ;)

my $b = $r1 * ( cos($w_beta1) - (cos($w2 / 2) ) + $r2 * cos($w2 / 2);

You got 5 ('s ,and 4 )'s ....

It`s up to you where you want the last ) ;)

Hope this helps...

GreetZ!,

When in doubt, parenthesize.
At the very least it will let some poor schmuck bounce on the % key in vi.
print "profeth still\n" if /bird|devil/;
  • Comment on Re: trigonometric functions give an uncaught user exception

Replies are listed 'Best First'.
Re: Re: trigonometric functions give an uncaught user exception
by neophyte (Curate) on May 30, 2001 at 14:55 UTC
    ouch
    thanks a ton, ChOas
    this just shows how blind I can get at times

    neophyte Niederrhein.pm - gotta code quickly, my brain's degenerating