Subhan331

Mr. SUBHAN ULLAH

20 Reputation

4 Badges

2 years, 2 days

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are replies submitted by Subhan331

@nidojan can you please share that code with me

@Rouben Rostamian  Thank you so much <3

@Rouben Rostamian  Respected! I need maple code, not by hand solution please if you can provide for Fractional i m a student and a beginner.

Thanks in Advance

@Rouben Rostamian  can you write this code for fractional Order?

 

@Rouben Rostamian  Hello do you have any maple code for above method if you have please share

@Christian Wolinski this code isnt working

@tomleslie  because i m getting quick reply here can you please help me to generate Pareto front for my problem

@vv thanks alot and how to plot this result

@Carl Love i need same code for transcendental function

@Samir Khan can you please do it for x^2-2 with a=1 and b=3
 

bisection := proc (a, b, Tinit) local epsilonABS, epsilonSTEP, c, atemp, btemp; epsilonABS := .1; epsilonSTEP := .1; atemp := a; btemp := b; while epsilonSTEP <= btemp-atemp or epsilonABS <= abs(HeatBalance_code(atemp, Tinit)) and epsilonABS <= abs(HeatBalance_code(btemp, Tinit)) do c := (1/2)*atemp+(1/2)*btemp; if abs(HeatBalance_code(c, Tinit)) <= 0 then break elif HeatBalance_code(atemp, Tinit)*HeatBalance_code(c, Tinit) < 0 then btemp := c else atemp := c end if end do; return atemp end proc:

``


 

Download no_result.mw
 

bisection := proc (a, b, Tinit) local epsilonABS, epsilonSTEP, c, atemp, btemp; epsilonABS := .1; epsilonSTEP := .1; atemp := a; btemp := b; while epsilonSTEP <= btemp-atemp or epsilonABS <= abs(HeatBalance_code(atemp, Tinit)) and epsilonABS <= abs(HeatBalance_code(btemp, Tinit)) do c := (1/2)*atemp+(1/2)*btemp; if abs(HeatBalance_code(c, Tinit)) <= 0 then break elif HeatBalance_code(atemp, Tinit)*HeatBalance_code(c, Tinit) < 0 then btemp := c else atemp := c end if end do; return atemp end proc:

``


 

Download no_result.mw

 

@Carl Love how  to write a code for non linear function like exp(x)-sin(x)+2 

@tomleslie what if i want to have for a non-linear function like exp(x)-sin(x)+2

@Kitonum but we did not mention k=6 

 

@Kitonum why its shows only 6 iterations for n=10 or hw can we find more?

@Kitonum thanks 

1 2 Page 1 of 2