-
Recent Posts
Recent Comments
Archives
Categories
Meta
Author Archives: Luis Vargas
#Mastery22
Comments Off on #Mastery22
Posted in Blogs, Syndicated, TC1014 Blogs
#Mastery21
Comments Off on #Mastery21
Posted in Blogs, Syndicated, TC1014 Blogs
#Mastery20
Comments Off on #Mastery20
Posted in Blogs, Syndicated, TC1014 Blogs
#Mastery19
Comments Off on #Mastery19
Posted in Blogs, Syndicated, TC1014 Blogs
#WSQ16
Cars
Write a program that opens and reads the file 93cars.dat.txt and produces the following data:
- average gas mileage in city (City MPG)
- average gas mileage on highway (Highway MPG)
- average midrange price of the vehicles in the set
https:/
Comments Off on #WSQ16
Posted in Blogs, Syndicated, TC1014 Blogs
#WSQ15
Final Dash
I have 32 Points in Masterys and I need 40, so I am going to work in these 8 points that I need, I might do 4 videos or 8 writes I’m thinking through it, also I am going to do the WSQ, I miss 16 and 17.
It was a great semester.
Comments Off on #WSQ15
Posted in Blogs, Syndicated, TC1014 Blogs
#WSQ14
Estimating e
In this assignment you will estimate the mathematical constant e. You should create a function called calculuate_e which receives one parameter called precision that should specify the number of decimal points of accuracy.
https:/
Comments Off on #WSQ14
Posted in Blogs, Syndicated, TC1014 Blogs
#QUIZ11 #TC1014
Comments Off on #QUIZ11 #TC1014
Posted in Blogs, Syndicated, TC1014 Blogs
#QUIZ10 #TC1014
Question 1:
def findthrees(list):
sum=0
for x in range(0,len(list)):
if(list[x]%3==0):
sum+=list[x]
return(sum)
list=[0,4,2,6,9,8,3,12]
print(“The list is: “,list)
print(“The sum of the numbers of the list divisible by three is: “,findthrees(list))
Question 2:
def dotproduct(x,y):
ab=[]
for i in range(0,len(x)):
ab.append(x[i]*y[i])
return sum(ab)
v1=[2,4,5,6]
v2=[1,2,3,4]
total=dotproduct(v1,v2)
print (“The dot product of this two vector is: “,total)
Comments Off on #QUIZ10 #TC1014
Posted in Blogs, Syndicated, TC1014 Blogs