PHP Classes

File: testsdof.php

Recommend this page to a friend!
  Classes of Win Aung Cho  >  Dynamic PHP SDOF Class  >  testsdof.php  >  Download  
File: testsdof.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Dynamic PHP SDOF Class
Analyse the response of a structure to earthquakes
Author: By
Last change:
Date: 0 years ago
Size: 222 bytes
 

Contents

Class file image Download
<?php
$peak
= 0;
$imgfile = "xydata2.txt";
$sdof = new SDOF();
$sdof->loadGAcc("kobens.txt");
//$peak = $sdof->calcRHA();
$peak = $sdof->calcSpectrum();
$sdof->saveSpectrum($peak);
$sdof->drawSpectrum($imgfile, $peak);

?>

For more information send a message to info at phpclasses dot org.