hisasugi8338

0 Reputation

2 Badges

13 years, 75 days

MaplePrimes Activity


These are replies submitted by hisasugi8338

@longrob 

Wow, you just saved my day!!! Thanks a million!

@longrob 

Wow, you just saved my day!!! Thanks a million!

@longrob 

Thanks for the timely tip! Really appreciated it! Just another question, is it possible to display different  maximums on the 3D plot?

@longrob 

Thanks for the timely tip! Really appreciated it! Just another question, is it possible to display different  maximums on the 3D plot?

thanx for your help

thanx for your help

Dear Doug

After going through my program, the CM is dependant on the price assigned to it (i.e. CM:=a+b*p/gamma). My problem is that, I want to set global variables so all the calculation can be all done my maple instead of manual key-in. However I still cannot use the objects and variables that I have defined prior to the calculation, thats why I used subs in the above example. The below is what I wish the formula would look like:

Tsales := proc (t) 

if SalesCBCM < CM and 0 < t

then SalesBCM else

SalesACM

end if
end proc

SalesBCM and SalesACM are two functions that I want to merge and CM is the point where it switchs from one function to another. Most of the variables are interrelated, therefore I want the calculation to be done by maple. Because, currently I don't know the best way to do this, that is why I came up with the code that I listed in the my question.

Your help is appreciated 

Dear Doug

After going through my program, the CM is dependant on the price assigned to it (i.e. CM:=a+b*p/gamma). My problem is that, I want to set global variables so all the calculation can be all done my maple instead of manual key-in. However I still cannot use the objects and variables that I have defined prior to the calculation, thats why I used subs in the above example. The below is what I wish the formula would look like:

Tsales := proc (t) 

if SalesCBCM < CM and 0 < t

then SalesBCM else

SalesACM

end if
end proc

SalesBCM and SalesACM are two functions that I want to merge and CM is the point where it switchs from one function to another. Most of the variables are interrelated, therefore I want the calculation to be done by maple. Because, currently I don't know the best way to do this, that is why I came up with the code that I listed in the my question.

Your help is appreciated 

Doug

Thanx for the tip, I'll give it a shot and will let you know how, really appreciate your help!

Doug

Thanx for the tip, I'll give it a shot and will let you know how, really appreciate your help!

Page 1 of 1