Symbolic package: Difference between revisions

Jump to navigation Jump to search
m (→‎Demos and usage examples: proofread a new example: fix typos and style)
Line 160: Line 160:
  ##
  ##
  syms y(x)  
  syms y(x)  
  de =diff(y, 3 ) +sqrt(2)*diff(y,2) + diff(y) == 0;
sqrt2=sym(1.41421);
  de =diff(y, 3 ) +sqrt2*diff(y,2) + diff(y) == 0;
  f = dsolve(de, y(0) == 0, diff(y,1)(0) == 0 , diff(y,2)(0) == 1)
  f = dsolve(de, y(0) == 0, diff(y,1)(0) == 0 , diff(y,2)(0) == 1)
  ff=function_handle(rhs(f))
  ff=function_handle(rhs(f))
17

edits

Navigation menu