#include “colors.inc”
camera
{ location [-10,10,-10]
look_at [0,0,0]
angle 100
}
light_source { [-20,30,15] color Red}
light_source { [20,-30,-15] color Blue}
//#declare newSphere =
sphere
{ [-2,-0,-2],2
pigment
{ color [1,1,1]
}
finish{ambient}
rotate [10,15,30]
//rotate [20,30,60]
//rotate [30,45,90]
//rotate [40,60,120]
//rotate [50,75,150]
//rotate [60,90,180]
}
sphere
{ [-2,-2,-2],2
pigment
{…
// A simple web site in Cloud9 that runs through Apache
// Press the ‘Run’ button on the top to start the web server,
// then click the URL that is emitted to the Output tab of the console
echo ‘Tutorial using PHP and PDO’;
//variables to establish connection
$server =…
package main
import “fmt”
import “time”
func main() {
var name string = “Obioku Obotette”
fmt.Println(“Name is”, name)
fmt.Println(“Address of name is”, &name)
fmt.Println(“It is”, time.Now())
add, subtract, multiply, divide := math(6, 8)
fmt.Println(“Results for math function are”, add, subtract, multiply, divide)
var slice []int
slice = make([]int, 1, 2)
…
#list for reading numbers
nums = []
index = 0
#open file
#read line by line
#then split to append to list
with open(“COSC450_P2_Data.txt”,”r”) as data:
for x in data:
array = x.split()
for i in array:
nums.append(int(i))
data.close()
import numpy as n
#create matrix
length = len(nums)//5
matrix1 = n.asarray(nums).reshape(5,length)
matrix2 = n.asarray(nums).reshape(length,5)
result…