Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Homework questions are welcome, as long as they are asked honestly, explain the problem, and show sufficient effort. Please do not use this as the only tag for a question. Please do not add this tag to questions by other people unless they explicitly say that their question is part of their homework.
4
votes
2
answers
568
views
Euler-method implementation
How can I implement this pseudocode in Mathematica?
Algorithm:
(* input: f, x0, xmax, y0, n *)
h = (xmax-x0)/n;
u[1] = x0;
v[1] = y0;
For i = 2,n+1:
u[i] = u[i-1] + h;
v[i] = v[i-1] + h * f( …
1
vote
1
answer
243
views
Lotka-Volterra in mathematica
I have to solve the next problem:
We know that a=b=c=d=1 and x0=2,y0=3,q=0.2,On the t=[0,20] interval there is no fishing but on the t=[20,40] interval there is.Show the adequate trajectory(the first …