MaplePrimes Questions

Electric circuit problem.
How to solve this four resistors circuit by Syrup? ... EDIT; This is not my electric circuit problem. My exercise how to use Maple. Below is the problem.

This electric circuit problem is very hard to solve. Maple or other math program must need to solve.

How to make one ohm by using one-ohm resistors while each resistor must flow different current.

Using 1 A current source, node 1 shows 1 V.

The electric circuit below shows 1 ohm, however, the current of each resistor is same.

So, this is not the answer.

NULL

restart; with(Syrup); ckt := [-Iin(1), `&//`(R1(1), R2(1)), `&//`(R3(1), R4(1))]; Draw(ckt)

 

NULL

Download Make_one_ohm_by_one_ohm.mw

Hello,

In the code below I would expect the a-bar to be replaced in, just like the b below it. Is there something i'm missing here? I applied the bar using the Maple accent palette.

I knew it can't be true that timelimit in Maple 2022 no longer hangs and it is only a matter of time before I find a case where it still hangs.

Here are examples. timelimit hangs. No error or anything, it just hangs. timelimit is just ignored. set the limit to 60 seconds  (CPU time), and waited for 20 minutes (real time) and nothing happend.

I hope in Maple 2023 this will be fixed. Could others confirm this? it only hangs when adding the method=_RETURNVERBOSE otherwise it does not hang.

interface(version);

`Standard Worksheet Interface, Maple 2022.0, Windows 10, March 8 2022 Build ID 1599809`

Examples of timelimit hangs in Maple 2022

 

Example 1

restart;

integrand:=(B*x+A)/(c*x^2+b*x+a)^2/(f*x^2+e*x+d)

try
  timelimit(60,int(integrand,x,method=_RETURNVERBOSE));
catch:
  print("Timed out");
end try;

 

Example 2

restart

integrand:=(5*x^4-x^3+3*x^2+x+2)*(2*x^2-x+3)^(1/2)/(5+2*x)^3

try
    timelimit(60,int(integrand,x,method = _RETURNVERBOSE));
catch:
  print("Timed out");
end try;

 

 

Download int_hangs.mw

This is a serious problem.

I change "how should maple handle the creation of new math engine?" to "Create new engine for each document". Then click on "Apply globally".  This is under Tools->Options->General

After I close Maple and start it again, I found it back to "Share one engine among all documents" ??

Why is that and how to make this permanent? 

Btw, the start Maple 2022 icon still says "Maple 2022 shared server". THis is in the start program menu. I complained about this in Maple 2021 but it is still not fixed.  https://www.mapleprimes.com/questions/231901-Why-Maple-2021-Only-Shows-shared-Server

I do not think this has anything to do with it. But who knows.

I noticed this when I started new worksheet and could not do anything in it because another worksheet was running something even though I made sure I had set the engine to start new one for each worksheet (this is the very first thing I do after I install Maple each time).

Any workaround to make the setting for the engine not change after closing Maple?

Windows 10. Maple 2022.

This was very surprising!!

x:=3;
                               3
g:=x;h:=x^2;
                               3
                               9
subs(x=4,g);subs(x=4,h);
                               4
                               9

This is inconsistent! After g and h have been assigned values, they do not depend on x anymore, so g should not be turned into 4 by subs

How to draw a streamlined pattern of contour plot like this

The ODE is given by

and boundary condition is

and 

Streamline function

Thanks and Regards

The Physics Update package install or upgrade via cloud is not working now. See the error code:

Fetching package "Physics Updates" from MapleCloud...
ID: 5137472255164416
Version: 1183
URL: https://maple.cloud

File size is 5148672 bytes(4 MB).

Installing package...
PackageTools:-Install("/tmp/cloudDownload17017141919364770870/Physics+Updates.maple",overwrite=true,pkgname="Physics Updates");

ERROR: The package could not be installed.
error PackageTools:-Install, "this package is intended to work with Maple %1; it can not be installed in the version you are using -- %2", "2022", "2021"

Same problem on Maple 2021 and Maple 2022 (linux and windows version).

Any help?

Dear all

I have a box contains 3 red balls and 3 white balls, we select one ball three times and we define Z to be  the number of red balls selected. 
Since, we selected three times a ball and we count the number of red balls selcted after this experiment, we have 
Z(Omega)={0,1,2,3}

Now, How CAN I determine the sigma algebra generated by Z ( which is a random variable). 
The following code  calculate the sigma algebra generated by any subset  A subset of global set X , 
I would like to use it, to verify the descripted experiment in probability. 

