janhardo

715 Reputation

12 Badges

11 years, 94 days

MaplePrimes Activity


These are questions asked by janhardo

B12 := -6*(p1 + p2)/(p1 - p2)^2;
F2 := (theta1*theta2*p1^2 + (-2*p2*theta1*theta2 - 6)*p1 + theta1*theta2*p2^2 - 6*p2)/(p1 - p2)^2;

to..

F2 := theta1*theta2 + (-6*p1 - 6*p2)/(p1 - p2)^2
F2:= theta1*theta2 + B12  ( how to get this ?)

Should be very easy, but it is not 

When i paste the code , its not keeping its same outline as in the worksheet  ?
 using this 

Yes , i can ..a procedure for thiis?

restart; with(plots); printf("Step 1: Declare l and b as free variables for the 3D plot.\n"); l := 'l'; b := 'b'; printf("Step 2: Set fixed values for remaining parameters.\n"); a := 1; c := 1; d := .2; f := 1; epsilon := 1; printf("Step 3: Define the 3D gain function G(l,b) with fixed a,c,d and variable l,b.\n"); G := proc (l, b) options operator, arrow; 2*Im(sqrt(-a^2*f*d-a*b+(1/2)*l^2-3*a+(1/2)*sqrt(-48*a^3*f*d+4*epsilon*l^3*c-24*a*epsilon*l*c+l^4+4*l^2*c^2-48*a^2*b-12*a*l^2+36*a^2))) end proc; printf("Step 4: Create a 3D surface plot of G(l,b).\n"); gainPlot := plot3d(G(l, b), l = -6 .. 4, b = .1 .. 1.2, labels = ["Wave number l", "Parameter b", "Gain G(l,b)"], title = "3D MI Gain Spectrum over (l, b)", shading = zhue, axes = boxed, grid = [60, 60]); printf("Step 5: Display the 3D surface plot.\n"); gainPlot

Step 1: Declare l and b as free variables for the 3D plot.
Step 2: Set fixed values for remaining parameters.
Step 3: Define the 3D gain function G(l,b) with fixed a,c,d and variable l,b.
Step 4: Create a 3D surface plot of G(l,b).
Step 5: Display the 3D surface plot.

 

 
 

 

Download can_we_plotthisin_3Dshapemprimes5-5-2025.mw

Where is my question ?  
No reason to delete this...nothing copy righted code 

This is a error what all the time, shows up with the ai programs.

U:=U(xi);
Error, recursive assignment

U and U(xi)  seems to be related ? 

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