Recent content by gpax42
-
G
MATLAB Lotka-Volterra Approximate Solution Error: Trapezoid Method in Matlab
Thank you for the helpful response :smile: since I'm plotting the loglog of the difference between my final population values(global error) that resulted from halving my h-value, i believe youre correct in noting that my graph should have a slope of 1. This, however, begs the question of...- gpax42
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
G
MATLAB Lotka-Volterra Approximate Solution Error: Trapezoid Method in Matlab
I'm trying to calculate the error of the Trapezoid Method in my population approximations for wolves and moose over time given certain parameters. Ultimately what i need to do is perform a series of trapezoid approximations using different 'h' values. Each successive 'h' value I use is half...- gpax42
- Thread
- Approximate Error Matlab Method Trapezoid
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
G
How Do You Solve the Verhulst Equation for Logistic Population Growth?
ahhh I see... when I separated variables, however, I found... \intdP/[P(1-P/k)] = \intrdt I then manipulated the left side to read K/[P(K-P)] ... after partial fractions... = 1/P + 1/(K-P) int[1/P + 1/(K-P) )dP] = int[rdt] following through with integration leads to...- gpax42
- Post #3
- Forum: Calculus and Beyond Homework Help
-
G
How Do You Solve the Verhulst Equation for Logistic Population Growth?
Hi all, it's been a over a year since I took my differential equations and linear algebra course and I'm currently enrolled in a class that assigned this problem as a sort of refresher on analytically solving differential equations. I can't seem to remember the proper approach to going about...- gpax42
- Thread
- Replies: 2
- Forum: Calculus and Beyond Homework Help
-
G
Solving the HARD Equation: Finding Values for A, B, and C | Step-by-Step Guide
When I attempted the problem I managed to get C = -1, A = 4 and B = 2... any idea if this is right? I multiplied through to get a common denominator and then set the numerators equal to one another. A(x+1)(x) + B(x-1)(x) + C(x2-1) = 5x2+2x+1 I distributed and found... Ax2 + Ax +...- gpax42
- Post #12
- Forum: Precalculus Mathematics Homework Help
-
G
MATLAB Matlab Problem structured array
i think i got it to work correctly... here's my code... ----------------------------------------------------------- function board = makeBoard(rows,cols) for rowIndex = 1:rows for colIndex = 1:cols board(rowIndex,colIndex).type = '-'; end end for index = 1:.1*rows*cols...- gpax42
- Post #5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
G
MATLAB Matlab Problem structured array
thanks for the great advice :smile:... I wrote out the code for the algorithm. My first for loop looks something like this... function board = makeBoard(rows,cols) for rowIndex = 1:rows for colIndex = 1:cols board(rowIndex,colIndex).type = '-'; end end for index...- gpax42
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
G
MATLAB Matlab Problem structured array
Not sure if anyone here is familiar with MATLAB programming. I am supposed to create a structured array (resembling a game board) that acts as a predator/prey simulator. The user needs to specify the size of the game board. Within the gameboard I am supposed to represent a couple of different...- gpax42
- Thread
- Array Matlab
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
G
A number in matlab by default uses how much memory?
A number in MATLAB by default uses how much memory? my professor asked me this question today and I wasnt sure. In MATLAB I assigned a random number to the variable x >> x = 5.5623 and then used the "whos" command to determine how many bytes were stored. According to "whos", the...- gpax42
- Thread
- Matlab Memory
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
G
MATLAB A number in matlab by default uses how much memory?
A number in MATLAB by default uses how much memory? my professor asked me this question today and I wasnt sure. In MATLAB I assigned a random number to the variable x >> x = 5.5623 and then used the "whos" command to determine how many bytes were stored. According to "whos", the...- gpax42
- Thread
- Matlab Memory
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
G
Is Matrix A Invertible? Solving Linear System with Gaussian Elimination
Homework Statement Suppose that Gaussian Elimination gives the soluiton of a Linear System Ax=c as x = x0 + a1x1 + a2x2, where A is a 6X6 matrix and a1 and a2 are arbitrary. Is the matrix A invertible? Explain The Attempt at a Solution I simply explained that due to properties of an...- gpax42
- Thread
- Linear Linear system System
- Replies: 1
- Forum: Calculus and Beyond Homework Help
-
G
Showing functions form a basis
ooo alright, thanks for all the helpful explanations =D- gpax42
- Post #7
- Forum: Calculus and Beyond Homework Help
-
G
Showing functions form a basis
is it D = dt2/[(5/2)t2-(3/2)]- gpax42
- Post #4
- Forum: Calculus and Beyond Homework Help
-
G
Showing functions form a basis
Homework Statement Show that the functions po(t)=1, p1(t)=t, p2(t)=1/2(3t2-1), and p3(t)=(3/2)*[(5/3)t3-t) also form a basis for the vector space P3(R) ... "R" meaning all real numbers Homework Equations I know these polynomials are the first four Legendre polynomials The Attempt...- gpax42
- Thread
- Basis Form Functions
- Replies: 6
- Forum: Calculus and Beyond Homework Help
-
G
Finding System Solutions of the system Ax=0; A being a matrix
My class learned about row operations today but I didn't think to apply them because I began this problem yesterday... Thanks for your advice :biggrin:- gpax42
- Post #4
- Forum: Calculus and Beyond Homework Help