Items tagged with syntax

Feed

im stuck here also still produces output but yeah  oh well :

 


 

with(Statistics):

`&Dopf;` := ["<","&",">","@"]; d[0] := `&Dopf;`[1]; d[1] := `&Dopf;`[2]; Y1 := {}; W1 := {}; W2 := {}; S[1] := proc (S, d) options operator, arrow; StringTools:-Split(S, d) end proc; S[2] := proc (S, d) options operator, arrow; StringTools:-Join(S, d) end proc; N := Count(FileTools[ListDirectory]("C:\\")); M := 0; while M <= N do M := M+1; S[0] := FileTools[ListDirectory]("C:\\")[M]; W1 := `union`({seq(seq(`intersect`({seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. N)}, {seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = n .. m)}), n = 1 .. m), m = 1 .. N)}, W1); W2 := `union`(W2, {seq(Count(convert(`intersect`({seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. n)}, {seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. n)}), 'list')), n = 2 .. N)}) end do; Y1 := convert(ListTools['Flatten'](map(convert, convert(W1, 'list'), 'list')), 'set'); d[0] := "."; d[1] := "."; Y2 := {}; W3 := {}; W4 := {}; S[1] := proc (S, d) options operator, arrow; StringTools:-Split(S, d) end proc; S[2] := proc (S, d) options operator, arrow; StringTools:-Join(S, d) end proc; N := Count(FileTools[ListDirectory]("C:\\")); M := 0; while M <= N do M := M+1; S[0] := FileTools[ListDirectory]("C:\\")[M]; W3 := `union`({seq(seq(`intersect`({seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. N)}, {seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = n .. m)}), n = 1 .. m), m = 1 .. N)}, W3); W4 := `union`(W4, {seq(Count(convert(`intersect`({seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. n)}, {seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. n)}), 'list')), n = 2 .. N)}) end do; Y2 := convert(ListTools['Flatten'](map(convert, convert(W3, 'list'), 'list')), 'set'); Y3 := `union`(Y2, Y1); `&Dopf;` := ["<","&",">","@"]; d[0] := `&Dopf;`[3]; d[1] := `&Dopf;`[4]; Y1 := {}; W1 := {}; W2 := {}; S[1] := proc (S, d) options operator, arrow; StringTools:-Split(S, d) end proc; S[2] := proc (S, d) options operator, arrow; StringTools:-Join(S, d) end proc; N := Count(FileTools[ListDirectory]("C:\\")); M := 0; while M <= N do M := M+1; S[0] := FileTools[ListDirectory]("C:\\")[M]; W1 := `union`({seq(seq(`intersect`({seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. N)}, {seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = n .. m)}), n = 1 .. m), m = 1 .. N)}, W1); W2 := `union`(W2, {seq(Count(convert(`intersect`({seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. n)}, {seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. n)}), 'list')), n = 2 .. N)}) end do; Y1 := convert(ListTools['Flatten'](map(convert, convert(W1, 'list'), 'list')), 'set'); d[0] := "."; d[1] := "."; Y2 := {}; W3 := {}; W4 := {}; S[1] := proc (S, d) options operator, arrow; StringTools:-Split(S, d) end proc; S[2] := proc (S, d) options operator, arrow; StringTools:-Join(S, d) end proc; N := Count(FileTools[ListDirectory]("C:\\")); M := 0; while M <= N do M := M+1; S[0] := FileTools[ListDirectory]("C:\\")[M]; W3 := `union`({seq(seq(`intersect`({seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. N)}, {seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = n .. m)}), n = 1 .. m), m = 1 .. N)}, W3); W4 := `union`(W4, {seq(Count(convert(`intersect`({seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. n)}, {seq(Delete(S[2](S[1](S[0], d[0]), d[1]), i .. i), i = 1 .. n)}), 'list')), n = 2 .. N)}) end do; Y2 := convert(ListTools['Flatten'](map(convert, convert(W3, 'list'), 'list')), 'set'); `minus`(Y2, Y1); Y3 := `union`(Y2, Y1)

