diff --git a/ImperialDroid.php b/ImperialDroid.php
new file mode 100644
index 0000000..9822587
--- /dev/null
+++ b/ImperialDroid.php
@@ -0,0 +1,110 @@
+
+
+
+ImperialDroid
+
+
+Imperialdroid Assignment
+IDNumber = $IDNumber;
+ $this->droidType = $droidType;
+ $this->height = $height;
+ $this->weight = $weight;
+ $this->manufacturer = $manufacturer;
+ }
+
+ function get_IDNumber(){
+ return $this->IDNumber;
+ }
+
+ function set_IDNumber($ID){
+ $this->IDNumber = $ID;
+ }
+
+ function get_droidType(){
+ return $this->droidType;
+ }
+
+ function set_droidType($dT){
+ $this->droidType = $dT;
+ }
+
+ function get_height(){
+ return $this->height;
+ }
+
+ function set_height($h){
+ $this->height = $h;
+ }
+
+ function get_weight(){
+ return $this->weight;
+ }
+
+ function set_weight($w){
+ $this->weight = $w;
+ }
+
+ function get_manufacturer(){
+ return $this->manufacturer;
+ }
+
+ function set_manufacturer($m){
+ $this->manufacturer = $m;
+ }
+
+ function reportStatus(){
+ echo "I am Imperial Droid ".$this->IDNumber." and all systems are functioning";
+ }
+
+ function movesToDestination($destination){
+ echo $this->IDNumber." moving to"."$destination";
+ }
+
+ function communicates($msg){
+ echo $msg;
+ }
+
+ function flysTransport(){
+ echo $this->IDNumber." flying Transport";
+ }
+
+ public static function compareDroids($d1,$d2){
+ $d= "";
+ if(strcmp($d1->get_IDNumber(),$d2->get_IDNumber())==0){
+ $d = $d1->get_IDNumber()." and ".$d2->get_IDNumber()." are the same";
+ }
+ else{
+ $d = $d1->get_IDNumber()." and ".$d2->get_IDNumber()." are different";
+ }
+ return $d;
+ }
+
+
+}
+
+$DR1= new ImperialDroid("ImperialDroid1",76,230,25,3);
+$DR2= new ImperialDroid("ImperialDroid2",75,220,22,4);
+echo"ID number: ".$DR1 -> get_IDNumber()."
";
+echo"ID number: ".$DR2 -> get_IDNumber()."
";
+echo"What can the ImperialDroid do?
";
+echo"".$DR1 -> reportStatus()."
";
+echo"".$DR1 -> movesToDestination(" Jersey City ")."
";
+echo"".$DR2 -> communicates(" Reporting to the duty")."
";
+echo"".$DR2 -> flysTransport()."
";
+echo"".ImperialDroid::compareDroids($DR1,$DR2)."
";
+
+ ?>
+
+
\ No newline at end of file
diff --git a/PreetiLadwa.php b/PreetiLadwa.php
index 31f393f..ff3f937 100644
--- a/PreetiLadwa.php
+++ b/PreetiLadwa.php
@@ -4,13 +4,201 @@
-This is my Assignment 1
+This is my Assignment 1
Function for sumAll
+Function to count even number in an Array
+
+
+Function to count odd number in an Array
+
+
+Function to count average number in an Array
+
+
+Function that accepts an array of numbers and returns the smallest number
+
+
+Function that accepts an array of numbers and returns the largest number
+
+
+Function that accepts an array of numbers and returns the range between the numbers
+
+Function that accepts an array of numbers and returns the median of the numbers
+
+
+Function that accepts an array of numbers and returns the mean of the numbers
+
+
+Function that accepts an array of numbers and returns the mode of the numbers
+ $v) {
+ if ($v == $x) {
+ $modes[] = $key;
+ } else {
+ break;
+ }
+ }
+ return $modes;
+ }
+ print_r(modes_of_array([1.0, 1.0, 2.0, 2.0, 3, 4]));
+?>
+
+Function that accepts an array of numbers and returns the sample Variation of the numbers
+ ";
+ echo "a[1] = $a[1]
";
+ echo "a[2] = $a[2]
";
+ echo "a[3] = $a[3]
";
+ echo "a[4] = $a[4]
";
+ echo "a[5] = $a[5]
";
+ echo "the_sample_variance = $the_variance
";
+ ?>
+
+Function that accepts an array of numbers and returns the standard deviation of the numbers
+
+
+Euclidean 2D distance function
+
+
+Interquartile range function
+