search for: solx2

Displaying 3 results from an estimated 3 matches for "solx2".

Did you mean: sol2
2017 Sep 19
2
symbolic computing example with Ryacas
Hi all, I am trying to implement the following matlab code with Ryacas : syms U x x0 C d1=diff(U/(1+exp(-(x-x0)/C)),x); pretty(d1) d2=diff(U/(1+exp(-(x-x0)/C)),x,2); pretty(d2) solx2 = solve(d2 == 0, x, 'Real', true) pretty(solx2) slope2=subs(d1,solx2) I have tried the following : library(Ryacas) x <- Sym("x");U <- Sym("U");x0 <- Sym("x0");C <- Sym("C") my_func <- function(x,U,x0,C) { return (U/(1+exp(-(x-...
2017 Sep 19
0
symbolic computing example with Ryacas
...k Sutradhara <viveksutra at gmail.com> wrote: > Hi all, > I am trying to implement the following matlab code with Ryacas : > > syms U x x0 C > > d1=diff(U/(1+exp(-(x-x0)/C)),x); > > pretty(d1) > > d2=diff(U/(1+exp(-(x-x0)/C)),x,2); > > pretty(d2) > > solx2 = solve(d2 == 0, x, 'Real', true) > > pretty(solx2) > > slope2=subs(d1,solx2) > > > I have tried the following : > > library(Ryacas) > > x <- Sym("x");U <- Sym("U");x0 <- Sym("x0");C <- Sym("C") > > m...
2017 Sep 19
1
symbolic computing example with Ryacas
...;> Hi all, >> I am trying to implement the following matlab code with Ryacas : >> >> syms U x x0 C >> >> d1=diff(U/(1+exp(-(x-x0)/C)),x); >> >> pretty(d1) >> >> d2=diff(U/(1+exp(-(x-x0)/C)),x,2); >> >> pretty(d2) >> >> solx2 = solve(d2 == 0, x, 'Real', true) >> >> pretty(solx2) >> >> slope2=subs(d1,solx2) >> >> >> I have tried the following : >> >> library(Ryacas) >> >> x <- Sym("x");U <- Sym("U");x0 <- Sym("x0&q...