LIFESCI 30A Final: LS30A Lab Final Study Guide/Formula Sheet

233 views8 pages
School
Department
Professor

Document Summary

Mice = 4 #assign value to variable. 7*94 = prod #assign value to variable. Plot(x^2, (x,0,2), color= red + plot(x^3, (x,0,5), color= purple ) Def slopeline(m=(-10,10)) #gives the function name and slider range. >>>>>p=plot(m*x, (x,-5,5), ymin=50, ymax=50) #plots mx for a given value of m. Determine what the type of an object is using the type command. To plot the entries in a list, use the list_plot function. This will plot each number against its position in the list. List_plot(bacteria) plots the list you previously made. List_plot(numbers, color= red , size=30) #plots coordinates with given constraints. List_plot(zip([62,81,75,90,67], [20,34,19,25,31]), axes_labels=[ hippos , crocadiles ], color= red , size=30 #zip function creates coordinates out of the two lists. You can define two variables and then graph them against each other by zipping both lists. For food in favorites: #for each value in that list creates for loop.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents