Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: trigonometric functions give an uncaught user exception

by ChOas (Curate)
on May 30, 2001 at 14:46 UTC ( [id://84215]=note: print w/replies, xml ) Need Help??


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!,
    ChOas

When in doubt, parenthesize.
At the very least it will let some poor schmuck bounce on the % key in vi.
                    (L. Wall)
print "profeth still\n" if /bird|devil/;

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://84215]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-29 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found