Error, invalid subscript selector

 

Error, invalid subscript selector

 

Error, invalid subscript selector

 

Error, invalid subscript selector

 

{"ARS.csv", "BOONXT", "BOOTNT", "BOOTNX", "BOOTNXT", "BOOTXT", "BOTNXT", "O", "OOTNXT", "OS", "OeDrive", "OnDrive", "OneDive", "OneDrie", "OneDriv", "OneDrve", "Onerive", "PefLogs", "PerLogs", "PerfLgs", "PerfLog", "PerfLos", "Perfogs", "PrfLogs", "Rcovery", "Recoery", "Recover", "Recovey", "Recovry", "Recvery", "Reovery", "S", "SSETUP", "SWETUP", "SWSETP", "SWSETU", "SWSETUP", "SWSEUP", "SWSTUP", "Uers", "User", "Users", "Uses", "Usrs", "VAR.csv", "VARS.cs", "VARS.cv", "VARS.sv", "VARScsv", "VAS.csv", "VRS.csv", "WSETUP", "Widows", "Windos", "Window", "Windows", "Windws", "Winows", "Wndows", "ecovery", "emp", "erfLogs", "h", "hp", "ietpub", "indows", "inepub", "inetpb", "inetpu", "inetpub", "inetub", "intpub", "neDrive", "netpub", "p", "sers", "tem", "temp", "tep", "tmp", "$ECYCLE.BIN", "$RCYCLE.BIN", "$RECCLE.BIN", "$RECYCE.BIN", "$RECYCL.BIN", "$RECYCLE.BI", "$RECYCLE.BIN", "$RECYCLE.BN", "$RECYCLE.IN", "$RECYCLEBIN", "$RECYLE.BIN", "$REYCLE.BIN", "Cnfig.Msi", "Cofig.Msi", "Confg.Msi", "Confi.Msi", "Config.Mi", "Config.Ms", "Config.Msi", "Config.si", "ConfigMsi", "Conig.Msi", "EEETREETRT.csv", "EEETREETRT.xls", "ETSTAT.csv", "Flders.csv", "Foders.csv", "Folder.csv", "Folders.cs", "Folders.csv", "Folders.cv", "Folders.sv", "Folderscsv", "Foldes.csv", "Foldrs.csv", "Folers.csv", "HddenFiles.csv", "HiddeFiles.csv", "HiddenFies.csv", "HiddenFile.csv", "HiddenFiles.cs", "HiddenFiles.csv", "HiddenFiles.cv", "HiddenFiles.sv", "HiddenFilescsv", "HiddenFils.csv", "HiddenFles.csv", "Hiddeniles.csv", "HiddnFiles.csv", "HidenFiles.csv", "MRescueDisk", "MaageEngine", "ManaeEngine", "ManagEngine", "ManageEgine", "ManageEngie", "ManageEngin", "ManageEngine", "ManageEngne", "ManageEnine", "Managengine", "MangeEngine", "MnageEngine", "NEEEREETRT.csv", "NEEEREETRT.xls", "NEEETEETRT.csv", "NEEETEETRT.xls", "NEEETREERT.csv", "NEEETREERT.xls", "NEEETREETR.csv", "NEEETREETR.xls", "NEEETREETRT.cs", "NEEETREETRT.csv", "NEEETREETRT.cv", "NEEETREETRT.ls", "NEEETREETRT.sv", "NEEETREETRT.xl", "NEEETREETRT.xls", "NEEETREETRT.xs", "NEEETREETRTcsv", "NEEETREETRTxls", "NEEETREETT.csv", "NEEETREETT.xls", "NEEETRETRT.csv", "NEEETRETRT.xls", "NEETREETRT.csv", "NEETREETRT.xls", "NESTAT.csv", "NETSAT.csv", "NETSTA.csv", "NETSTAT.cs", "NETSTAT.csv", "NETSTAT.cv", "NETSTAT.sv", "NETSTATcsv", "NETSTT.csv", "NETTAT.csv", "NTSTAT.csv", "NeStatReport", "NestatTable.csv", "NetSatReport", "NetStaReport", "NetStatReort", "NetStatRepor", "NetStatReport", "NetStatRepot", "NetStatReprt", "NetStatRport", "NetStateport", "NetSttReport", "NetsatTable.csv", "NetstaTable.csv", "NetstatTabe.csv", "NetstatTabl.csv", "NetstatTable.cs", "NetstatTable.cv", "NetstatTable.sv", "NetstatTablecsv", "NetstatTale.csv", "NetstatTble.csv", "Netstatable.csv", "NetsttTable.csv", "NettatReport", "NettatTable.csv", "NtStatReport", "NtstatTable.csv", "OneDrive", "PerfLogs", "Pogram Files", "PogramData", "Prgram Files", "PrgramData", "Progam Files", "ProgamData", "Progra Files", "PrograData", "Program Fies", "Program File", "Program Files", "Program Fils", "Program Fles", "Program iles", "ProgramDaa", "ProgramDat", "ProgramData", "ProgramDta", "ProgramFiles", "Programata", "Progrm Files", "ProgrmData", "Proram Files", "ProramData", "RECYCLE.BIN", "Recovery", "SSTEM.SAV", "SYSEM.SAV", "SYSTE.SAV", "SYSTEM.AV", "SYSTEM.SA", "SYSTEM.SAV", "SYSTEM.SV", "SYSTEMSAV", "SYSTM.SAV", "SYTEM.SAV", "TMRecueDisk", "TMResceDisk", "TMRescuDisk", "TMRescueDik", "TMRescueDis", "TMRescueDisk", "TMRescueDsk", "TMRescueisk", "TMResueDisk", "TMRscueDisk", "TMescueDisk", "TRescueDisk", "VARS.csv", "YSTEM.SAV", "_Argon__.tmp", "__Agon__.tmp", "__Argn__.tmp", "__Argo__.tmp", "__Argon_.tmp", "__Argon__.mp", "__Argon__.tm", "__Argon__.tmp", "__Argon__.tp", "__Argon__tmp", "__Aron__.tmp", "__rgon__.tmp", "agefile.sys", "anageEngine", "apleAUTO.txt", "etStatReport", "etstatTable.csv", "iddenFiles.csv", "maleAUTO.txt", "mapeAUTO.txt", "maplAUTO.txt", "mapleATO.txt", "mapleAUO.txt", "mapleAUT.txt", "mapleAUTO.tt", "mapleAUTO.tx", "mapleAUTO.txt", "mapleAUTO.xt", "mapleAUTOtxt", "mapleUTO.txt", "mpleAUTO.txt", "olders.csv", "onfig.Msi", "paefile.sys", "pagefie.sys", "pagefil.sys", "pagefile.ss", "pagefile.sy", "pagefile.sys", "pagefile.ys", "pagefilesys", "pagefle.sys", "pageile.sys", "pagfile.sys", "pgefile.sys", "rogram Files", "rogramData", "sapfile.sys", "swafile.sys", "swapfie.sys", "swapfil.sys", "swapfile.ss", "swapfile.sy", "swapfile.sys", "swapfile.ys", "swapfilesys", "swapfle.sys", "swapile.sys", "swpfile.sys", "wapfile.sys", "Dcuments and Settings", "Docments and Settings", "Docuents and Settings", "Documens and Settings", "Document and Settings", "Documents ad Settings", "Documents an Settings", "Documents and Setings", "Documents and Settigs", "Documents and Setting", "Documents and Settings", "Documents and Settins", "Documents and Settngs", "Documents and Sttings", "Documents and ettings", "Documents andSettings", "Documents nd Settings", "Documentsand Settings", "Documets and Settings", "Documnts and Settings", "Douments and Settings", "NetstatTable.csv", "Pogram Files (x86)", "Prgram Files (x86)", "Progam Files (x86)", "Progra Files (x86)", "Program Fies (x86)", "Program File (x86)", "Program Files (86)", "Program Files (x6)", "Program Files (x8)", "Program Files (x86", "Program Files (x86)", "Program Files x86)", "Program Files(x86)", "Program Fils (x86)", "Program Fles (x86)", "Program iles (x86)", "ProgramFiles (x86)", "Progrm Files (x86)", "Proram Files (x86)", "ocuments and Settings", "rogram Files (x86)", "Sstem Volume Information", "Sysem Volume Information", "Syste Volume Information", "System Vlume Information", "System Volme Information", "System Volue Information", "System Volum Information", "System Volume Iformation", "System Volume Infomation", "System Volume Inforation", "System Volume Informaion", "System Volume Informatin", "System Volume Informatio", "System Volume Information", "System Volume Informaton", "System Volume Informtion", "System Volume Infrmation", "System Volume Inormation", "System Volume nformation", "System VolumeInformation", "System Voume Information", "System olume Information", "SystemVolume Information", "Systm Volume Information", "Sytem Volume Information", "ystem Volume Information", "CmpleteCurrentFileExtensionASSOClist.csv", "ComleteCurrentFileExtensionASSOClist.csv", "CompeteCurrentFileExtensionASSOClist.csv", "CompleeCurrentFileExtensionASSOClist.csv", "CompletCurrentFileExtensionASSOClist.csv", "CompleteCrrentFileExtensionASSOClist.csv", "CompleteCurentFileExtensionASSOClist.csv", "CompleteCurrenFileExtensionASSOClist.csv", "CompleteCurrentFieExtensionASSOClist.csv", "CompleteCurrentFilExtensionASSOClist.csv", "CompleteCurrentFileEtensionASSOClist.csv", "CompleteCurrentFileExensionASSOClist.csv", "CompleteCurrentFileExtenionASSOClist.csv", "CompleteCurrentFileExtensinASSOClist.csv", "CompleteCurrentFileExtensioASSOClist.csv", "CompleteCurrentFileExtensionASOClist.csv", "CompleteCurrentFileExtensionASSClist.csv", "CompleteCurrentFileExtensionASSOCist.csv", "CompleteCurrentFileExtensionASSOlist.csv", "CompleteCurrentFileExtensionSSOClist.csv", "CompleteCurrentFileExtensonASSOClist.csv", "CompleteCurrentFileExtesionASSOClist.csv", "CompleteCurrentFileExtnsionASSOClist.csv", "CompleteCurrentFilextensionASSOClist.csv", "CompleteCurrentFleExtensionASSOClist.csv", "CompleteCurrentileExtensionASSOClist.csv", "CompleteCurretFileExtensionASSOClist.csv", "CompleteCurrntFileExtensionASSOClist.csv", "CompleteurrentFileExtensionASSOClist.csv", "ComplteCurrentFileExtensionASSOClist.csv", "CopleteCurrentFileExtensionASSOClist.csv", "ompleteCurrentFileExtensionASSOClist.csv"}

