-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProjectileMotion.nez
More file actions
128 lines (126 loc) · 2.9 KB
/
ProjectileMotion.nez
File metadata and controls
128 lines (126 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"Problems": [{
"units": "m",
"gravity": -9.8,
"objects": [{
"type": "rect",
"centerX": 2.0,
"centerY": "{1}",
"mass": 5,
"isDynamic": true,
"angle": 0.0,
"width": 2,
"height": 2,
"initialVelocity": [0,0],
"forces":[0,0]
},
{
"type": "rect",
"centerX": 0.0,
"centerY": 0.0,
"mass": 10,
"isDynamic": false,
"angle": 0.0,
"width": 50,
"height": 5,
"initialVelocity":[0,0] ,
"forces": [0,0]
}
],
"varVals": {
"{1}": [8, 11]
},
"varValLabels": ["height"],
"problemText": "A block falls from a height of %1 meters, how long does it take to hit the ground?",
"displayWidgets": ["s=.5at^2"],
"solvingFormulas": ["(function(a) { return Math.sqrt(a*2/9.8);})"],
"inputWidgetUnits": ["sec"]
},
{
"units": "m",
"gravity": -9.8,
"objects": [{
"type": "circ",
"centerX": 2.0,
"centerY": "{1}",
"mass": 5,
"isDynamic": true,
"angle": 0.0,
"radius": 2,
"initialVelocity": [0,"{2}"],
"forces": [0,0],
"color": [0, 0, 0]
},
{
"type": "rect",
"centerX": 0.0,
"centerY": 0.0,
"mass": 10,
"isDynamic": false,
"angle": 0.0,
"width": 50,
"height": 5,
"initialVelocity":[0,0],
"forces": [0,0],
"color": [0, 0, 0]
}
],
"varVals": {
"{1}": [8, 11],
"{2}": [4, 6]
},
"varValLabels": [
"Height",
"Initial Velocity"
],
"problemText": "A ball is thrown upwards from a height of %1 meters, with an initial y velocity Vy0 = +%2 m/sec how long does it take to hit the ground?",
"displayWidgets": ["s=.5at^2 + V0t + H0", "Initial Velocity"],
"solvingFormulas": ["(function(b, c) { return (-1 * b - Math.sqrt(b * b + 4 * 4.8 * c)) / -9.8;})"],
"inputWidgetUnits": ["sec"]
},
{
"units": "m",
"gravity": -9.8,
"objects": [{
"type": "circ",
"centerX": 2.0,
"centerY": "{1}",
"mass": 5,
"isDynamic": true,
"angle": 0.0,
"radius": 2,
"initialVelocity": ["{2}","{3}"],
"forces": [0,0],
"color": [0, 0, 0]
},
{
"type": "rect",
"centerX": 0.0,
"centerY": 0.0,
"mass": 10,
"isDynamic": false,
"angle": 0.0,
"width": 50,
"height": 5,
"initialVelocity":[0,0],
"forces": [0,0],
"color": [0, 0, 0]
}
],
"varVals": {
"{1}": [8, 11],
"{2}": [4, 6],
"{3}": [4, 6]
},
"varValLabels": [
"Height",
"Initial X Velocity",
"Initial Y Velocity"
],
"problemText": "A ball is thrown from a height of %1 meters, with an initial x velocityy velocity Vy0 = +%3 m/sec how long does it take to hit the ground?",
"displayWidgets": ["s=.5at^2 + V0t + H0", "Initial Velocity"],
"solvingFormulas": ["(function(b, d, c) { return (-1 * b - Math.sqrt(b * b + 4 * 4.8 * c)) / -9.8;})"],
"inputWidgetUnits": ["sec"]
}
]
}