MaplePrimes Questions

Supposing as a nice simple example I use the power series command,

series(ex, x=0,8)

to get,

1+x+12x+ 16x+ 124x+ 1120x+ 1720x+ 15040x7

Is there automated anyway to get this as a Sigma representation? 

Hey, as mentioned in the Titel, I have a corrupted worksheet that i would like to compare to my work nowdays(its and old safe)

It was stored on an USB stick.

I uploaded the file uneddited - but i allrdy tryed the repair steps that maple gives us. But also i could have dont something wrong.

 

If the file is not to be repaired i would like to know that atleast. Thank you!

of the matrix

Matrix(n, (i, j) ->binomial(a*i+b*j, j) );

? I mean an explicit formula in terms of a, b, and n which consists of n+1 summands. Of course, it should be found with Maple, not by hand.

How do I plot e.g sin(theta), theta in radians but would like to have the x axis labeled in degrees?

S

I ran the short program below in trying to understand how the read statement works.  The read statement output the expected values of a, b, c to the screen.  I was curious to find where it had stored the file named 'tempor', so inspected my hard drive in the directory where the program was stored - to find it wasn't there.  I then commented the a, b, c statements and the save command so the program is now as in the second version below:

 

 restart:

a:=2:b:=3:c:=4:

save a, b, c, "tempor";

read tempor;

eval(a);

 

  I ran this program, expecting an error message, but it gave me the same output as before.   I again unsuccessfully searched for the file.   I then turned the computer off after saving the program, rebooted and ran thhe same program below.  It output the same values as before.  I'm thinking that Maple creates a special file, and appends it to the program, something like a table.  I'm not quite sure how this would be used, as opposed to just stating te values of a, b,c in the program.

   Any advice or comments gratefully received.

David 

 

restart:

#a:=2:b:=3:c:=4:

#save a, b, c, "tempor";

read tempor;

eval(a);

if i have agroup consist of two values for example {0.2,0.5} how to name 0.2 with a certian symple like R and 0.5 with other sympol

hi . i want to solve this pde. but don't get a solution

restart;
pde := diff(c(x, t), t) = d*(diff(c(x, t), x$2));
ibs := c(0, t) = (c[1]+c[2])*(1/2), c(-infinity, t) = c[1], c(infinity, t) = c[2];
pdsolve([pde, ibs]);
 

To determine whether or not equilibrium points of a nonlinear ordinary differential equation is globally stable, a Lyapunov function is often employed. Since there are no general methods for constructing Lyapunov functions, May I know if there are methods in MAPLE that can be used to determine these Lyapunov functions? Thanks

I have a function inside a file called proc2.mpl

When I read the file from a worksheet using the command read("proc2.mpl"); I see warning messages

Warning, incomplete string;  use " to end the string
Warning, incomplete string;  use " to end the string

printed on the screen.  Now if I copy the same exact code and past it into the worksheet and invoke the function, I see no warning messages.

Why is that? Here is the content of "proc2.mpl"

process_file := proc()
  local str,fileName;


  fileName := "output.txt";
  
  str:="
   \\begin{align*}
     A =& B  \\\\ 
       =& 3
   \\end{align*}
  ";
	
  writebytes(fileName, str);
  close(fileName);

end proc:

Here is screen shot loading the function from worksheet

But now when I call it using process_file(); it works as expected.

Now here is screen shot with same code inside the worksheet itself. No warning messages show up when I call it.

And the above call also works as expected.

So I am now ignoring these warning messages since I also do not know what causes them.

Any ideas why they show up when the code is inside a .mpl file and not in the work sheet?

Maple 2017.3 on windows.

 

 

 

Dear Community,

 

I tried to run a very simple dumped oscillator in MapleSim. Upon running however I do not get any result plots. Nothing appears in the result window :-/ Could you pls. have a short look at it?

Tx in advance,

best regards

Andras

RLC_Passive_Low_Pass_1.msim

Just want some input if anyone thinks this is a bug or not

Hiding the contents of equation labels in one table (table -> properties -> uncheck show equation labels) removes all reference to the labels within that table.  Is that supposed to occur?

The table below has show equation labels checked.  If I uncheck the show equation labels in the first table I would expect the reference labels (1) and (2) to disappear and (3) and (4) references in the next table to remain unchanged.

However unchecking show equation labels in the first table relabels the two equations in the second table to (1) and (2) as shown below.  Is this a bug?

However this doesn't disrupt further content in the worksheet if references were made to equation label (1). After unchecking show equation labels in the first table, all original references to label (1) are replaced with the actual value (sin(x))

Could someone help me with the following.  The syntax produces an unfinished graph with a warning.

> with(plots);
> z := polar(1.05, (1/10)*Pi);
                             
> display(polarplot(1, color = grey, axis[radial] = [color = "Blue"]), complexplot(seq(evalc(z))^n,
n = 1 .. 21));

Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct

the graphic looks like this

The graphic should look like this

Thanks, any help appreciated.

Les

 

Pl. help me remove the equation labels or hide the equation labels in my doc enclosed. What should i do to prevent equation labels from forming in my document. Please refer last two rows in the table below from the document.

Thanks for helping.Ramakrishnan V
 

