HW0.362 - 1 0 [2,] 0 1 2c) > x=3, y=9, z=x^y...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Sheet1 1a) det(x) 1b) t.test(x1,x2) 1c)ode(s0,t0,t1,c=0,odt,tol,sup) where: s0: Initial values of state variables. t0: The start time for model integration. t1: The stop time for model integration. c: Array of any parameters to be passed to grad(). odt: The time interval at which to output data. tol: An array of tolerance values for the state variables (can use a single number) sup: A list controlling the display of the solutions 2a)> 2^5+3.14159^3 [1] 63.0062 2b)> A=matrix(c(1,2,3,4),2,2,byrow=T) [,1] [,2] [1,]
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1 0 [2,] 0 1 2c) > x=3, y=9, z=x^y Error: syntax error, unexpected GT in ">" 2d)> x=3 >z [1] 9 d=solve(A) y=2 3)Original - R outputs a graph of the function sin(x/25) from x=1 to x=250 in a seperate window. Each value of x is a point on the graph. Changed version - You ge the same graph, however instead of seperate points, the graph is represented as a single curve Page 1 Sheet1 round(A%*%d,digits=5) z=x^y Page 2...
View Full Document

Page1 / 3

HW0.362 - 1 0 [2,] 0 1 2c) > x=3, y=9, z=x^y...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online