HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/xampp/htdocs/FograCT1/SCCA39.php
<?php
	# ------- The graph values in the form of associative array
	function SCCA39($v,$X1,$Xw2) {
	$Xw1x=84.4833;//CRPC3 Paper X
	$Xw1y=87.6183;
	$Xw1z=74.5941;
	$Xminx=0.9302;
	$Xminy=0.9666;
	$Xminz=0.6866;
	
	
	if ($v=='x') {
	$C=($Xw2-$Xw1x)/($Xw1x-$Xminx);
	$X2=$X1*(1+$C)-($Xminx*$C);
	return $X2;}
	
	if ($v=='y') {
	$C=($Xw2-$Xw1y)/($Xw1y-$Xminy);
	$X2=$X1*(1+$C)-($Xminy*$C);
	return $X2;}
	
	if ($v=='z') {
	$C=($Xw2-$Xw1z)/($Xw1z-$Xminz);
	$X2=$X1*(1+$C)-($Xminz*$C);
	return $X2;}
	
}
?>