65 Reputation

5 Badges

5 years, 81 days

MaplePrimes Activity

These are replies submitted by Rohith



Thank you very much, sometimes simple commands is what it needed. I completely forgot about evalf.


Thank you very much, It is what I was exactly looking for.

@Carl Love 

I Want the to dispaly these expressoins based on results of sove command, I have calculated the variable limits and want to display all possible solutions

term := (a*c+b)/(a*b-k);  # this term is absolute greater than or equal to zero
output :=solve({term > 0}),
output := map[2](remove, u-> lhs(u) = rhs(u), [output])
[{a < 0, c < -b/a, k < b*a}, {a < 0, b*a < k, -b/a < c}, {a = 0, 0 < k, b < 0},
 {a = 0, 0 < b, k < 0}, {0 < a, c < -b/a, b*a < k}, {0 < a, k < b*a, -b/a < c}]

for example

c<-b/a      -----> we know that    c[min]<c<c[max] and b/a[min]<b/a<b/a[max]     -->c[max] < (-b/a)[min]

I just want to display the term in terms of these variables with subscipt.



If there are no critical points can i put it simply as - if there are no critical points there is no global maxima?


Excuse me for late response

Actually am trying for different equations, I have tried

results :=[Solve(equation>0)]

output := map[2](remove, u->lhs(u)=rhs(u), output) # to remove lhs = rhs results # I got this line of code somewhere from maplePrime

Thank you for the suggestions :)


Hello, I am very much interested in your question. Almost I stuck in my work something very much related to your question.

If you already got the solution kindly, share with me It would be very helpful for my task.

Thank you

@Kitonum Thank you for the solution


But my actual problem is to find out that limiting value in this case b<>a^3. In general I have to deal with equations with multiple variables.

I have to find out for each variable if there is any such limiting value. I would be very glad in somewat if its possible to find the variable(s) values at which equations become undefined(or infinite).


expr2:= tan(a(b+ log(1+(epsilon*a*r)/c*s))/2);


in this case it is clear that c<>0 and also a(b+ log(1+(epsilon*a*r)/c*s)) <>Pi,

I have to write a script to do this automatically for given eqation.

@Carl Love 


Hello Carl, I came across this question randomly, I was reading manual Engineering Portal, Math and Programming. I observed in solve equations Symbolically and numerically page that, fsolve command is to solve the equations numerically. But in you answer mentioned as a symbolic computations system. I definetly missing something to understand.


I am not commenting anything related to your solution, I am just interested to know what exactly fsolve?. Can it be a numerical and symbolic computation command at same time??

Thank you


@Carl Love


Hello Carl

Excuse me for the late reply.

1) I want exactly to extract  functions and their coefficients in a expression. When there are functions*functions I want to get the coefficient of combined form(function*function)

2)when there are nested functions like(function(function(argument))) I am interested in getting the coefficient of nested functions

3) my general requirement is to extract exact coefficient(subexpression comprised of variable but not functions).



Your first solution is working perfectcly fine for almost all cases except when I have complex terms in denomenator like in case 4. I would be glad if there is a way to solve these.

Thank you for the support and guidance in undestanding few inportant concepts in earlier post. I am working around map and select using various funcitons lis has, hasfun,hastype.

@Carl Love 

Above method is working when the functions are in numerator. I understood that maple is doing automatic computaiton before solving it.

below image shows complex result.

I tried this doing by taking denominator but later found that when solving denomenator and numerator saperately my result is different from actual. Maple simplifies while extracting numerator and denom.

Is there a method to solve the above method for denomenator terms too??
I would like to have my output as

a*cos(psi)*sin(a)^2, a

Thank You

@Carl Love 


Second case is most relevent type for my expressions.
Again I am sorry for asking, I got the answer from your previous solution to other question of mine.

Using this I am able to get my coefficients. Thank you once again


In this case the number has to be two digis otherwise getting an output ().

I need to read variables which may have one or two digit numbers at end

asString := convert(C1, string);
num :=InertForm:-Parse(asString[-1]);

This method is valid only when I have single digit number in variable

@Carl Love 

I would like to know how can one identify such function terms(function*function or function/function) in an expression. Is it possible to xtract such tems by using the functions selectremove??

@Carl Love 

It is what I required Carl. Thank you very much for precise solution.

1 2 Page 1 of 2