MaplePrimes Questions

There was a command that allowed a user to convert a decimal to a fraction, I cannot remember and I cannot find it with help...

Let's say I have 2 functions, the first being y=sin^2(x) and the second one is y=e^(-x)cos(x). When I try to solve on Maple, it only gives me one intersecting point, while I would like to see ALL intersections between the 2 functions. How would I go about doing this?

Good day, can any one help in writing maple programme for the finite difference (FD) formulae define to solve this coupled non-linear  ODEs. See it here FDM_programme.mw Thank you

NOTE: please disregard the earlier link.

Hi. It is be good to be with you after 4 years.

I want to ask about Curvefitting for Data. If I have a numerical data and i want to find a function in x and y for these data.

After I've set my infolevel and used the ProjectionPlot command, is there any way to force Maple to display the information using exact values, instead of decimal approximations? See the attached file for the additional information.


with(Student[LinearAlgebra]):

infolevel[Student[LinearAlgebra]] := 1:

ProjectionPlot(`<,>`(-2, 3, 2), `<,>`(7, -3, -4))

 

``


Download projection_plot.mw

I am plotting a simple rational function. When the denominator is completely factored, the discont command works as expected. However, if the denominator is expanded, discont fails.

Why does this happen?

 

restart

(x-3)/((3*x+1)^2*(x-2)^3)

(x-3)/((3*x+1)^2*(x-2)^3)

(1)

plot((x-3)/((3*x+1)^2*(x-2)^3), x = -3 .. 3, y = -2 .. 2, discont = true)

 

normal((x-3)/((3*x+1)^2*(x-2)^3), expanded)

(x-3)/(9*x^5-48*x^4+73*x^3-6*x^2-36*x-8)

(2)

plot((x-3)/(9*x^5-48*x^4+73*x^3-6*x^2-36*x-8), x = -3 .. 3, y = -2 .. 2, discont = true)

 

``

This behavior also occurs in Maple 17.

Download discont.mw

To me the following behavior of solve is surprising:

restart;
solve(f(0.5)=7,f(0.5)); #Output NULL
solve(f(1/2)=7,f(1/2)); #Output as expected 7

Debugging solve suggested to me that the following might work
solve(f(0.5)=7,f(1/2));
and indeed it did (outout the float 7.).
This behavior seems to have started in Maple 10. I checked Maple V,R3 and several other old versions including Maple 9.5. All behaved as I would have expected. MapleV,R3 gave the float 7. in the first case, the other the integer 7.
I take this to be a bug and shall file an SCR.
Any comments?




g := (1/8)*x*sin(13/x)+arcsin(5*x^2/(8*x^2+1))

G := unapply(g, x)

H(x) :=G(G(x))

 

I need to find the value of H'(pi/2). I tried this, but it didn't work;

simplify(eval(diff(H(x), x), x = (1/2)*Pi))

 

Will it not work for this type of question? 

Thanks :)

f(x) :=(x^(12)-x*sin(x^(11)))/(x^(34))+e^(sqrt(x+4))*ln(abs((cos(x)^(5))-6))

diff(f(x), x$2)

 

What would I need to type in if I would want to find f^-2(5)? I've tried this;

diff(f(5), x$2)

But it keeps giving me zero... Thanks in advance! :)

 

Statistics:-Histogram by default choses the vertical axis such that the area under the histogram is 1 (or something like that). In my work, I invariably need to add "frequencyscale=absolute" to get the scale I need. Is there any way to make this the default? Typing this every time gets so old... I have been looking to something analogous to plots:-setoptions but that doesn't seem to exist for Statistics.

M.D.

This is going to sounds so stupid probably, but I'm a newbie with the software and I really am clueless at the moment.

I was asked to define given information as a function, then sub -25 in for x to verify I typed the function correctly. But it's not working.. (I have a screenshot saved to my computer, but apperently I can't post it).

 

f(x) :=(x^(12)-x*sin(x^(11)))/(x^(34))+e^(sqrt(x+4))*ln(abs((cos^(5)x)-6))

 

This is my function...how do I check what value f(-25) will give me? When I calculate it (first with evalf, then without) it only showed another function as the answer, rather than the answer..sigh, I'm terrible with this software.

Dear MaplePrime's guys,

I would like that the font style of  all (new) worksheets I open are with 'style" "CMaple input" " Courier 20 "..

How could I modify the setting please? Any hint is more than welcome.

 

I am using Maple 16 (on a MacBook pro).

 

Thank for your attention,

 

J.-J. 

I have seen no posting on the following issue: on a high density monitor, example QHD+, where the resolution is 3200x1800, the titlebar, the palettes and the graphs are so small that they are essentially invisible. In addition, the symbols in the palettes overextend the edge of the palette. I see this with both Dell computers and Apple computers that run Maple under Windows. Is true with other computers? Is Maplesoft aware of this issue? I'm assuming it has something to do with the Java graphics library. Is there a solution?

I have an expression like this:
B0:=(phi(x))^2:
B1:=diff(phi(x),x):
B2:=diff(phi(x),x,x):
B3:=B2^2:
B4:=(phi(x))^2:
B5:=B1^2:

C0:=(psi(x))^2:
C1:=diff(psi(x),x):
C2:=:C1^2:
C3:=

D0:=(eta(x))^2:

F1:=phi(x)*psi(x):
F2:=phi(x)*eta(x):
F3:=psi(x)*eta(x):

g1:=B1*C1:
g2:=B2*phi(x):
g3:=B2*psi(x):
g4:=B2*eta(x):

T:=A0011*B0+A0022*C0+A0033*D0+A0012*F1+A0013*F2+A0023*F3+A1111*B5+A1122*C2+A1112*g1+A2011*g2+A2012*g3+A2013*g4+A2211*B5:

A0011 and A0022 and etc are constants and coefficients.

Now I want to extract some constants like A1112 or A2013 from T. Please write out an useful code for extract these coefficients!

Thanks

SmithChart.mw
 If I want to plot Smith Chart ,how do I mark a circle of arbitrary values?

then,How do I avoid the polar line to cover other  circle line?

Any body can give me some ideas or better ways to plot Smith Chart?

Thanks.

(Z0)   + I Ω    

(ZL) + I Ω

(ω) rad/s

α dB/m= Np/m

(β) rad/m

Zg

(l)

(z)  l

(Vg)

(u)

output:                                                                 

                

(Γ)                                 

(Γ)

            

 (SWR)  

 

(zL):

           

 (YL): S

  tanhγℓ

  tanβℓ

 (Zin):   Ω

  (zin):

    (γ):

(Vo)(z=0): V

      (Io)(z=0): A

Vo+):      V         

(Vo-):  V 

               (Vs): V

  (Is): A

             ):

  r=     ,   x=   Yo=

``
with(plots):

 

``

 

``

````

``

``

help("?")

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL

``

NULL



Download SmithChart.mwSmithChart.mw

 

First 1382 1383 1384 1385 1386 1387 1388 Last Page 1384 of 2434