Sponsored links: Algebra eBooks
 

Related

num-rat-rhs-solve-subst

mbc: (yc-yb)/(xc-xb);

mca: (ya-yc)/(xa-xc);

eq1: x+mbc*y-xa-mbc*ya;

Calculate

num

num:((2*x+4)*(2*x-(9/...

den:((2*x+4)^2+(t^2 -...

Calculate

num-plot2d
plot2d(-(aCurrentTime_num - aDuration_num/2) ^ 2 + lSignedAmplitude_num,[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate

num-rat-subst-sum

N: 2;

xx: num(rat(sum(a[2*i...

yy: num(rat(sum(a[2*i...

Calculate

num

num:35+7*p+6*v-13*f*p...

minimize(%);

Calculate

num-plot2d-sin
plot2d(aInitialValue_num + 0.2 * 0.5 * (1 + sin(aCurrentTime_num^slow / aDuration_num^(1/slow) * %pi*2 - %pi/2)),[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate

num-rat-rhs-solve-subst

mbc: (yc-yb)/(xc-xb);

mca: (ya-yc)/(xa-xc);

eq1: x+mbc*y-xa-mbc*ya;

Calculate

num

sol_num : [[0, 4, 6],...

solnum;

Calculate

num-solve

eq1: 0=x^4+2*x^3-34*x...

solve([eq1],[x]);

num(x);

Calculate

num-plot2d-sin
plot2d(aInitialValue_num + 0.5 + 1 + 0.4 * sin(aCurrentTime_num / aDuration_num * %pi*2 - %pi/2),[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate

num

Run Example
(%i1)aInitialValue_num: 1.0;
(%o1)                                 1.0
(%i2) aFinalValue_num: 1.0;
(%o2)                                 1.0
(%i3) aDuration_num: 4.0;
(%o3)                                 4.0
(%i4) lMaxNormalizedDeviation_num: 0.14;
(%o4)                                0.14
(%i5) slow: 1.5;
(%o5)                                 1.5
(%i6) plot2d(aInitialValue_num + aFinalValue_num * (aCurrentTime_num / aDuration_num) + lMaxNormalizedDeviation_num * 0.5 * (1 - cos((aCurrentTime_num / aDuration_num)^slow * 2 * %pi)),[aCurrentTime_num,0,aDuration_num]);
plotplot2d(aInitialValue_num + aFinalValue_num * (aCurrentTime_num / aDuration_num) + lMaxNormalizedDeviation_num * 0.5 * (1 - cos((aCurrentTime_num / aDuration_num)^slow * 2 * %pi)),[aCurrentTime_num,0,aDuration_num]);
Run Example
kill(all);
(%o0)                                done
(%i1) nodev1: 0 = g*(v0 - k*v1 - v2) - (gc*(v1 - 0) - ic1eq), gc=1;
(%o1)                0 = g (- v2 - k v1 + v0) - v1 + ic1eq
(%i2) nodev2: 0 = g*(v1 - 0) - (gc*(v2 - 0) - ic2eq), gc=1;
(%o2)                       0 = - v2 + g v1 + ic2eq
(%i3) sln1: (first(solve([nodev1, nodev2], [v1, v2]))[1]);
                               g v0 - g ic2eq + ic1eq
(%o3)                     v1 = ----------------------
                                           2
                                    g k + g  + 1
(%i4) sln2: (first(solve([nodev1, nodev2], [v2, v0]))[1]);
(%o4)                          v2 = g v1 + ic2eq
(%i5) sln3: substitute(sln1, sln2);
                         g (g v0 - g ic2eq + ic1eq)
(%o5)               v2 = -------------------------- + ic2eq
                                       2
                                g k + g  + 1
(%i6) rat(second(sln3));
                       2
                      g  v0 + g ic2eq k + ic2eq + g ic1eq
(%o6)/R/              -----------------------------------
                                        2
                                 g k + g  + 1
(%i7) rat(num(second(ratsimp(sln3))));
                       2
(%o7)/R/              g  v0 + g ic2eq k + ic2eq + g ic1eq
(%i8) rat(denom(second(ratsimp(sln3))));
                                        2
(%o8)/R/                         g k + g  + 1
(%i9) 
Run Example
aInitialValue_num: 1.0;
(%o1)                                 1.0
(%i2) aFinalValue_num: 1.0;
(%o2)                                 1.0
(%i3) aDuration_num: 4.0;
(%o3)                                 4.0
(%i4) slow: 0.4;
(%o4)                                 0.4
(%i5) plot2d(aInitialValue_num + 0.2 * 0.5 * (1 + sin(aCurrentTime_num^slow / aDuration_num^(slow) * %pi*2 - %pi/2)),[aCurrentTime_num,0,aDuration_num]);
plotplot2d(aInitialValue_num + 0.2 * 0.5 * (1 + sin(aCurrentTime_num^slow / aDuration_num^(slow) * %pi*2 - %pi/2)),[aCurrentTime_num,0,aDuration_num]);
[abs,assume,denom,diff,ev,linsolve,num,ratsimp,subst] [at,num,numer,rat] [atan2,coeff,num,plot2d,sin] [atan2,cos,num,pi,plot2d] [atan2,cos,num,plot2d] [atan2,num,plot2d] [bfloat,bftorat,block,if,integerp,mod,num,ratdenom,ratepsilon,ratprint] [bftorat,block,float,if,integerp,mod,num,ratdenom,ratepsilon,ratprint] [binomial,num,rat,subst,sum] [block,do,ifactors,length,num,return,while] [block,ifactors,length,num,random,return] [coeff,denom,draw,float,load,num,part,solve,subst] [coeff,do,ev,expand,hipow,linsolve,nterms,num,part,print,while] [coeff,do,ev,expand,hipow,linsolve,nterms,num,part,while] [coeff,expand,hipow,lhs,makelist,num,rat,resultant,rhs,subst,sum] [coeff,expand,hipow,makelist,num,rat,solve,subst,sum] [coeff,hipow,makelist,num,rat,solve,subst,sum] [coeff,hipow,makelist,num,rat,subst] [concat,denom,false,floor,length,makelist,map,mod,num,ratprint,transpose] [concat,denom,floor,mod,num,rat,string] [cos,num,pi,plot2d] [cos,num,plot2d] [denom,display,factor,num,ratsimp,subst] [denom,expand,num,xthru] [denom,expand,num] [denom,factor,float,hypergeometric,num,ratsimp] [denom,factor,float,hypergeometric,num] [denom,factor,num,rat,ratcoef] [denom,factor,num,ratsimp,subst] [denom,factor,num,ratsimp] [denom,first,kill,num,ratsimp,second,solve] [denom,lhs,num,ratsubst,rhs,solve] [denom,num] [diff,num,solve] [diff,num,sum] [divide,factor,last,num] [divide,num,ratsimp] [divide,num] [expand,num,rhs,solve,subst] [log,num,plot2d,sin] [matrix,num] [num,plot2d,sin] [num,plot2d] [num,rat,rhs,solve,subst] [num,rat,rhs,solve] [num,rat,sum] [num,solve,sqrt] [num,solve] [num,sum] [num]

Related Help

Help for Num