Mathematica Mathematica 3: DSolve and NDSolve Description: Have a tedious differential equation to solve? Try to use
Fantastic news! We've Found the answer you've been seeking!
Question:
Mathematica
Transcribed Image Text:
Mathematica 3: DSolve and NDSolve Description: Have a tedious differential equation to solve? Try to use DSolve and NDSolve to solve differential equations in one clip! Not for; your homework :) Mathematica Tasks: 1. Consider the initial value problem: y'= y(3-y), y(0) = 3o. Use DSolve to solve for the general solution: DSolve[y'[r]==y[x]. (3-y[x]), y[z], x] In DSolve, first write down the equation(s), then specify the function y[x] and argument x. 2. For three different initial values yo = -0.5, 2, 3.5, find out the particular solutions by including the initial condition in DSolve: DSolve[{y'[r]==y[x] (3-y[x]), y[0] == -0.5},y[],a] * (You need to do one DSolve command fot every 30-) 3. After finding out the three particular solutions, define one function for each particular solution. You may do fl[r]= Your first particular solution Then use Plot to plot the particular solutions for x in range -5 to 5: Plot/1. {x, -5,5}] 4. Try to use NDSolve to solve for one of the particular solutions numeri- cally (pick one you like): solu = NDSolve[{y'[r]==y[x]. (3-y[x]), v[0] = -0.5), y[z], {z, -5,5}] And then plot the interpolated function: Plotly[r]/.solu, {r, -5,5), Plot Range → All] The /. we use here is to replace y[x] by solu, whichh we define to be the result of NDSolve. Extra Tasks: 1. Can you use NDSolve to find general solution? Why or why not? 2. When do you think is a good time to use NDSolve? Grading: Correctness: 4 pts (Completed all Mathematica tasks correctly.) Presentation: 5 pts (Clean, organized, self-contained, used effective visuals.) Thoroughness: 5 pts (Attempted all Mathematica Tasks, explained methodol- ogy, cited outside resources, provided insightful comments, gave brief summary.) Extra: 2 pts. Total: 14 pts. (Your total score won't exceed 14). Mathematica 3: DSolve and NDSolve Description: Have a tedious differential equation to solve? Try to use DSolve and NDSolve to solve differential equations in one clip! Not for; your homework :) Mathematica Tasks: 1. Consider the initial value problem: y'= y(3-y), y(0) = 3o. Use DSolve to solve for the general solution: DSolve[y'[r]==y[x]. (3-y[x]), y[z], x] In DSolve, first write down the equation(s), then specify the function y[x] and argument x. 2. For three different initial values yo = -0.5, 2, 3.5, find out the particular solutions by including the initial condition in DSolve: DSolve[{y'[r]==y[x] (3-y[x]), y[0] == -0.5},y[],a] * (You need to do one DSolve command fot every 30-) 3. After finding out the three particular solutions, define one function for each particular solution. You may do fl[r]= Your first particular solution Then use Plot to plot the particular solutions for x in range -5 to 5: Plot/1. {x, -5,5}] 4. Try to use NDSolve to solve for one of the particular solutions numeri- cally (pick one you like): solu = NDSolve[{y'[r]==y[x]. (3-y[x]), v[0] = -0.5), y[z], {z, -5,5}] And then plot the interpolated function: Plotly[r]/.solu, {r, -5,5), Plot Range → All] The /. we use here is to replace y[x] by solu, whichh we define to be the result of NDSolve. Extra Tasks: 1. Can you use NDSolve to find general solution? Why or why not? 2. When do you think is a good time to use NDSolve? Grading: Correctness: 4 pts (Completed all Mathematica tasks correctly.) Presentation: 5 pts (Clean, organized, self-contained, used effective visuals.) Thoroughness: 5 pts (Attempted all Mathematica Tasks, explained methodol- ogy, cited outside resources, provided insightful comments, gave brief summary.) Extra: 2 pts. Total: 14 pts. (Your total score won't exceed 14).
Expert Answer:
Answer rating: 100% (QA)
1 Consider the initial value problem y y3y y0 0 Use DSolve to solve for the general solution DSolvey... View the full answer
Related Book For
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba
Posted Date:
Students also viewed these mathematics questions
-
How do you solve for the constants in Mathematica for differential equations for example: Use mathematica programing language U= Cln[r]+C2-(N/2)+(N/8) with boundary conditions 1 r=0, C=0 Boundary...
-
Use Excel or Mathematica to construct a graph representing the function y(x) = x 3 2x 2 + 3x + 4.
-
Solve the set of equations using Mathematica or by hand with the method of substitution: x 2 2xy + y 2 = 0, 2x + 3y = 5.
-
A major electronics manufacturer expects to generate additional revenue from its recently won government contract. The company forecasts that the revenue will be $190 million in the first year, but...
-
Which of the following sources of market inefficiency would be most easily exploited? a. A stock price drops suddenly due to a large block sale by an institution. b. A stock is overpriced because...
-
At the Rogue Film Festival, the director must select one film from each category. There are 8 drama films, 3 sci-fi films, and 5 comedy films. How many different ways can a film be selected?
-
Posting a $800 purchase of supplies on account appears as which of the following? a. Supplies 800 Accounts Receivable 800 C. Supplies 800 Accounts Payable 800 b. Supplies Accounts Payable d. Cash...
-
CVP analysis, margin of safety Suppose Latin Corp.s breakeven point is revenues of $1,500,000. Fixed costs are $600,000. 1. Compute the contribution margin percentage. 2. Compute the selling price if...
-
The maintenance department of an Oil and Gas Company has 6 large drilling equipment waiting for repairs. These are labelled A, B, C, D, E and F. The respective repair times (in days) and the...
-
write two pages review for the article The 4 dimensions of digital trust, charted across 42 countries by Bhaskar Chakravorti, Ajay Bhalla, and Ravi Shankar Chaturvedi to give a personal opinion about...
-
Find the net changein h between x = 3and x = 3. The graph of a function h is given. -6 - y 65432- 1 5-4-3-2-1-1 2 1345 -3 -5 i -6 2 3 4 5 6 X
-
Question 1 (25 points) Listen Just as athletes train hard and develop game plans, anyone trained in "charismatic leadership tactics" (CLTS) can become more influential, trustworthy, and "leaderlike"...
-
Estimate its beta and Jensen's alpha before, during, and after the recent COVID-19 financial crisis. Use the following dates for the three periods. Coca Cola stock price as of today $57.26. a. Before...
-
Is the following statement is an argument. Why or why not?"Most evenings I go for a walk after dinner. Usually, I walk to the park and back, which is about two miles, but last night I only went as...
-
Problem ONE (3 points): What is the probable functional currency? Please fill in P or FC (as applicable) where: P = Parent's Currency; and FC = Foreign Currency. a Problem TWO (2 points): Please...
-
Keeping everything relevant to today, the scenario for this week is as follows: Your manufacturing facility in XYZ is facing massive backlash due to the Covid related worker shortages. Assuming that...
-
Calculate (in units) using given values in a collision of two body experiment, if; 0 = 34 u=5.0 m/s m = 5.0 g m V O a. 2.4 O b. 36 O c. 25 O d. 6.0 O e. 10 X
-
Why are stocks usually more risky than bonds?
-
In the text we discussed two main conditions under which the median voters favored policy is also the Condorcet winner. A: Review the definition of a Condorcet winner. (a) What are the two conditions...
-
Entrepreneurial Skill and Market Conditions: We often treat all firms as if they must inherently face the same costsbut managerial, or entrepreneurial, skill in firms can sometimes lead to a decrease...
-
A: The answers below correspond to parts (a) through (f) in exercise 25.6: (a) If this is the state of things when the patent runs out, will you change your output level? What happens to your profit?...
-
Use the properties of the mean and median to determine which are the correct mean and median for the following histogram. (i) Mean is 3.0; median is 4.1 (ii) Mean is 4.2; median is 3.2 (iii) Mean is...
-
In a study of Facebook users conducted by the Pew Research Center, the mean number of Facebook friends per user was 245 and the median was 111. If a histogram were constructed for the numbers of...
-
The National Center for Health Statistics reported in a recent year that the mean height for U.S. women aged 2029 was 64.3 inches, and the median was 64.2 inches. If a histogram were constructed for...
Study smarter with the SolutionInn App