subject

Make a plot of the function

y(t)=v0t−1/2gt^2

for v0=10 , g=9.81 , and t∈[0,2v0/g] with 21 points.

you will need to:

plot the data using a red solid line

change the plot range to match the specification above (use the plt. xlim( a, b ) function, where you provide a and b)

add axes labels to your plot, 'time / s' and 'height / m'

your submission should include a plot. make sure to import matplotlib. pyplot as plt. use plt. plot but not plt. show in your submission

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
Write a full class definition for a class named player , and containing the following members: a data member name of type string .a data member score of type int .a member function called setname that accepts a parameter and assigns it to name . the function returns no value.a member function called setscore that accepts a parameter and assigns it to score . the function returns no value.a member function called getname that accepts no parameters and returns the value of name .a member function called getscore that accepts no parameters and returns the value of score .this is what i have, aparently this is wrong: class player{private: string name; int score; public: void player: : setname (string n){name =n; }void player: : setscore (int s){score = s; }string player: : getname (){return name; }int player: : getscore (){return score; }};
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Name the range function that would generate the following list of integers values: 0,1,2,3,4,5.
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
The processing of data in a computer involves the interplay between its various hardware components.
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Match the sentence fragment in the first column with the appropriate ending in the second column. a little per favore?
Answers: 1
You know the right answer?
Make a plot of the function

y(t)=v0t−1/2gt^2

for v0=10 , g=9.81 , and t∈[0,2...
Questions