Kitonum

21435 Reputation

26 Badges

17 years, 26 days

MaplePrimes Activity


These are answers submitted by Kitonum

See help on the  DEtools:-DEplot  command.

I think that it makes sense to write procedures for calculating the equivalent resistance for the general case, that is, for any number of resistances and their arbitrary connection. Below by combining  ser  and  par  procedures, we can calculate the equivalent resistance for more complex circuits:


 

Two procedures
 

ser:=proc() # Procedure for series circuit
normal(`+`(args));
end proc:

par:=proc()  # Procedure for parallel circuit
normal(`+`(map(t->1/t,[args])[])^(-1));
end proc:

 

Examples of use
 

ser(R[1],R[2],R[3]);

R[1]+R[2]+R[3]

(1)

par(R[1],R[2],R[3],R[4]);

R[1]*R[2]*R[3]*R[4]/(R[1]*R[2]*R[3]+R[1]*R[2]*R[4]+R[1]*R[3]*R[4]+R[2]*R[3]*R[4])

(2)

    Below is the resistance calculation for this circuit:

ser(R[1],par(R[2],ser(par(R[3],R[5]),R[4])));

(R[1]*R[2]*R[3]+R[1]*R[2]*R[5]+R[1]*R[3]*R[4]+R[1]*R[3]*R[5]+R[1]*R[4]*R[5]+R[2]*R[3]*R[4]+R[2]*R[3]*R[5]+R[2]*R[4]*R[5])/(R[2]*R[3]+R[2]*R[5]+R[3]*R[4]+R[3]*R[5]+R[4]*R[5])

(3)

 


 

Download circuits.mw

See help on the  GraphTheory:-CycleBasis  command.

The dimension of the solution of a system is equal to the number of arbitrary constants in its solution. But in this example, the solution depends on an arbitrary smooth function  x[1](t) . But the dimension of the space of such functions is equal to infinity:

restart;
Sys:={diff(x[1](t),t)+diff(x[2](t),t)+2*diff(x[3](t),t)=0, x[1](t)-2*x[2](t)-x[3](t)=0, 2*x[1](t)+x[2](t)+3*x[3](t)=0, -x[1](t)+2*x[2](t)+x[3](t)=0};
dsolve(Sys);

   

The  P  procedure solves the problem:

P:=(A::Matrix)->nops(op(2,A));


Example of use:

A:=<0,1,0,1; -1,3,0,0; 0,0,1,0>;
P(A);
                 

Here is another simple method using  plots:-animate  command. 40 frames for the ellipse (0<e<1, red color), 10 frames for the parabola (e=1, green color) and 40 frames for the hyperbola (1<e<=1.8, blue color) :

restart;
L:=[seq(n*0.025,n=0..39),1$10,seq(1.02+n*0.02,n=0..39)]:
plots:-animate(plot,[1/(1-e*cos(phi)), phi=0..2*Pi, color=piecewise(e<1,red,e=1,green,blue), thickness=2, coords=polar, scaling=constrained, view=[-10..15,-5..5], discont=true], e=L, size=[1000,300]);

     

restart;

expr1:=-lambda-(1/2)*kappa__c-gamma__p-(1/2)*sqrt(-16*N*g^2+4*lambda^2-8*lambda*gamma__p+4*lambda*kappa__c+4*gamma__p^2-4*gamma__p*kappa__c+kappa__c^2);

subsindets(expr1, sqrt, t->Student:-Precalculus:-CompleteSquare(t));
expand(%, op([4,2,1,1], %));

      

restart;
'eval'(diff(f(r),r), r=C)=0;

 

Edit.

The  irem  command does not work for symbolic variables  so we use the  isolve  command instead. The following code returns all pairs  [k,b]  for which a solution exists. Total list  L  of all the solutions contains 4000 solutions.

restart;
N:=0:
for k from 1 to 9999 do
sol:=isolve(k*b=m*10000+2391);
if sol<>NULL then N:=N+1; L[N]:=[k,eval(rhs(sol[1]),_Z1=0)]; fi;
od:
L:=convert(L, list);
nops(L);


Your pair  [297, 9503]  is also present in the list  L .

If you just need to animate a rolling disk, then the easiest way is to use the tools of  plottools  and  plots  packages.

Example:

restart;

F:=proc(t)
local Disk, Circle, Radius, Wheel, R;
uses plottools, plots;
Disk:=disk([0,1], color=yellow);
Circle:=circle([0,1], color=blue, thickness=3);
Radius:=line([0,0], [0,1], color=red, thickness=3);
Wheel:=display(Disk,Circle,Radius);
R:=rotate(Wheel, -t, [0,1]);
display(translate(R, t, 0), scaling=constrained);
end proc:

plots:-animate(F,[t], t=0..2*Pi, frames=120, size=[1000,400]);

  

We get the list of 5 solutions for this system. Using the  eval  command we can easily get the values of the expression  f  for each solution:


 

Sys:={x14^2-x14, x13^2-x13, x12^2-x12, x11^2-x11, x10^2-x10, x9^2-x9, x8^2-x8, x7*x8-x7-x8+1, x7^2-x7, x6^2-x6, x5^2-x5, x4^2-x4, x3^2-x3, x2^2-x2, x1^2-x1, x13*x14*x9-x13*x14-x13*x9-x14*x9+x13+x14+x9-1, x12*x13*x6-x12*x13-x12*x6-x13*x6+x12+x13+x6-1, x10*x11*x9-x10*x11-x10*x9-x11*x9+x10+x11+x9-1, x10*x11*x6-x10*x11-x10*x6-x11*x6+x10+x11+x6-1, x1*x2*x5-x1*x2-x1*x5-x2*x5+x1+x2+x5-1, x2*x3*x4-x2*x3-x2*x4-x3*x4+x2+x3+x4-1, x10*x14*x4*x7*x9-x10*x14*x4*x7-x10*x14*x4*x9-x10*x14*x7*x9-x10*x4*x7*x9-x14*x4*x7*x9+x10*x14*x4+x10*x14*x7+x10*x14*x9+x10*x4*x7+x10*x4*x9+x10*x7*x9+x14*x4*x7+x14*x4*x9+x14*x7*x9+x4*x7*x9-x10*x14-x10*x4-x10*x7-x10*x9-x14*x4-x14*x7-x14*x9-x4*x7-x4*x9-x7*x9+x10+x14+x4+x7+x9-1, x1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12+x13+x14-4};

{x1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12+x13+x14-4, x1^2-x1, x10^2-x10, x11^2-x11, x12^2-x12, x13^2-x13, x14^2-x14, x2^2-x2, x3^2-x3, x4^2-x4, x5^2-x5, x6^2-x6, x7^2-x7, x8^2-x8, x9^2-x9, x7*x8-x7-x8+1, x1*x2*x5-x1*x2-x1*x5-x2*x5+x1+x2+x5-1, x10*x11*x6-x10*x11-x10*x6-x11*x6+x10+x11+x6-1, x10*x11*x9-x10*x11-x10*x9-x11*x9+x10+x11+x9-1, x12*x13*x6-x12*x13-x12*x6-x13*x6+x12+x13+x6-1, x13*x14*x9-x13*x14-x13*x9-x14*x9+x13+x14+x9-1, x2*x3*x4-x2*x3-x2*x4-x3*x4+x2+x3+x4-1, x10*x14*x4*x7*x9-x10*x14*x4*x7-x10*x14*x4*x9-x10*x14*x7*x9-x10*x4*x7*x9-x14*x4*x7*x9+x10*x14*x4+x10*x14*x7+x10*x14*x9+x10*x4*x7+x10*x4*x9+x10*x7*x9+x14*x4*x7+x14*x4*x9+x14*x7*x9+x4*x7*x9-x10*x14-x10*x4-x10*x7-x10*x9-x14*x4-x14*x7-x14*x9-x4*x7-x4*x9-x7*x9+x10+x14+x4+x7+x9-1}

