[system] / trunk / webwork / system / courseScripts / PGcomplexmacros.pl Repository:
ViewVC logotype

Diff of /trunk/webwork/system/courseScripts/PGcomplexmacros.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 384 Revision 385
74 74
75 75
76sub polar{ 76sub polar{
77 my $z = shift; 77 my $z = shift;
78 my %options = @_; 78 my %options = @_;
79 my ($rformat,$theta_format);
80 set_default_options(\%options, r_format => ':%0.3f', 79 set_default_options(\%options, r_format => ':%0.3f',
81 theta_format => ':%0.3f', 80 theta_format => ':%0.3f',
82 ); 81 );
83 my $r = rho($z); 82 my $r = rho($z);
84 my $theta = $z->theta; 83 my $theta = $z->theta;

Legend:
Removed from v.384  
changed lines
  Added in v.385

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9