Lab quiz ls30a f19 - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Lab quiz ls30a f19? On this page you'll find 2 study documents about Lab quiz ls30a f19.
All 2 results
Sort by
-
Lab Quiz LS30A F19 with correct answers
- Exam (elaborations) • 4 pages • 2023
-
- $5.49
- + learn more
Lab Quiz LS30A F19 
1. The simulation script below simulates the model for the spring with friction, with state variables X and 
V. In the table below explain what each line of code does. The lines are numbered for your convenience. 
The explanation for the first line is given as an example. 
1 t = srange(0,100,0.1) 
2 var('X,V') 
3 sol= desolve_odeint([V,-X - 0.1*V],ics=[100,20],dvars=[X,V],times=t) 
4 list_plot(zip(t,sol), color='red', plotjoined = True) 
Line Your Explanation 
1 creates a...
-
Lab Quiz LS30A F19 with 100% correct answers
- Exam (elaborations) • 4 pages • 2023
-
- $5.49
- + learn more
Lab Quiz LS30A F19 
1. The simulation script below simulates the model for the spring with friction, with state variables X and 
V. In the table below explain what each line of code does. The lines are numbered for your convenience. 
The explanation for the first line is given as an example. 
1 t = srange(0,100,0.1) 
2 var('X,V') 
3 sol= desolve_odeint([V,-X - 0.1*V],ics=[100,20],dvars=[X,V],times=t) 
4 list_plot(zip(t,sol), color='red', plotjoined = True) 
Line Your Explanation 
1 creates a...
As you read this, a fellow student has made another $4.70
How did he do that? By selling his study resources on Stuvia. Try it yourself! Discover all about earning on Stuvia