(1)

Sol:=[solve(Sys)];
nops(Sol);

[{x1 = 0, x10 = 1, x11 = 0, x12 = 0, x13 = 1, x14 = 0, x2 = 1, x3 = 0, x4 = 0, x5 = 0, x6 = 0, x7 = 0, x8 = 1, x9 = 0}, {x1 = 0, x10 = 1, x11 = 0, x12 = 0, x13 = 1, x14 = 0, x2 = 1, x3 = 0, x4 = 0, x5 = 0, x6 = 0, x7 = 1, x8 = 0, x9 = 0}, {x1 = 0, x10 = 0, x11 = 0, x12 = 0, x13 = 0, x14 = 0, x2 = 1, x3 = 0, x4 = 0, x5 = 0, x6 = 1, x7 = 0, x8 = 1, x9 = 1}, {x1 = 0, x10 = 0, x11 = 0, x12 = 0, x13 = 0, x14 = 0, x2 = 1, x3 = 0, x4 = 0, x5 = 0, x6 = 1, x7 = 1, x8 = 0, x9 = 1}, {x1 = 0, x10 = 0, x11 = 1, x12 = 0, x13 = 1, x14 = 0, x2 = 1, x3 = 0, x4 = 0, x5 = 0, x6 = 0, x7 = 1, x8 = 0, x9 = 0}]

 

5

(2)

f:=3*x1+2*x2+x3+7*x4+x5+x6+3*x7+x8+x9+x10+2*x11+x12+x13+6*x14;

3*x1+2*x2+x3+7*x4+x5+x6+3*x7+x8+x9+x10+2*x11+x12+x13+6*x14

(3)

seq(eval(f, Sol[i]), i=1..5);

5, 7, 5, 7, 8

(4)

 


 

Download example_new.mw

Should be


 

``

restart

``

t0 := 2

2

(1)

t := 4

4

(2)

f := proc (u, s) options operator, arrow; cos(u+s)^2*u^2 end proc

proc (u, s) options operator, arrow; cos(u+s)^2*u^2 end proc

(3)

evalf(int(int(f(u, s), u = 0 .. s), s = t0 .. t))

10.55164212

(4)

evalf(int(int(f(u, s), s = piecewise(`and`(u > 0, u < t0), t0, u) .. t), u = 0 .. t))

10.55164212

(5)

``


Here is the plot of integration domain:

plot(s, s = 2 .. 4, filled, view = [0 .. 5, 0 .. 5], labels=[s,u]);

                       

Download order_integration_new.mw

 

Addition. This integral is easy to calculate symbolically in two ways:

NULL

restart

t0 := 2

2

(1)

t := 4

4

(2)

f := proc (u, s) options operator, arrow; cos(u+s)^2*u^2 end proc

proc (u, s) options operator, arrow; cos(u+s)^2*u^2 end proc

(3)

int(int(f(u, s), u = 0 .. s), s = t0 .. t)

43/4+(11/64)*sin(4)^2-(1/8)*sin(2)^2+(7/16)*cos(4)^2-(3/8)*cos(4)*sin(4)-(3/64)*sin(8)^2-(31/16)*cos(8)^2+(3/4)*cos(8)*sin(8)

(4)

int(int(f(u, s), s = piecewise(`and`(u > 0, u < t0), t0, u) .. t), u = 0 .. t)

10+(1/16)*cos(4)+(17/128)*cos(8)-(3/16)*sin(8)-(121/128)*cos(16)+(3/8)*sin(16)

(5)

simplify(%-`%%`)

0

(6)

``

 

Download order_integration_new1.mw

 Maple simply shows the first few and last few digits of the numerator and denominator of this gigantic fraction. If you are confused by the incorrect seventh digit in the numerical calculation, then simply increase Digits . It is never guaranteed that when calculating (with  Digits=10 by default) all 10 digits are correct.
 

Digits:=20:
15000*(1+0.06/365)^(10*365);

27330.434318076693573

(1)

A:=15000*(1+6/100/365)^(10*365);