(1)

``


 

Download MAPLE_BITTY.mw

i know its really simple or such i just dont quite get what to do here moreso why it occurs for this particular delimiter
 

"\"

 

Warning, premature end of input, use <Shift> + <Enter> to avoid this message.

 


 

Download ANother_imbarassing_error_im_blank_for.mw

I dont understand why im getting this error at all.
 

["<","&",">",'"@"]

Error, `]` unexpected

 


 

Download ERROR_troubles.mw

I'm defining forces. The only thing I changed is x to y for one particular piece of an equation. I copied and pasted it so I don't see why it's not working.

opparam_fail.mw

Hi,

While running a maple code, I am getting a "invalid if statement termination" error. Most of time when I use nested for loop and if statement inside the loop, I am getting this error. Another error I get frequently is "Error, unterminate loop". I am using "shift+Enter" instead of Enter to avoid blanks but still such error appears. Can any one provide some rules which I should keep in mind to avoid these errors. My maple worksheet is enclosed-

invalid-if-stat-term-error.mw

Thanks and Regards,

Nilesh

i want to draw plot Y[1] . but i cant. thank for you

i want to take this equation

restart;
with(LinearAlgebra); Digits := 70; with(plots);

K := Matrix(5, 5, [[18278000.0000, 0., 0., 0., 0.], [0., 8478500.0000, 0., 0., 0.], [0., 0., 3874800.0000, 0., 0.], [0., 0., 0., 494710000.0000, 0.], [0., 0., 0., 0., 7707500.0000]]); M := Matrix(5, 5, [[4119700.0000, 0., 0., 0., 0.], [0., 175900.0000, 0., 0., 0.], [0., 0., 52796., 0., 0.], [0., 0., 0., 2002900.0000, 0.], [0., 0., 0., 0., 21711.]]); L := Vector[column](5, [400689.48, 36882.21, 24223.175, 7197.4865, 5007.6466]); V := Vector[column](5, [4.4368, 48.201, 73.39160, 246.999, 355.012]);
NS := ImportMatrix("D:/tabas.txt", datatype = float[8]);
t_NS := NS[() .. (), 1];
acc_NS := NS[() .. (), 2];
plot(NS, t = 0 .. 4.5, size = [800, 400]);
acc := unapply(CurveFitting:-Spline(t_NS, acc_NS/(9.81), t, degree = 1), t);
eq := seq(diff(x[i](t), t$2)+(2*0.5e-1)*sqrt(V[i])*(diff(x[i](t), t))+V[i]*x[i](t) = L[i]/M[i, i], i = 1 .. 5, 1);
ic := [seq({x[i](0) = 0, (D(x[i]))(0) = 0}, i = 1 .. 6, 1)];
res := evalf(seq(dsolve({eq[i], ic[i][]}, numeric, method = rkf45), i = 1 .. 5, 1));
Z := `<,>`(res[1], res[2], res[3], res[4], res[5]);
Y := Phi . Z;
#odeplot(rhs(Y[1]), t = 0 .. 4)

import file text

tabas.txt

i am trying to write the differential equation 

u_{t}=u_{xx}+2u^{2}(1-u) in my maple 15. 

but it shows error,

Error, empty number and  1 additional error.
 

Limit of function f(x)=[arcsin(x)]/tan(πx/2).  At point x=1

Hi,

I want to calculate the Jacobian of my function in terms of x,y,z. It is a Gerstner function and I need to caculate the normal of the displaced point. This can be achieved by getting the Jacobian Matrix. However when using Maple it isn't caculating it. The way I'm calling it is below. I have a vector function for tx,ty,tz:

 

with(VectorCalculus);
Jacobian([tx, ty, tz], [x, y]);

 

I'm not well versed in Maple I was wondering if anyone can help me out on how to get the Jacobian Matrix for tx,ty,tz

Best Regards

Paul

 

 

 

I'm trying to calculate the trajectory of a 3-particle system. I defined my parameters. Wrote a do loop. Got the number of iterations I expected. But when I look at the tables of position for each particle after I run the loop, the trajectory only changes for the first iteration, then it stays the same. In other words, it shows that the particle moved slightly after the first increment of time, but thereafter it doesn't move.


 

for i to N do x[11] := x[1]+tau*vx[1]+(1/2)*tau^2*F[x1]; y[11] := y[1]+tau*vy[1]+(1/2)*tau^2*F[y1]; x[21] := x[2]+tau*vx[2]+(1/2)*tau^2*F[x2]; y[21] := y[2]+tau*vy[2]+(1/2)*tau^2*F[y2]; x[31] := x[3]+tau*vx[3]+(1/2)*tau^2*F[x3]; y[31] := y[3]+tau*vy[3]+(1/2)*tau^2*F[y3]; R[1] := [op(R[1]), [x[11], y[11]]]; R[2] := [op(R[2]), [x[21], y[21]]]; R[3] := [op(R[3]), [x[31], y[31]]]; V[1] := [op(V[1]), [vx[11], vy[11]]]; V[2] := [op(V[2]), [vx[21], vy[21]]]; V[3] := [op(V[3]), [vx[31], vy[31]]] end do:

101

(5)

 

I am trying to plot some graphs for a differential equations class. I need to plot two equations (soln1a, soln1b1) in one graph, with the two curves overlayed on each other. I am trying to plot them on a graph named "gr1c". The error I get says "Error, (in plots/multiple) empty plot". Clicking on the error results in a webpage saying that "There is no help page available for this error".

When I plot each equation separately, there are no errors. The graphing command that works for soln1a is 

gr1a:=plot(rhs(soln1a),dom1,color=blue);

 

and the graphing command that works for soln1b1 is

gr1b1:=plot(rhs(soln1b_1),dom1,color=purple);
 

My code is as follows. I would greatly appreciate any help ASAP to remove the error. Thank you!

 

with(plots):with(DEtools):

K:=9;
deG:=diff(theta(t),t,t) + mu*diff(theta(t),t)+K*sin(theta(t))= 0;
deL:=diff(theta(t),t,t) + mu*diff(theta(t),t)+K*theta(t)= 0;
Iv:=theta(0)=0.75, D(theta)(0)=2.0;
dom1:=t=0..10;
soln1a:=dsolve({eval(deL,mu=0),Iv});

soln1b_1:=dsolve({eval(deL,mu=1),Iv});

gr1c:=multiple(plot[soln1a,soln1b1],dom1,color=[blue,purple]);
 

I am coding a big module to solving my project : analyze function in math, but when I compile my module maple return "Error," but it doesn't tell me what error happened.

I check the maple help and it said:" If no msgString is given, error raises the most recently occurring exception" but I have no exception before. 

This is the pic of that error.

Thank for your help.

Hi, everybody.

I have a problem when I try to plot3d a sub-surface from a surface as follows:


 

S := proc (u, v) options operator, arrow; Matrix([[40*u], [80*v], [10*u^2*v+20*u*v+15]]) end proc;

proc (u, v) options operator, arrow; Matrix([[40*u], [80*v], [10*u^2*v+20*u*v+15]]) end proc

(1)

S(u, v)

Matrix(3, 1, {(1, 1) = 40*u, (2, 1) = 80*v, (3, 1) = 10*u^2*v+20*u*v+15})

(2)

 

p:= proc(u,v) if u<v then S(u,v) else S(u,v)+10 end if end proc:

h:= proc(u) 2*u  end proc:

plot3d(p, 0 .. 1, 0 .. h)

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

 

 

``


 

Download sub-surface.mw

sub-surface.mw

 

Please help me!

 

Thanks and have a nice day.

 

 

I'm new to maple and I'm trying to write code in worksheet mode with some source code I have, I don't understand some of the syntax though, like the next:

m,  mass
r,  radius

J=m*r^2; Inertia

 

m and r are variables, so does this syntax mean that after the comma I set a name or label to the variables? because I tried to follow the same logic with 2d input math but it doesn´t work.
 

In this file you will be able to observe and analyze how the exercises and problems of Kinematics and Dynamics are solved using the commands and operators through a very well-structured syntax; Allowing me to save time and use it in interpretation. I hope you can share and spread to break the traditional and unnecessary myths. Only for Engineering and Science. Share if you like.

In Spanish.

Kinematics_using_syntax_in_Maple.mw

Lenin Araujo Castillo

Ambassador of Maple

1 2 3 4 5 6 7 Last Page 1 of 10