restart

Conversion from ppm to % vol is 1ppm = 0.0001 %

Conversion from % vol to ppm is % = 10000*ppm

Avagadro's law between mass and volume is

"22.4 nm^(3)=1 kg mol; 22.4 lit = 1 g mol; at  101.325 kPa*(normal pressure) and (273+C ) K;"

ppm = 0.8205e-1*T*mg/(M*nm^3); mg/nm^3 = M*ppm/(0.8205e-1*T)

where T is abs temperature and M is molecular weight;

M/(0.08205T)]*ppm*((A/F)*EA+1) /ρex; Emission is mg/kg fuel

If SFC is x g/kWhr; then Mass flow of exhaust is  (x/1000)*[M/(0.08205T)]*ppm*((A/F)*EA+1) /ρex; Emission is mg/kWhr

If the distance covered per liter is DCL km/liter, then (SFC/1000)*(DCL)/`ρ__f`  is distance covered in km/kWhrNULL

[kg*km/(kWh*liter)*(liter/kg) = km/kWh]

1 g/cc = 1 kg/lit; 1kg/m3 = 1 g/lit; Fuel density`ρ__f`  is 0.77 kg/litNULL

Emission in mg/km = 0.77*Emission is mg/kg fuel/(km/liter fuel)

[(kg/liter*(mg/kg))*km/liter = mg/km]

SFC is in g/kWhr  

Measured emission is  E in ppm  ``

Excess Air percentage is EA in per unit point

Molecular Weight of pollutant is M g/mol

Molecular weight of air = .21*32+.79*28 = 28.84 g/mol

 

SFC

       SFC := 200 g/kWh

`ρ__f`

rho__f

(1)

        `ρ__f` := .77   kg/liter

DCL

   DCL := 50    km/liter fuel

A/F

AFR := 14.5``

EA

EA := .1NULL

T__exh

T__exh

(2)

   T__exh := 450     K

`ρ__ex`

rho__ex

(3)

      `ρ__ex` := .457 kg/m3   

 

c := (AFR*EA+1)/`ρ__ex` = 5.361050328 

NULL

CO

CO2

HC

NO2

O2

N2

Air

M [g/mol]

M__co := 28

NULL

M__co2 := 44

NULL

M__hc := 17

M__no2 := 46

M__o2 := 32

M__n2 := 28

M__air := 28.84

Emission [% ] or[ppm]

E__co := 10

                %

E__co2 := 10

                %

E__hc := 110

                ppm

E__no2 := 10

                ppm

E__o2 := 10

              %

E__n2 := 10

                 %

E__air := 10

                    %

Emission [mg/Nm3]

0.8205e-1*T__exh/M__co

1.318660714

(4)

0.8205e-1*T__exh/M__co2

.8391477273

(5)

0.8205e-1*T__exh/M__hc

2.171911765

(6)

0.8205e-1*T__exh/M__no2

.8026630435

(7)

0.8205e-1*T__exh/M__o2

1.153828125

(8)

0.8205e-1*T__exh/M__n2

1.318660714

(9)

0.8205e-1*T__exh/M__air

1.280253121

(10)

Emission

mg/kWh

k__1 := E__co*c/(1.318660714)
= 40.65526690NULL

k__2 := E__co*c/(.8391477273) = 63.88684799NULL

k__3 := E__co*c/(2.171911765)
 = 24.68355489NULL

k__4 := E__co*c/(.8026630435) = 66.79079562NULL

k__5 := E__co*c/(1.153828125)
 = 46.46316216NULL

k__6 := E__co*c/(1.318660714) = 40.65526690 

NULL

k__7 := E__co*c/(1.280253121) = 41.87492489NULL

Emission

mg/kg fuel

k__1f := k__1*SFC
 = 8131.053380NULL

k__2f := k__2*SFC
 = 12777.36960  NULL

k__3f := k__3*SFC
 =

4936.710978

(11)

 

k__4f := k__4*SFC =

13358.15912

(12)

 

k__5f := k__5*SFC
 =

9292.632432

(13)

 

k__6f := k__6*SFC
 = 8131.053380 =

``

k__7f := k__7*SFC
 = 8374.984978 

Emission

[mg/km]

 

Why in the above row, col2 and col3 have no equn nos?

What should i do to remove the equn numbers 11, 12 and 13?

 

 

Temperature of exhaust is in T K

Density of exhaust is say `ρ__ex` kg/m3 

DCL is distance covered per kWh

SFC := 100*g/kWh; ppm := 4.3; EA := .2; M := 28; `ρ__ex` := .457; T = 400

100*g/kWh

(14)

Emission in g/kWhr is

Emission g/g of fuel = Emission in g/kWhr/SFC in g/kWhrper

Emission in mg/km = 0.77*Emission is mg/kg fuel*(km/liter fuel)


 

Download ppm_to_g_per_km_conversion.mw

hi . i want to solve a equation with newton method but i cant, 

restart;
f(x):=x^2-3;
df(x):=diff(f(x),x);
x:=1;
for i from 2 to 5 by 1 do
    x:=x-(f(x)/df(x));
    print(x);
    end do

First 815 816 817 818 819 820 821 Last Page 817 of 2364