Groups | Search | Server Info | Login | Register


Groups > comp.soft-sys.math.mathematica > #16817

Re: Three masses and four springs

From Roland Franzius <roland.franzius@uos.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Three masses and four springs
Date 2014-04-17 09:11 +0000
Message-ID <lio5r6$5kj$1@smc.vnet.net> (permalink)
References <lilc5f$qlj$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Am 16.04.2014 09:40, schrieb Robert Jenkins:
> The instruction
> DSolve[{-2*x1[t] + x2[t] == x1''[t], -2*x2[t] + x1[t] == x2''[t],
>    x1[0] == -1, x2[0] == 2, x1'[0] == 0, x2'[0] == 0}, {x1, x2}, t]
> produces a simple solution. But I am surprised to find the three-mass version produces a mass of complication. Have I made a mistake?
> DSolve[{-2*x1[t] + x2[t] == x1''[t], -2*x2[t] + x3[t] + x1[t] ==
>     x2''[t], -2*x3[t] + x2[t] == x3''[t], x1[0] == -1, x2[0] == 2,
>    x3[0] == -1, x1'[0] == 0, x2'[0] == 0, x3'[0] == 0}, {x1, x2, x3},
>    t]
>


Its not that complicated but it involves a root of a third order 
determinant for the eigenfrequency

In[22]:= FullSimplify[{x1[t], x2[t], x3[t]} /.
   DSolve[{-2*x1[t] + x2[t] == x1''[t], -2*x2[t] + x3[t] + x1[t] ==
       x2''[t], -2*x3[t] + x2[t] == x3''[t], x1[0] == -1, x2[0] == 2,
      x3[0] == -1, x1'[0] == 0, x2'[0] == 0, x3'[0] == 0}, {x1[t],
      x2[t], x3[t]}, t][[1]]]

Out[22]= {1/
   2 ((-1 + Sqrt[2]) Cos[Sqrt[2 - Sqrt[2]] t] - (1 + Sqrt[2]) Cos[
       Sqrt[2 + Sqrt[2]] t]),
  1/2 (-(-2 + Sqrt[2]) Cos[Sqrt[2 - Sqrt[2]] t] + (2 + Sqrt[2]) Cos[
       Sqrt[2 + Sqrt[2]] t]),
  1/2 ((-1 + Sqrt[2]) Cos[Sqrt[2 - Sqrt[2]] t] - (1 + Sqrt[2]) Cos[
       Sqrt[2 + Sqrt[2]] t])}

-- 

Roland Franzius

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar


Thread

Three masses and four springs Robert Jenkins <dale.jenkins8@gmail.com> - 2014-04-16 07:40 +0000
  Re: Three masses and four springs Roland Franzius <roland.franzius@uos.de> - 2014-04-17 09:11 +0000

csiph-web