sigma_algebra_random_variable.mw

thank you 

I am trying to solve the following ode in Maple. Here is the code below 

dsolve(diff(b(x), x, x, x)/2 + diff(b(x), x, x)/x + 2*diff(b(x), x)/(x^2 + 1)^2 - 4*x*b(x)/(x^2 + 1)^3 = 0)

and the output I get is the following:

b(x) = DESol({-8*x^2*_Y(x) + (4*x^3 + 4*x)*diff(_Y(x), x) + (2*x^6 + 6*x^4 + 6*x^2 + 2)*diff(_Y(x), x, x) + (x^7 + 3*x^5 + 3*x^3 + x)*diff(_Y(x), x, x, x)}, {_Y(x)})

I don't understand what the function _Y(x) means. Could someone please explain? 

Thanks in advance!  

For example for an ellipsoid with principal axes 3, 2 and 1 along the x, y and z coordinate axes respectively, with center at the origin and truncated at x equals 1.

What math will reveal its center of mass and its moment of inertia for an axis of revolution through the center of mass and parallel to the y axis?

I am trying to vopy paste a table of 10*20 from maple sheet to ms word but failed. His their any special way of copying tables from maple sheet to ms word without formating chnages?

Please, how can I find all the roots  of: (H/(Hc))^2 -(4*q^2)/Pi^2*((tan(q)- q/(1-alpha))/(tan(q)-q)) with q=(i-1)*Pi+Pi/2..i*Pi+Pi/2 for n=20.

See my attempt below:

restart:with(RootFinding):
a[1] := .1093; k[3] := 7.5*10^(-12); k[2] := 3.8*10^(-12); d := 0.2e-3; eta[1] := 0.240e-1; alpha[2] := -.1104; alpha[3] := -0.1104e-2; eta[2] := .1361; xi := 1.219*10^(-6); alpha := 1-alpha[3]^2/(a[1]*eta[1]); theta[0] := 0.5e-1;
Hc := (Pi/d)*sqrt(k[2]/xi):

H := 5.5*Hc;
lambda := a[1]/(xi*H^2);

RootFinding:-NextZero(proc (q) options operator, arrow; (H/(Hc))^2 -(4*q^2)/Pi^2*((tan(q)- q/(1-alpha))/(tan(q)-q)) end proc, 0);

for j to 9 do RootFinding:-NextZero(proc (q) options operator, arrow; H^2/Hc^2-4*q^2*(tan(q)-q/(1-alpha))/(Pi^2*(tan(q)-q)) end proc, %) end do;

Error, invalid input: RootFinding:-NextZero expects its 2nd argument, zz, to be of type numeric, but received FAIL

Hi

I wanted to know how to search a list of permutations given criteria: print the permutation(s) If the 4th element of each perm was equal to [C,Z} and the seventh was equal to [B,Y]

perm.mw

Hello, 

I have an equation in the form:

x(t)=2*a+b*t+2*t;

where a and b are the unknowns that I have to find. 

my initial conditions are x(0)=1 and x(1)=1. How can I solve this equation in maple?

Thank you very much for your help!

So all I'm trying to do is a simple sequence like seq(i^2, i=1..10, 1) but with units.  The seq function is part of the Units:-Standard and Units:-Simple packages.  I couldn't find any examples with units in the help system.  For my first attempt, I tried to create a simple sequence of values with units using what is, to me, a logical syntax.  I have included the Maple input below.  I bolded the input.

with(Units:-Standard);
[*, +, -, /, <, <=, <>, =, Im, Re, ^, abs, add, arccos, arccosh, arccot, arccoth, arccsc, arccsch, arcsec, arcsech, arcsin, 

  arcsinh, arctan, arctanh, argument, ceil, collect, combine, conjugate, cos, cosh, cot, coth, csc, csch, csgn, diff, eval, 

  evalc, evalr, exp, expand, factor, floor, frac, int, ln, log,  log10, log2, max, min, mul, normal, polar, root, round, sec, 

  sech, seq, shake, signum, simplify, sin, sinh, sqrt, surd, tan,   tanh, trunc, type, verify]

seq(ii, ii = 1.0*Unit('m') .. 10.0*Unit('m'), 1.0*Unit('m'));

Error, (in Units:-Standard:-seq) wrong number (or type) of parameters in function seq

Can anyone show me the correct syntax for this?  Is there something in the help?  I tried it in 2021 and 2022 with the same result.
 

First 329 330 331 332 333 334 335 Last Page 331 of 2428