

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Assigned: Tuesday (^) September 7*, Due: Tuesday September 14ft at the start ofclass.
motion for an (^) unconstrained particle with a given force nelO (^) f1;, f (^) , t) (^) , solving the equations (^) ofmotion (right (^) now just^ analytically, we will start doing numerically in the
expressions (^) for x(t), y(t), (^) and z(t). Make sure to use the initial position (^) and velocity
path of the projectile is given by [x(t),y(t)1=l(Yo cos?)t,(lr, sin?)t (^) - (S (^) l2)t'7] where g
First find the distance traveled (^) as a fimction of (^0) , then find the best d.)
For the next 2 computer (Matlab (^) and Mathematica) problems: you may (^) work in pairs.
going to (^) use it to see which differential equations it (^) can and cannot solve analytically.
The command 'DSolve' (type "?? (^) DSolve" atthe prompt (^) andthen hit (^) lshift]+lenter] at
[shift]+[enter]. Here^ y'^ denotes^ dy/dt, andthe^ [t] says^ that^ y^ is^ a^ function^ of t.
To solve the (^) differential equation &y/dtz: y type "DSolve[ y"[t] (^) == y[t], y (^) , tl". This (^) is also solved easily.
Denote dy/dtby y' (^) and &vldf by y". (^) Can Mathematica solve the (^) following differential equations?
d
,p:'x'rcp? g"6lrJ#s ."|fi
b) (^) Y': sin(Y) c) y':t'^ -v {) t" J^ rrrz' e) y" :^ IlQ+rt € this is similar to ow high altitude projectile (^) case. 0 y,,:y^ cos(y) If Mathematica gets (^) stuck (which would correspond to a "camot solve") then you can go to Kernel ) Abort Evaluation to intemrpt (^) the current computation.
systern (^ umd.blackboard.com rmder: course map ) tools ) (^) &gital drop box). Make
above.
huge amount of memory (^) and is not what you (^) want.) Basically, (^) if you want to animate a point you draw it at one spot, then (^) erase it and redraw it atthe next spot, and so on. How
help searchable web-page (^) $ttp: / /www.rnathworks.corn/search/).
Erase Mode The EraseMode property (^) controls how and when the object is drawn and deleted. By default, when an object is added or changed" new (^) objects or changes are not drawn (^) until the axes are refreshed. This occurs instantly from the command (^) line, however. in M-files the axes are not updated until a DRAWNOU GETFRAME, (^) or PAUSE statsment is executed, or retum to the command prompt is given. (^) When the (^) D(es are updated, every object is also updated. This (^) means that they are redrawn. Not all (^) objects have an EraseMode property, only lines, patches, surfaces, and text.
NORMAL When EraseMode is set to normal, the default, the axes will control (^) when the object is updated. This means that the axes (^) will flicker (^) when an obiect is drawn. changed, or deleted.
BACKGROUND Whsn EraseMode is set to background, the object deletes its graphics (^) by drawing itself in the figue's (^) background colqr. The major disadvantage (^) with this method is that objects behind this object (^) are damaged.
XOR When EraseMode is set to xor, the (^) object is drawn and erased by xoding it (^) with the (^) color beneath it. When the object is (^) erased, objects behind it are not damaged.
NONE When EraseMode is set to none, tlre object is not erased (^) when it is moved or destroyed.