Physicist

110 Reputation

4 Badges

12 years, 135 days

MaplePrimes Activity


These are questions asked by Physicist

Hello,

I have a program where a system of DE's is solved numerically then some calculations are done to the result..

let the solution of the DE's be y(t) then we have:

A(t) = some function of y(t)

B(t) = some function of A(t)

C(t) = some function of B(t)

Those A, B and C are actually complicated formulas including sums, matrices... etc. So it's not possible to combine them in one function.

Then we'll plot C for a specific period of time.

 

My questions:

Hello,

 

How can I combine two plots so that one is above the other and they have the same x-axis.

 

Here's an example of what I want.

 

 

I tried array of plots, but in this case each plot has its own axes and they are side by side horizontally.

 

Any other suggestions?

 

Thank you

Hello,

Is there a way to merge two lists?

For example, to merge:
a=[[1,2],[3,4]]
b=[[5,6],[7,8],[9,10]]

and get:
[[1,2],[3,4],[5,6],[7,8],[9,10]]

Thanks

"Equate - convert a pair of rectangular objects into a list of equations" How can I do the opposite? e.g. converting [a=2, b=4, c=3] into [2,4,3]
Hello, I want to solve a DE in x(t) where the RHS of the equation is a random number that changes with time. For example: x''(t) + 10 x(t) = f(t) where f(1)=1, f(2)= 6, f(3)= -2...etc. I tried to use ran() but it solves it for a fixed random number, while I want it to be time dependent . Is there a way I can do that? Thanks
1 2 Page 1 of 2