note 127231 deleted from function.file by girgias

From: Date: Thu, 07 Jul 2022 01:27:41 +0000
Subject: note 127231 deleted from function.file by girgias
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218914@lists.php.net to get a copy of this message
Note Submitter: max dot rabo at gmx dot net ---- <?php class AnalogSignal { protected $Physikgroesse protected $Physikeinheit function__contruct($pG,$pE) { $this -> Physikgroesse = $pG; $this -> Physikeinheit = $pE; } } class PeriodischesSignal extends AnalogSignal { protected spitzenWert protected periodenDauer { public function__construct ($sW,$pD,$pG,$pE) parent::construct ($pG,$pE) $this -> spitzenWert = $sW; $this -> periodenDauer = $pD; } { public function__construct ausgabeFrequenz() $Frequenz = 1/($this -> Periodendauer/1000); echo 'Frequenz =' $Frequenz 'Hz<br>'; } public function__construct ausgabeSpitzeSpitzeWert $Spitze = 2*$this -> spitzenWert; echo 'Spitzenwert' = $Spitze.$this -> Physikeinheit. '<br'; } class SinusSignal extends PeriodischesSignal { protected phasenLage } public__construct ($pG,$pE,$sW,$pD,$pL) parent::construct($pG,$pE,$sW,$pD) $this -> phasenLage = $pL; public function ausgabeEffektivWert; $ueff =$this ->Effektivwert/1.41; echo 'Effektivwert ='.$ueff.$this ->physikEinheit.'<br>';

« previous php.notes (#218914) next »