222406574698332122252435250830971079503943966893899873061010046112552630386259069637401685560212442917795013591225887980595139392977942373648583009607152484196288175881662161000873006724193107817008634986884016681549315797983674475302952167687296010115423998058937792545156123135128514085376222936956534333661467709603943267166817591050759125546378556021509953431101387162806390748642747962856263376307054999116860242062607946155746045904160110990071231954857053096312538669049301666746282473956165966497879029133028691718788485086812837024895232035254639550611117049172604061373331006912235687880099025714589601293060514923534290333511251452140293881044936627200448629695211482895001880049260169191927167342479479236886987137149964448841700595909460953599335194796501180977937648318175180157907732467615604094544385214458910929891111847123759167082019907430640540350623267594971204709189710261831545091748869095291729975144261647316400962769284835441943582626035150663464597787364430338223929720923238502448310112020523937636008082726994904819729390936904119060846937119553380020429506055435870235335254061430422351523012214272732861156988490647735495073539314877486937249655384391301837275948731251581834151532207163735877722871442328906644413198196889059753795342384784078186480360731780088155355458920343544223415904549149748035172518093778481790482849130732863807784301964752474260738143485917903534737864411332211543233784928270758575196545793147842189937192150824218804236085105191181917342251940582780197196779519298044431252977702914709151592127519378707772486346920404971572114652856758294842539760561616310268481515473737363688337206177669914703396977881074896084977017165419585427032136472760844546786353026960565531827138818677943017097537272815178970847268611859793101155711073707740721584457948767235920715040972090332517740056445315902885625629808893430007350961474779193927118945331561003191569998722433876081130363253839520370072564213723621253425605261869070320962584857230507810895977329421170894904961948343587143770370689193309835745879075358851165220387308715536375180076380255433286787176995149557274104842483295688489894859320728917418866942116425232759113443986203732807147730945385350492006123763548212992787028665476880501250977721601961393196150518389881729168772948729883426394922406485504360280616777232947315507696726839269579739847308703604260014847035322128312298780682710516409873194600955083362851926296501397304085517212328719911059982233640816138530975008151768353235610360232662788219993113946672699272557475586569459920974485754245424535353903510498201199351133673179879748906980045993782023409802375818032995057510162435156275251180224997831772365233537166850479847285103969806949958891107933737270685892320596268117738112063687748695389534244965867661137560384481728016072205662552013142353271771712337783182196593680751213695619183305018307851548271681777197482472766541679572242707672333482319919863289034453051634927325273564984182516553972202376109768414693268791389486618663556015999264997095347265094253155141139564111623831306098316559653318920263800909694555852401552402450307556013264847826109118559062139036892386367314493525963480863759220130784198303488431641119519305452907378565425513738571766860045298212350743247223204093768071976246300102785119404385098912300362065687786207580444368224601497601000998582345914308739561896416146294464908380728966179836228987901854220223499196769050113126520028080068976677963659924709967608717058778522942859950521316776558529089740862489761185915705388631980089259692393828886296593806785720194578783711134978366212357916646503497496998716729938383390675564771377980748832154597027518269586404413536440121952663971714490606569787297990697213858692404490395112001728542423904399656568009670970325256122966826587438463156751360469398067386933787730615011963786947379743267850009545618358135781801779226266997434210955353095600351229830072780168228917350707179552339192413648622549789100955326307875629527519542384543284803420001977761252130380004740262242871541282356064134275569437379478955507813304220825526963021342376052471273104966645687787466842502355158190723393214815260348198905949946182156224475380919916830580733000360584451057547177732362307809049147941538940175867923362828634283553661909129258635663087280952061147718045222361168555578536448942995080136433437112381629019476095865781469478633712723065084356775847051571798406648838457153676177803404118847813175031124459169446431759115005943629880299542469409518189959080090491572299008569356193183465517863678514860583891653289219907718149306052148114684353645036977016348809828701049312019180233206384697288282427862075548509274218957376974780112167915876867249570308511420936909926349032725437186130562442929398167873011813181536831915817112112791611158139331914665096819011927665147659423950320687250875161607123628258455538800932426141141710742501085454223129438484127509003627500798775780775469252497787136191176533201004562722986874257020982037033617506276571172137616432834080308108445879753202564879932990209588696139920900636254561248970068021783043137454149680223316765291540035960699560917979012961868377889283833147230791595336045258519696048662681229019371966755895907242445914794000551844010415940792228928918576432807417774629180380170775538527761721232026668108672154310165632098588740891939953343053545815433654659631088349834300010978713628015457417366519255158032526386731585225736076781498772607282533329313871763478779963204747160611371730075466486514924567951018518913832166878354357684464626883018016032672171641820668296958031720140028671376252296321800426670705547375978353918363658403679865901388318558097923835917765408959476372621709650265797949857971101454387557260771346060582074219303314763857477273034718069652964656867197863169314604726533975585026477049243952307956047737153106596742766939290088022096155927241088033942802452968246984956676619058294934591763425556974700464326318645966773226301008062129801895355847365839769331210319059849974490591811399223607320287078761751472954484023648246412991564348144828202201367622576915797444082935248520151291858582574866280647205552554029700168599065132220226872301673968513372848841683837945264338920752337723260478714348670306410974510648962937516757952370933208226248331440431207300456208229701553502351851353849825071084860302097753663239748395636064527712316770204432682804036164319144997797843948204612906063866983917937493871553097322904769227366581476916050071636040437113740759750066774327586194717754254081557508925259231180359213773075795114886514027766333065845484459776492641356571344435375634184829546628760930084436118685209214014709308510456938110180614471287308095450698577706703120016969060493004287753943235635366383328081438998684654614587041152973124867718833033984931872227579158711140675779408012044785504611864850492334767173218037862194104525661390175432909212546601818315290194385060386628355760764547081830953525790514734534230355982821665932660531564331337952304730202462987958107397748834059634532295481182264386426083477698988178221000333265121715903737154732157268067902051316419919079112657244611395411623438533846262120989309860707120925164956411981995906355446140890555244076963797965366179972607642125322697884122256478679045953888051360823216612363319462741575562931909211019811099974776816010957433505100412412247668964691730567654062584019203538721085158564594597222751813132259480227589200885803632018273674268719806509146234928292915548738787813586631263851136542278845048608842086879626162840373968384382741217815675919615666387692157327316316839278997582324472245750506432481419378293384425442841307548120677504711890054237550252012755845760234370819761414626496456523610540894526977487179089752389027160957986148407262614917419262271369216027875503282762480361774203786654902193494713605167940169013995813757675159731006652596415874429511880170886211641353561313572053711139081516609102540310106988291980853334857353837618656159440464698613762128505012160762246884793764577009919384514081924170001919187530007887649520153462396005518278837630647495254676763491078458852496903701562687834087773169270963465329790169853538810863116266382388267822433218532446069638985653743675451199493021680691987922768798543251867219982947646107421701148028470153765380331863922832611095512846014316334128281775781500092293218290927420923049882580675612153273794965550743718943876201178991003064916137334659360758747985456674935433116973313824562470608354013516474032127652564736478900267155223731976048302192390994286268775116631453975226436690477945591240984241746791928463338174621000781884812198846361146482405593051751643444493346671440848252338737897429346830246671538713664662105560487736792734702116641031630087268441982878678831044349878279021154589430020137749034944713454546968233162088859048127073312368227126888330515785373641132834188631581413905738774635742839577961924603680592441473806738460953812666805886365706983897415282744642937644969695789819721281610281920617826350196914523796942742101597976637345612573030301339172451207517492132760768367121466053135751297041137557138245762159916522199453687192545922743057901175280275681826030101979046355209385788536540301770556389327858934877187477313849343001720986803829864447027231516541515039679435801547514757514638507030807758433111972177109508341499828419483987386257721145138397675116950429172888772676505920686415674636146029282806360843671312742066473625875304454414751424361103896140778201442005651480141572764304797426730644170122973186059025688228086237037443501025150266586862965763042060843960555888185554465262581718909854849625123709961043228157723025332510245392890883457903692826395633538660857389988320807524614945854061119128045400458455434869834511243565433912645606962926485942847154221862374863983142821536702541410282995646979992102357719498690834929427157377554177745916799564399251672110663394779238105013117066321255116911840091176817587424116146588082822804054821769446925764447143071252211413789013712876457299026099779018508919922103593395610447920837418392536992383209947881026958251736795548922089184802253914233178751390271241125108161130513513267636296163982929304715885723305280797151485423835753570990371939881363624066552682017489267375886025109676366419233847870996829049906485894301038408046185274176755425308949998891908114834695763189310501282096311822687960554701409897077090557551456104813119499268617730960102473524364780554543762106910427982056276789038059490657035657293892711413463766435427285150439869525175245929199079005354203780461427746842173827956708381766882393875816666079821041120471853464167045615292099740335082127924388544484234332449687577681449443228363428915442148912653879198861391156253045476347700545828142275188181152478904905724334351437081068629409036874337934399900237072843896279001831690715468684172118994007543509148603421143446361998253029633430731298246024584031642096786617866818040872790373298202034277134080947898509751887852267869348395240064542318939203636030265941585594901019458999910823984641373804384037951245683739142267284385456793290510955584977152045676864448517292187230749264548369627530215722805277324013555636994214362510571668875218123725855105692123274357848336303142542173860136698003664428434212977950830039426008789264905372495434590582966538152079251092855986417639229347332216328892761182843831287546517401529584618954528335729483263969021084839512006581169746793646409040291280169691237817424379909774388965245870536982646039368671502765560756302148701527872463458904781878264008888217590878826803322413772445588954919875863543246704949861680945454130787325632703572749800050626743157822921851726636931614595973271409163860280708398081245021538297729277140545975713014920782159381780021943492130512044627573901661398865728859204519150361243495701567726726494120440930254309787154349692871088672251448205206943378280513001166142372817576733578462650475724559791613053555734415532905507224199855629569914907102585307309073580369431312527968756777645114146943496463661152878780804080002940649907183119767579899840411516658859151243434451424554887805474021774646255805918968170521401927762859810746123469124618450220086357321104152469311660006081994701542411555059542359456636689073881499944140268991739359720825740520740107202540361757563000755995272882752958752218045216624759127347917255187222085489874658446916235766380524059866134431401191270505137401166976468336639761934374969475445487103658254852853286746964796680821105768771670075961707941699620413197627297844590694604196810203798940535276982067091411757123039215144577723499923408612721619793609250121392705405594134413777532615536462113660146934705743019085560102181959634080143769632311032648048584770304808663148502603311320211148253289762479843596075716500105524912492539602369117583632284232246055577975971607870499480169601568326688419512648681321772571343764556875848034557037427865522669540229726649437080548552590264856251932734482226780159371949568429693464826282901498822880938249251107588554261429293811728620749489127045511149476967919274100096046463539501697149480849794585010265848792911438675348411069968451304284899745864621413798111367474225545219334700874968171063572306654412948100018107208854256989775181336855244638373358898617774061413960970063260250558305514475725880246087682241734555545824568310014800254665106889066185964435711227109547574308793835008930644743842504674063816327100059429217103742348507783816700668006387194480852751314998193610130034976293801731673962130135762535226374496293001364292348249057776081032036186617369826656057116541684594922690541599687899922698692457045947764647475136512280239502990606864368789218532045445332213064147680849553911047164603459858292542456092948097901199748446087117706025255718997324327703128189507649490601828977948607867276801055643027670172602360650216167453232177596579965438082363247499205159073369732009117156797984928679543245640822704305566778230095270488075059898612101215012323656127798836788078362303118988959179011559257451222170823449394665769225911135448650254128225819647971607968628522736492325398215865422507370336611420411363091885353523583967227803260861001241775042434960676147217068741710747576146319672470508746034067277479676172947124267736151527978170470579461754789659193029038631049183465329603783539014939046691093612675011703829819028643147010188566325169382670521291175801506683052894482958431747748123289412842520259381561709844092156384413712414715771925204792577662733390609757042374863382360958563289988644563777505763936681451507256694568296019535054226436050555244587630648281254259734906744616234877772661281433812681699536311772521674262891745257081353878998439810559756247628233644412386586134501657109895716304151955603127701336722950156594616291152660088997169181495682394699945191269119211015231064017884109195688660723076818197470957885813275626951601412255473628913143885420102508306450524320916287774352478296128093450434604311985698789712824917700716257802715666894148952413210522878185128233277749787121061538699521714560599213973586462157560591114191843500104521677273505073924646261636779256624277686891834299354952594101274629844104436004452636914842781830081850099371773695320410272331623441543883436067265823446347141656867072087778841375616555901996369921833043087778132615709813306871271108191915837793490276580278888603751528362955915868143254840015129356182725679625064985085269667268654185352755425029940192983487296642431534501069836634747/8137688999374210400742450078333128773280184861428227630587859098200986831045143621308131100133952804184633987689454188067827244560479765047945651869703050869405037908294202489199343275117759220413694748830543982052473056466775132877656264101704836697867849405678652304137240576630820624752979127484432850729045803061331879393920022092597642161156261189572945263475759887947376218498255876332232858622149530443019737854639576042969955439161486808267487195252716151217653060765036648431185058072630300639813385348595269743619994884679645424312504808681898046355793271157913111214544394429063035939922984200087157675508963848011018494714817334787927499580173609919531940471332055451112051290930900294623355165708452416097073993177218350832161111188455378476251134346605516620935276108772443413761826521754675332661312177484277899497798571305674273007538208614506805078813939529396109228534101992567307157816574180531770420929547231718709454279950954465727349348453665392623346209417105399708627461938429087343324643023323836728232193532431764396331916131695571238743315062744397808467808481086856261504395374702612155353582458453249293051602237841203987421724692290751140575709889918498938570949810437022379690902149730119872861941590497834107418345941171408763050737389750527857080697988820151123069583151066569808203989176859609540088195388694987704142154580446583942698184420463441464533468024437434714617259914970860258826292677386889423727088220288160605261318524865127012113219116948664477868649075665870607895993097947062102927183875999652541039317643993123381052680772087783764385901227304919925649349025557435428069012964281194249084652909329724167159507628206040274807383466771732395127186302017280736330375705908193505698033361773901846769541243935982013479882419361329056749854565648866485111876386719597489171323182378098888925952835219345310580383739969544285992525465435932110998284340668892779898612013656199914861967291036200987626227717358527207891596611785659356784978811315356446191948217379924765644571597769704167640227119373243311280915099952501729632556775145712335989780897619445509739710386636775114637311863185232517327373408932199124859722225766118384668399169797976259568405935931799061169510072218220617867074076927217421069669701010058554528813018401402418415801902940863348585830106296771396925789207780857163086546382866112427430757856926377786451030428316107077428187051061843311693722506865476498359444107320519258830694271107026502798689206304789108995544848306783322334659277886800158461951152277380123125556191068899325109091161173279724443335964458153012725726412035222415861142163936679050749142079282665015191256979855869246835068289598723417598470940389406139382416040803624596986739327319270360796289207598763346190394304191106734243364252539612531934697613336944356062146051937789444221879173116956078607855936657445580956130278380021329535155717292013954577840788104454435501448371465661819183887024068394997807654043799904379681108349484994973424862325177100467559401033515123447586335012159064636087363275086390027361895392252439301660654162604757654364606833751641873075197617358239735409085885028577743555258216335131534787966696721128694923438796930810833749199161136475181482577053056946884426735069182053927147876696953405752504042239824489926556743269835000368204013766916660674790876274863909426582050455360770223166195851663641777971244842404292111688931063755809542944245360643229639430022555039856232845705569639675665656009476751452308167674354325965405497138788907308722964380249285714322994927696399690719068094252628011537910217452552301228429111382727673652590878688965636147930111211643894349870692708490775355955912449908821515223628402339299225253156179359681145773504718328474837535984928970228942332830531474579210582352262886323939487480659135800190933620802118420081439236033990936639115600413511393855988260946238102423025069049044320832930382956677224820889826126497474311491861792715102214331157434592815450703499507975897644633186773408090954584614597169785886444331567996492078805078364233420754196710063871564084994570463203222409020905320332749038678982419730383510271541896907170355336880559786387114034915444885058186142702242331093193256426416996626969293023871706692527032683186422633573807948690067800884864987471700719591219545589652536860586647931421979487068847748116967314377246065541258511241423747610683751153444494666701948538572715022443590317850142906271457502777925561775550005149473684787748743880390626158607731686837301672948424076383303862942159733015947553623065123832023054378493254112728018265059804495987608383323725213402572745437876543900262083136638506052866446466722680196917450863200288802221858515058028599631084264301877085476805808303933681333639512458151812604643689533570162098742307572073161312250923969386003602512247926923837644797869776408110960290303026127854612806190467469174128294857170679190789751367142897768933801435016915963083231884324246753459185834117697742722200107725591272227672625697937410992992105410675539194175980726501014804747044397855960391623744009727674769876024844840753878009973706557336224783774561592009154630071759938760913038207732370969183944947213176729498056577457252897038386621956266242006817736018085040085334087533369302934409807316976477202749750340504845052793373821364767135160583401976739781662340209707577456072439101010243686261207484902229371048251750292983064492676352507307163999486550773064769467560534589096233217562213255112672360139353846896094795315404285110371390023988836217137438004606347879364730858921685549057420569010407901675955590516097855873352735587813383998911472021861443129329806485286997678349776641510837316139282096196656446578971696378687671124202647766485334486548871780257274993018345768679255853516954679224055089130162492258929514745329428546680942698435388911638614080217185920314769680947220701324908815420933999890595817692264868154807021720440245894405323987324516366482465399921073427465184456915178714076971528761140042616107975045040054911351457347290382729966879473553574561681239060291972883128862901755049080990386781263599542203947016606213382608103646854826825387743841809201769579250593675271669242928000591849447889310036327659960906139206180118530954851516873954858867877796425604732492338379535101935026946478267288676718013106513381962995772766663171340134706619253037972276154459735324461275224442160626638412201180032374537548093767322361106916834972738734571776264110352339852959671103683306897590667272310373740341230731795982845235478529821053783591527257236852303341162797124401114625061227595902270225289671234918889437350079984742799747852210550415898530680766985395557487310644085895156451351829797252998423102697480917938589366100840615858225426624200028953487858352068826991637035899683712231627650735727466992333694781847147297948577703549131043550279653568519560681915249516068739747070918754278497730999717320031635167687942437840842749321251215886383555795095039472265675853101126625200704887585825388314093952634775128387164814773201622876505443868301111339473601537514660128170278546837557631946325842236372274024074360183006855082811585457481618584150732322429481709483822078250624882478856898584236664540486047267653289051589771950151377112902484211942900167938442128339146779347831612050711359062306989047990904964252917636677579901232120205438029116561365632660407683757981640401403364380177436523213076129682781085135084108022478248589126614617140495032130503377136925678923462256353514811399758237233901922868800717144438968399143605750217298983346153938777347900197231092846814434888118755745749827755944674584530362993810464686501060520493560749563744046175353383852266767453113011748276528987817673033702402853573405933554284097389411642864469488746362515825235499946661489249964736157109814778639512415643500240759036962805914511487870497510409058999358217653030618081222321776854662506304395995544057044357451823766258053322218454289944424268347352522416350699303120741268206719660387686890758112469092700633141769130470592322857960883066785679249525516625516008947343266124862064615109190642995222192072414962224793705350470876805355345902008664728236025111483986291489036291302436902450878121787600067371656065687673530009308795545726737007471502068506598502145973727168449256927636748161660359797951932614212059530537048285345746819917786380652992848254487029928232215374942030594075003830471286577489616092249408251424237776066749373308327713876036013916800188959771644307453091313534307908231350035587042562220748364805089012991340003040443873567404294493760879824407226427303239951993907409580155439123748317206954476326811083276675986434121923190333689470399876297603321631004988593989756709272629728984903018698840270877235609743893685731537121780439728725421732253178645441419574133564988300106636459422070559231453644895380032116836011174568445239567056494497511408697930316502966412440327167075306066069144369039390764375851527737500025672415574832994547806285796002396208380732989827035578774056949286556746811394416389863400982159385582441955894379873265949057049264818818502912076884773558613578892761240169628141445272426762488624064137701258854377051454950491663806512423581125081310546612426725658688412616004443850793098193743138646451126891422620155724671930874611218818797129248202449504679634356888728511580991743574736050831315788753926362134789552609517066911761263683710396108092380042590902867550060994859249210144383105972939133202082798672027234226226680051627179503771058741952451285543163056041619023487321537303990040687020916042062420718264741687415716518088019470090288120110471178083758092402987926389891712944253459318236274512406206744083512860670921156315118090008547721743874886774806531039301769765997855925627033841104702125795458261850876058793123038170481958358963295154095775661028369119018830474577538601011587723188471382568385612675229408225722004183135345996157080790480357237042105605121172524737876954210760732100005535161675037077642590138057308675800903384923620724435690484013650565666834533994052942685214489745634829850516732952609564883191026968865061038768459326324601040610250922192044481552960197401705389550845679636069696371038927427231537340254782840995166780991507944254027619008682147829965866330601141135758973761933175633073183875406873709419048103982963929042055133890637062297202946475431445907090090482256743403688082078856164746856161042236538225154469056388168623388480220518570207720453172803196029011086249706511857792253070221593220342632290206890504984884222940123398307015040684666187233902179062208254638230444896784744511337154927086329571249639789967112584387869185248047903113387437120163332147235493832652955974787121078808536384138930934526020029848691810659509990770111126707072954645079964023321859200421279164545540498526712343388596941216065737180374744725880734363754248671136535580426867421259548102804086227193747864935525892482051703976979511348331751343195636077196809308186414066006171236947244011245439995531718826463454676931559823933933230466433647179318367613921690371400142185558257149081274435472570671789692599143747018727186613274499834302399920369454396381953410125984531733529885507046142762047920990239510617848223518000047248425685683195470504338521507884935120079747452365581130385482126642053165766672139669577084876924024379234738024276134240620918204705356874165954324809215456349885873637089244468077890725362980619792263062253123639651831783151218811634946642335281525927424000318768992577129374622485221718635686205235388757299570680202741695843764515754450418702409050560476093546600661361116394074471899210358099958671010243132516310991040557896969849944193584616459645555620287326024514150478277033132555625880799081004761601255133606799958749032602171933249928592152017943333098928645531667674255981124945950306550188785032623473014723458618391305208206176757812500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

