note 127231 added to function.file
| From: | max dot rabo at gmx dot net | Date: | Wed, 06 Jul 2022 20:19:54 +0000 |
| Subject: | note 127231 added to function.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-218910@lists.php.net to get a copy of this message | ||
<?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>';
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.133 (proxied: 2a02:810c:4cbf:f988:d4d7:e0b7:7bf8:6318)
----
Manual Page -- https://php.net/manual/en/function.file.php
Edit -- https://main.php.net/note/edit/127231
Del: integrated -- https://main.php.net/note/delete/127231/integrated
Del: useless -- https://main.php.net/note/delete/127231/useless
Del: bad code -- https://main.php.net/note/delete/127231/bad+code
Del: spam -- https://main.php.net/note/delete/127231/spam
Del: non-english -- https://main.php.net/note/delete/127231/non-english
Del: in docs -- https://main.php.net/note/delete/127231/in+docs
Del: other reasons-- https://main.php.net/note/delete/127231
Reject -- https://main.php.net/note/reject/127231
Search -- https://main.php.net/manage/user-notes.php