Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~280 People Reached
Favorite Forums
Favorite Tags
Member Avatar for John_47

Hey, i'm having trouble with this question i was given. I'm tasked with improving a programme to calculate a differential. Here is the code i am given, which i must improve. def f(y,t): return -y + 1.0 def odestep(f,y,t,dt ): return y+dt*f(y,t) t =0; y=0; dt =0.2 tf =2.0; nsteps …

0
67
Member Avatar for John_47

Hello, i'm currently trying to write some code to find the integral of exp(-x*x). I have been given code for one trapezium rule (trap0) which is imperfect, and a second set of code for a new trapezium rule (trap1), which uses the old code and some new conditions to 'perfect' …

Member Avatar for John_47
0
213