(2)

B:=numer(A);
C:=denom(A);

222406574698332122252435250830971079503943966893899873061010046112552630386259069637401685560212442917795013591225887980595139392977942373648583009607152484196288175881662161000873006724193107817008634986884016681549315797983674475302952167687296010115423998058937792545156123135128514085376222936956534333661467709603943267166817591050759125546378556021509953431101387162806390748642747962856263376307054999116860242062607946155746045904160110990071231954857053096312538669049301666746282473956165966497879029133028691718788485086812837024895232035254639550611117049172604061373331006912235687880099025714589601293060514923534290333511251452140293881044936627200448629695211482895001880049260169191927167342479479236886987137149964448841700595909460953599335194796501180977937648318175180157907732467615604094544385214458910929891111847123759167082019907430640540350623267594971204709189710261831545091748869095291729975144261647316400962769284835441943582626035150663464597787364430338223929720923238502448310112020523937636008082726994904819729390936904119060846937119553380020429506055435870235335254061430422351523012214272732861156988490647735495073539314877486937249655384391301837275948731251581834151532207163735877722871442328906644413198196889059753795342384784078186480360731780088155355458920343544223415904549149748035172518093778481790482849130732863807784301964752474260738143485917903534737864411332211543233784928270758575196545793147842189937192150824218804236085105191181917342251940582780197196779519298044431252977702914709151592127519378707772486346920404971572114652856758294842539760561616310268481515473737363688337206177669914703396977881074896084977017165419585427032136472760844546786353026960565531827138818677943017097537272815178970847268611859793101155711073707740721584457948767235920715040972090332517740056445315902885625629808893430007350961474779193927118945331561003191569998722433876081130363253839520370072564213723621253425605261869070320962584857230507810895977329421170894904961948343587143770370689193309835745879075358851165220387308715536375180076380255433286787176995149557274104842483295688489894859320728917418866942116425232759113443986203732807147730945385350492006123763548212992787028665476880501250977721601961393196150518389881729168772948729883426394922406485504360280616777232947315507696726839269579739847308703604260014847035322128312298780682710516409873194600955083362851926296501397304085517212328719911059982233640816138530975008151768353235610360232662788219993113946672699272557475586569459920974485754245424535353903510498201199351133673179879748906980045993782023409802375818032995057510162435156275251180224997831772365233537166850479847285103969806949958891107933737270685892320596268117738112063687748695389534244965867661137560384481728016072205662552013142353271771712337783182196593680751213695619183305018307851548271681777197482472766541679572242707672333482319919863289034453051634927325273564984182516553972202376109768414693268791389486618663556015999264997095347265094253155141139564111623831306098316559653318920263800909694555852401552402450307556013264847826109118559062139036892386367314493525963480863759220130784198303488431641119519305452907378565425513738571766860045298212350743247223204093768071976246300102785119404385098912300362065687786207580444368224601497601000998582345914308739561896416146294464908380728966179836228987901854220223499196769050113126520028080068976677963659924709967608717058778522942859950521316776558529089740862489761185915705388631980089259692393828886296593806785720194578783711134978366212357916646503497496998716729938383390675564771377980748832154597027518269586404413536440121952663971714490606569787297990697213858692404490395112001728542423904399656568009670970325256122966826587438463156751360469398067386933787730615011963786947379743267850009545618358135781801779226266997434210955353095600351229830072780168228917350707179552339192413648622549789100955326307875629527519542384543284803420001977761252130380004740262242871541282356064134275569437379478955507813304220825526963021342376052471273104966645687787466842502355158190723393214815260348198905949946182156224475380919916830580733000360584451057547177732362307809049147941538940175867923362828634283553661909129258635663087280952061147718045222361168555578536448942995080136433437112381629019476095865781469478633712723065084356775847051571798406648838457153676177803404118847813175031124459169446431759115005943629880299542469409518189959080090491572299008569356193183465517863678514860583891653289219907718149306052148114684353645036977016348809828701049312019180233206384697288282427862075548509274218957376974780112167915876867249570308511420936909926349032725437186130562442929398167873011813181536831915817112112791611158139331914665096819011927665147659423950320687250875161607123628258455538800932426141141710742501085454223129438484127509003627500798775780775469252497787136191176533201004562722986874257020982037033617506276571172137616432834080308108445879753202564879932990209588696139920900636254561248970068021783043137454149680223316765291540035960699560917979012961868377889283833147230791595336045258519696048662681229019371966755895907242445914794000551844010415940792228928918576432807417774629180380170775538527761721232026668108672154310165632098588740891939953343053545815433654659631088349834300010978713628015457417366519255158032526386731585225736076781498772607282533329313871763478779963204747160611371730075466486514924567951018518913832166878354357684464626883018016032672171641820668296958031720140028671376252296321800426670705547375978353918363658403679865901388318558097923835917765408959476372621709650265797949857971101454387557260771346060582074219303314763857477273034718069652964656867197863169314604726533975585026477049243952307956047737153106596742766939290088022096155927241088033942802452968246984956676619058294934591763425556974700464326318645966773226301008062129801895355847365839769331210319059849974490591811399223607320287078761751472954484023648246412991564348144828202201367622576915797444082935248520151291858582574866280647205552554029700168599065132220226872301673968513372848841683837945264338920752337723260478714348670306410974510648962937516757952370933208226248331440431207300456208229701553502351851353849825071084860302097753663239748395636064527712316770204432682804036164319144997797843948204612906063866983917937493871553097322904769227366581476916050071636040437113740759750066774327586194717754254081557508925259231180359213773075795114886514027766333065845484459776492641356571344435375634184829546628760930084436118685209214014709308510456938110180614471287308095450698577706703120016969060493004287753943235635366383328081438998684654614587041152973124867718833033984931872227579158711140675779408012044785504611864850492334767173218037862194104525661390175432909212546601818315290194385060386628355760764547081830953525790514734534230355982821665932660531564331337952304730202462987958107397748834059634532295481182264386426083477698988178221000333265121715903737154732157268067902051316419919079112657244611395411623438533846262120989309860707120925164956411981995906355446140890555244076963797965366179972607642125322697884122256478679045953888051360823216612363319462741575562931909211019811099974776816010957433505100412412247668964691730567654062584019203538721085158564594597222751813132259480227589200885803632018273674268719806509146234928292915548738787813586631263851136542278845048608842086879626162840373968384382741217815675919615666387692157327316316839278997582324472245750506432481419378293384425442841307548120677504711890054237550252012755845760234370819761414626496456523610540894526977487179089752389027160957986148407262614917419262271369216027875503282762480361774203786654902193494713605167940169013995813757675159731006652596415874429511880170886211641353561313572053711139081516609102540310106988291980853334857353837618656159440464698613762128505012160762246884793764577009919384514081924170001919187530007887649520153462396005518278837630647495254676763491078458852496903701562687834087773169270963465329790169853538810863116266382388267822433218532446069638985653743675451199493021680691987922768798543251867219982947646107421701148028470153765380331863922832611095512846014316334128281775781500092293218290927420923049882580675612153273794965550743718943876201178991003064916137334659360758747985456674935433116973313824562470608354013516474032127652564736478900267155223731976048302192390994286268775116631453975226436690477945591240984241746791928463338174621000781884812198846361146482405593051751643444493346671440848252338737897429346830246671538713664662105560487736792734702116641031630087268441982878678831044349878279021154589430020137749034944713454546968233162088859048127073312368227126888330515785373641132834188631581413905738774635742839577961924603680592441473806738460953812666805886365706983897415282744642937644969695789819721281610281920617826350196914523796942742101597976637345612573030301339172451207517492132760768367121466053135751297041137557138245762159916522199453687192545922743057901175280275681826030101979046355209385788536540301770556389327858934877187477313849343001720986803829864447027231516541515039679435801547514757514638507030807758433111972177109508341499828419483987386257721145138397675116950429172888772676505920686415674636146029282806360843671312742066473625875304454414751424361103896140778201442005651480141572764304797426730644170122973186059025688228086237037443501025150266586862965763042060843960555888185554465262581718909854849625123709961043228157723025332510245392890883457903692826395633538660857389988320807524614945854061119128045400458455434869834511243565433912645606962926485942847154221862374863983142821536702541410282995646979992102357719498690834929427157377554177745916799564399251672110663394779238105013117066321255116911840091176817587424116146588082822804054821769446925764447143071252211413789013712876457299026099779018508919922103593395610447920837418392536992383209947881026958251736795548922089184802253914233178751390271241125108161130513513267636296163982929304715885723305280797151485423835753570990371939881363624066552682017489267375886025109676366419233847870996829049906485894301038408046185274176755425308949998891908114834695763189310501282096311822687960554701409897077090557551456104813119499268617730960102473524364780554543762106910427982056276789038059490657035657293892711413463766435427285150439869525175245929199079005354203780461427746842173827956708381766882393875816666079821041120471853464167045615292099740335082127924388544484234332449687577681449443228363428915442148912653879198861391156253045476347700545828142275188181152478904905724334351437081068629409036874337934399900237072843896279001831690715468684172118994007543509148603421143446361998253029633430731298246024584031642096786617866818040872790373298202034277134080947898509751887852267869348395240064542318939203636030265941585594901019458999910823984641373804384037951245683739142267284385456793290510955584977152045676864448517292187230749264548369627530215722805277324013555636994214362510571668875218123725855105692123274357848336303142542173860136698003664428434212977950830039426008789264905372495434590582966538152079251092855986417639229347332216328892761182843831287546517401529584618954528335729483263969021084839512006581169746793646409040291280169691237817424379909774388965245870536982646039368671502765560756302148701527872463458904781878264008888217590878826803322413772445588954919875863543246704949861680945454130787325632703572749800050626743157822921851726636931614595973271409163860280708398081245021538297729277140545975713014920782159381780021943492130512044627573901661398865728859204519150361243495701567726726494120440930254309787154349692871088672251448205206943378280513001166142372817576733578462650475724559791613053555734415532905507224199855629569914907102585307309073580369431312527968756777645114146943496463661152878780804080002940649907183119767579899840411516658859151243434451424554887805474021774646255805918968170521401927762859810746123469124618450220086357321104152469311660006081994701542411555059542359456636689073881499944140268991739359720825740520740107202540361757563000755995272882752958752218045216624759127347917255187222085489874658446916235766380524059866134431401191270505137401166976468336639761934374969475445487103658254852853286746964796680821105768771670075961707941699620413197627297844590694604196810203798940535276982067091411757123039215144577723499923408612721619793609250121392705405594134413777532615536462113660146934705743019085560102181959634080143769632311032648048584770304808663148502603311320211148253289762479843596075716500105524912492539602369117583632284232246055577975971607870499480169601568326688419512648681321772571343764556875848034557037427865522669540229726649437080548552590264856251932734482226780159371949568429693464826282901498822880938249251107588554261429293811728620749489127045511149476967919274100096046463539501697149480849794585010265848792911438675348411069968451304284899745864621413798111367474225545219334700874968171063572306654412948100018107208854256989775181336855244638373358898617774061413960970063260250558305514475725880246087682241734555545824568310014800254665106889066185964435711227109547574308793835008930644743842504674063816327100059429217103742348507783816700668006387194480852751314998193610130034976293801731673962130135762535226374496293001364292348249057776081032036186617369826656057116541684594922690541599687899922698692457045947764647475136512280239502990606864368789218532045445332213064147680849553911047164603459858292542456092948097901199748446087117706025255718997324327703128189507649490601828977948607867276801055643027670172602360650216167453232177596579965438082363247499205159073369732009117156797984928679543245640822704305566778230095270488075059898612101215012323656127798836788078362303118988959179011559257451222170823449394665769225911135448650254128225819647971607968628522736492325398215865422507370336611420411363091885353523583967227803260861001241775042434960676147217068741710747576146319672470508746034067277479676172947124267736151527978170470579461754789659193029038631049183465329603783539014939046691093612675011703829819028643147010188566325169382670521291175801506683052894482958431747748123289412842520259381561709844092156384413712414715771925204792577662733390609757042374863382360958563289988644563777505763936681451507256694568296019535054226436050555244587630648281254259734906744616234877772661281433812681699536311772521674262891745257081353878998439810559756247628233644412386586134501657109895716304151955603127701336722950156594616291152660088997169181495682394699945191269119211015231064017884109195688660723076818197470957885813275626951601412255473628913143885420102508306450524320916287774352478296128093450434604311985698789712824917700716257802715666894148952413210522878185128233277749787121061538699521714560599213973586462157560591114191843500104521677273505073924646261636779256624277686891834299354952594101274629844104436004452636914842781830081850099371773695320410272331623441543883436067265823446347141656867072087778841375616555901996369921833043087778132615709813306871271108191915837793490276580278888603751528362955915868143254840015129356182725679625064985085269667268654185352755425029940192983487296642431534501069836634747

 

