Don't ask to ask, just ask | |
PerlMonks |
Re: trigonometric functions give an uncaught user exceptionby ChOas (Curate) |
on May 30, 2001 at 14:46 UTC ( [id://84215]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|