Thread need help (mathe) (4 answers)
Opened by Froschpopo at 2006-06-18 13:59

renee
 2006-06-18 16:04
#22710 #22710
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Also bei mir wird alles richtig gemacht:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl

use strict;
use warnings;

my $e1 = 20.714285714285715;
my $e2 = 11.785714285714286;
my $d = 20;
my $H = 30;
my $t = 15;
my $b = 30;

my $Iyz = $d*$H * ($e1 - $d/2) * ( $e2 - $H/2) + $b*$t * ($e2 - $t/2) * ($e1 - $d - $b/2);
print $Iyz;


Ausgabe:
Code: (dl )
1
2
C:\Perl\community>frosch.pl
-48214.2857142857
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread need help (mathe)