Question: Could you great me a Schrodinger code that I can use it in the Matlab program? Like in the picture, STC 4G 7:05 PM o

Could you great me a Schrodinger code that I can use it in the Matlab program? Like in the picture,
 Could you great me a Schrodinger code that I can use

STC 4G 7:05 PM o google.com /Iprogram to solve 1D infinite well problem by Mahesha M G lude #de fine pi 3.14159 main() int i,j,n,m float y[1000],y2[1000], x0-0,xl,h, sum2-1,x; FILE *fp; fp fopen("particle.dat","w") printf("Enter energy state n: ") scanf("%d" ,&n) ; printf("Enter length of the well(in nm): scanf ( "%f",6x1 ) ; printf("Enter stepsize: ) scanf("f",&h) m (xl-x0)/h x-x0; y[0]#0; y[m]#0; y11-1; for(12;1 #de fine pi 3.14159 main() int i,j,n,m float y[1000],y2[1000], x0-0,xl,h, sum2-1,x; FILE *fp; fp fopen("particle.dat","w") printf("Enter energy state n: ") scanf("%d" ,&n) ; printf("Enter length of the well(in nm): scanf ( "%f",6x1 ) ; printf("Enter stepsize: ) scanf("f",&h) m (xl-x0)/h x-x0; y[0]#0; y[m]#0; y11-1; for(12;1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!