8137688999374210400742450078333128773280184861428227630587859098200986831045143621308131100133952804184633987689454188067827244560479765047945651869703050869405037908294202489199343275117759220413694748830543982052473056466775132877656264101704836697867849405678652304137240576630820624752979127484432850729045803061331879393920022092597642161156261189572945263475759887947376218498255876332232858622149530443019737854639576042969955439161486808267487195252716151217653060765036648431185058072630300639813385348595269743619994884679645424312504808681898046355793271157913111214544394429063035939922984200087157675508963848011018494714817334787927499580173609919531940471332055451112051290930900294623355165708452416097073993177218350832161111188455378476251134346605516620935276108772443413761826521754675332661312177484277899497798571305674273007538208614506805078813939529396109228534101992567307157816574180531770420929547231718709454279950954465727349348453665392623346209417105399708627461938429087343324643023323836728232193532431764396331916131695571238743315062744397808467808481086856261504395374702612155353582458453249293051602237841203987421724692290751140575709889918498938570949810437022379690902149730119872861941590497834107418345941171408763050737389750527857080697988820151123069583151066569808203989176859609540088195388694987704142154580446583942698184420463441464533468024437434714617259914970860258826292677386889423727088220288160605261318524865127012113219116948664477868649075665870607895993097947062102927183875999652541039317643993123381052680772087783764385901227304919925649349025557435428069012964281194249084652909329724167159507628206040274807383466771732395127186302017280736330375705908193505698033361773901846769541243935982013479882419361329056749854565648866485111876386719597489171323182378098888925952835219345310580383739969544285992525465435932110998284340668892779898612013656199914861967291036200987626227717358527207891596611785659356784978811315356446191948217379924765644571597769704167640227119373243311280915099952501729632556775145712335989780897619445509739710386636775114637311863185232517327373408932199124859722225766118384668399169797976259568405935931799061169510072218220617867074076927217421069669701010058554528813018401402418415801902940863348585830106296771396925789207780857163086546382866112427430757856926377786451030428316107077428187051061843311693722506865476498359444107320519258830694271107026502798689206304789108995544848306783322334659277886800158461951152277380123125556191068899325109091161173279724443335964458153012725726412035222415861142163936679050749142079282665015191256979855869246835068289598723417598470940389406139382416040803624596986739327319270360796289207598763346190394304191106734243364252539612531934697613336944356062146051937789444221879173116956078607855936657445580956130278380021329535155717292013954577840788104454435501448371465661819183887024068394997807654043799904379681108349484994973424862325177100467559401033515123447586335012159064636087363275086390027361895392252439301660654162604757654364606833751641873075197617358239735409085885028577743555258216335131534787966696721128694923438796930810833749199161136475181482577053056946884426735069182053927147876696953405752504042239824489926556743269835000368204013766916660674790876274863909426582050455360770223166195851663641777971244842404292111688931063755809542944245360643229639430022555039856232845705569639675665656009476751452308167674354325965405497138788907308722964380249285714322994927696399690719068094252628011537910217452552301228429111382727673652590878688965636147930111211643894349870692708490775355955912449908821515223628402339299225253156179359681145773504718328474837535984928970228942332830531474579210582352262886323939487480659135800190933620802118420081439236033990936639115600413511393855988260946238102423025069049044320832930382956677224820889826126497474311491861792715102214331157434592815450703499507975897644633186773408090954584614597169785886444331567996492078805078364233420754196710063871564084994570463203222409020905320332749038678982419730383510271541896907170355336880559786387114034915444885058186142702242331093193256426416996626969293023871706692527032683186422633573807948690067800884864987471700719591219545589652536860586647931421979487068847748116967314377246065541258511241423747610683751153444494666701948538572715022443590317850142906271457502777925561775550005149473684787748743880390626158607731686837301672948424076383303862942159733015947553623065123832023054378493254112728018265059804495987608383323725213402572745437876543900262083136638506052866446466722680196917450863200288802221858515058028599631084264301877085476805808303933681333639512458151812604643689533570162098742307572073161312250923969386003602512247926923837644797869776408110960290303026127854612806190467469174128294857170679190789751367142897768933801435016915963083231884324246753459185834117697742722200107725591272227672625697937410992992105410675539194175980726501014804747044397855960391623744009727674769876024844840753878009973706557336224783774561592009154630071759938760913038207732370969183944947213176729498056577457252897038386621956266242006817736018085040085334087533369302934409807316976477202749750340504845052793373821364767135160583401976739781662340209707577456072439101010243686261207484902229371048251750292983064492676352507307163999486550773064769467560534589096233217562213255112672360139353846896094795315404285110371390023988836217137438004606347879364730858921685549057420569010407901675955590516097855873352735587813383998911472021861443129329806485286997678349776641510837316139282096196656446578971696378687671124202647766485334486548871780257274993018345768679255853516954679224055089130162492258929514745329428546680942698435388911638614080217185920314769680947220701324908815420933999890595817692264868154807021720440245894405323987324516366482465399921073427465184456915178714076971528761140042616107975045040054911351457347290382729966879473553574561681239060291972883128862901755049080990386781263599542203947016606213382608103646854826825387743841809201769579250593675271669242928000591849447889310036327659960906139206180118530954851516873954858867877796425604732492338379535101935026946478267288676718013106513381962995772766663171340134706619253037972276154459735324461275224442160626638412201180032374537548093767322361106916834972738734571776264110352339852959671103683306897590667272310373740341230731795982845235478529821053783591527257236852303341162797124401114625061227595902270225289671234918889437350079984742799747852210550415898530680766985395557487310644085895156451351829797252998423102697480917938589366100840615858225426624200028953487858352068826991637035899683712231627650735727466992333694781847147297948577703549131043550279653568519560681915249516068739747070918754278497730999717320031635167687942437840842749321251215886383555795095039472265675853101126625200704887585825388314093952634775128387164814773201622876505443868301111339473601537514660128170278546837557631946325842236372274024074360183006855082811585457481618584150732322429481709483822078250624882478856898584236664540486047267653289051589771950151377112902484211942900167938442128339146779347831612050711359062306989047990904964252917636677579901232120205438029116561365632660407683757981640401403364380177436523213076129682781085135084108022478248589126614617140495032130503377136925678923462256353514811399758237233901922868800717144438968399143605750217298983346153938777347900197231092846814434888118755745749827755944674584530362993810464686501060520493560749563744046175353383852266767453113011748276528987817673033702402853573405933554284097389411642864469488746362515825235499946661489249964736157109814778639512415643500240759036962805914511487870497510409058999358217653030618081222321776854662506304395995544057044357451823766258053322218454289944424268347352522416350699303120741268206719660387686890758112469092700633141769130470592322857960883066785679249525516625516008947343266124862064615109190642995222192072414962224793705350470876805355345902008664728236025111483986291489036291302436902450878121787600067371656065687673530009308795545726737007471502068506598502145973727168449256927636748161660359797951932614212059530537048285345746819917786380652992848254487029928232215374942030594075003830471286577489616092249408251424237776066749373308327713876036013916800188959771644307453091313534307908231350035587042562220748364805089012991340003040443873567404294493760879824407226427303239951993907409580155439123748317206954476326811083276675986434121923190333689470399876297603321631004988593989756709272629728984903018698840270877235609743893685731537121780439728725421732253178645441419574133564988300106636459422070559231453644895380032116836011174568445239567056494497511408697930316502966412440327167075306066069144369039390764375851527737500025672415574832994547806285796002396208380732989827035578774056949286556746811394416389863400982159385582441955894379873265949057049264818818502912076884773558613578892761240169628141445272426762488624064137701258854377051454950491663806512423581125081310546612426725658688412616004443850793098193743138646451126891422620155724671930874611218818797129248202449504679634356888728511580991743574736050831315788753926362134789552609517066911761263683710396108092380042590902867550060994859249210144383105972939133202082798672027234226226680051627179503771058741952451285543163056041619023487321537303990040687020916042062420718264741687415716518088019470090288120110471178083758092402987926389891712944253459318236274512406206744083512860670921156315118090008547721743874886774806531039301769765997855925627033841104702125795458261850876058793123038170481958358963295154095775661028369119018830474577538601011587723188471382568385612675229408225722004183135345996157080790480357237042105605121172524737876954210760732100005535161675037077642590138057308675800903384923620724435690484013650565666834533994052942685214489745634829850516732952609564883191026968865061038768459326324601040610250922192044481552960197401705389550845679636069696371038927427231537340254782840995166780991507944254027619008682147829965866330601141135758973761933175633073183875406873709419048103982963929042055133890637062297202946475431445907090090482256743403688082078856164746856161042236538225154469056388168623388480220518570207720453172803196029011086249706511857792253070221593220342632290206890504984884222940123398307015040684666187233902179062208254638230444896784744511337154927086329571249639789967112584387869185248047903113387437120163332147235493832652955974787121078808536384138930934526020029848691810659509990770111126707072954645079964023321859200421279164545540498526712343388596941216065737180374744725880734363754248671136535580426867421259548102804086227193747864935525892482051703976979511348331751343195636077196809308186414066006171236947244011245439995531718826463454676931559823933933230466433647179318367613921690371400142185558257149081274435472570671789692599143747018727186613274499834302399920369454396381953410125984531733529885507046142762047920990239510617848223518000047248425685683195470504338521507884935120079747452365581130385482126642053165766672139669577084876924024379234738024276134240620918204705356874165954324809215456349885873637089244468077890725362980619792263062253123639651831783151218811634946642335281525927424000318768992577129374622485221718635686205235388757299570680202741695843764515754450418702409050560476093546600661361116394074471899210358099958671010243132516310991040557896969849944193584616459645555620287326024514150478277033132555625880799081004761601255133606799958749032602171933249928592152017943333098928645531667674255981124945950306550188785032623473014723458618391305208206176757812500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

(3)

evalf(B/C);

27330.434318076695213

(4)

 

 

If you raise the number close to 1 to a very high degree with the accuracy by default, an even worse situation may occur (the correct answer is close to the number e);

restart;
(1+1./10^10)^(10^10);
                                           
1.000000000


Edit.

Download arithmetic_new.mw

restart;

f:=(x,y)->x*y^2+1:  # Specify the function
TP:=f(2,1)+D[1](f)(2,1)*(x-2)+D[2](f)(2,1)*(y-1);  # Find the tangent plane at the point (2,1)

plot3d([f(x,y), TP], x=2..3, y=1..3, color=[yellow,blue], axes=normal);

plot3d([f(x,y), TP], x=2..2.1, y=1..1.2, color=[yellow,blue], axes=normal);

plot3d([f(x,y), TP], x=2..2.01, y=1..1.02, color=[yellow,blue], axes=normal);

 

Use the  solve  command for this. We get 2 solutions:

solve({x+y=1, y=x^2-5});

                       

First 89 90 91 92 93 94 95 Last Page 91 of 289