- #1

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- #1

- #2

Milsomonk

- 96

- 17

- #3

S.G. Janssens

Science Advisor

Education Advisor

- 1,223

- 818

It is not correct to use the output of dsolve to define a function like you did above.Summary::DE solution

Hi,

I have my solved DE, like this:

View attachment 262344

How can i get sin(pi x /2) (without "y(x)=") to put it in array?

Thank you in advance

Instead, you can use the assign command, for example like this:

Maple 2018:

```
restart;
# Specify ODE and initial conditions.
ode := diff(y(x), x, x) = -y(x);
ics := y(0) = 1, D(y)(0) = 0;
# Solve ODE and assign the output.
sol := dsolve({ode, ics}, y(x));
assign(sol);
# Now you can evaluate the solution.
plot(y(x), x = 0..2*Pi);
```

Last edited:

Share:

- Last Post

- Replies
- 10

- Views
- 594

- Last Post

- Replies
- 1

- Views
- 217

- Last Post

- Replies
- 4

- Views
- 1K

- Last Post

- Replies
- 6

- Views
- 883

- Last Post

- Replies
- 1

- Views
- 486

Mathematica
Locator in ListPlot is constrained to x<1 , y<1

- Last Post

- Replies
- 0

- Views
- 513

- Last Post

- Replies
- 1

- Views
- 1K

- Last Post

- Replies
- 4

- Views
- 1K

- Replies
- 2

- Views
- 709

- Replies
- 3

- Views
- 383