Community Profile

photo

Nicholas Davis


Last seen: 2 years ago Active since 2020

Senior Undergraduate Student in Physics

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Saving variable in a nested for loop
Hi, The code I have written demonstrates the time-dependent Schrodinger equation evolving through time. My goal with the way i...

2 years ago | 1 answer | 0

1

answer

Question


Solving composite equations with symbolic toolbox
Hi all, I have a very simple code written to solve for two variables within two equations. My main variables are A and B, which...

3 years ago | 1 answer | 0

1

answer

Question


Newton's Method Involving Elliptic Integrals
Hi, I'm trying to find the root of a function involving elliptic integrals using Newton's Method to be used in another code. I ...

3 years ago | 1 answer | 0

1

answer

Question


Trapezoidal Rule Involving Elliptical Integrals/Functions
Hi. I'm trying to write a code to integrate a function via the trapezoidal rule. I can't seem to get my graph to produce the cor...

3 years ago | 0 answers | 0

0

answers

Question


Numerical Integration Involving Elliptical Functions
Hi. I'm trying to plot a series of equations. The first of which will be fit into figure 1 (x versus p) and the other being fit...

3 years ago | 1 answer | 0

1

answer

Question


Plotting a function with 3 differing initial values
Hi all. I am trying to plot a function with 3 different scale values, so I'd like to produce a line for each scale value (includ...

3 years ago | 1 answer | 0

1

answer

Question


Nested For Loops and Plotting
Before I begin, I am an undergrad student with little experience in the field of solid-state physics, so bear with me here. I ha...

3 years ago | 1 answer | 0

1

answer

Question


Pendulum using Runge Kutta
Good Afternoon. I'm trying to run a code to simulate a simple pendulum but I am trying to run it using Runge Kutta, but I am get...

3 years ago | 1 answer | 0

1

answer

Question


How do I write a for loop for different initial values of omega and then plot multiple lines?
I'm running a program to simulate a simple pendulum. I am plotting a phase space diagram but I would like to have multiple diffe...

3 years ago | 0 answers | 0

0

answers

Question


Pendulum code error. How do I resolve unrecognized function or variable when it is clearly stated?
I have a code written out to simulate a pendulum, but there seems to be an error after the loop, and I can't seem to resolve it ...

3 years ago | 1 answer | 0

1

answer