photo

Eric


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Length of a 3D curve.
So I have created the code to calculate the length of a 3D curve which is: function length_total = spacecurvelength(x,y,z,a...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Differential equation Eulers method plotting vs. Exact solution
I am trying to find the solutions to the differential equation 2*x*y*(1-y) using Euler's method and then comparing with the exac...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Plot function with changing variable
So I have a function that approximately calculates the length of the space curve 2*sin(s),3*cos(s)*exp(s),s.^2/10. function...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Simpsons method: quad function
I've been trying to evaluate the following integral using the quad function. My output is completely blank. Not sure why. fu...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Simpsons Rule: With for loops
Hi, So I have a question where I have to use Simpsons rule to integrate (1-x^3)*sin(x) + exp(x^2/20) between -1 and 4 with 20 in...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Displaying in terms of pi
I have the written the following code but I'm not too sure how to display the x values in terms of pi. Is that possible?Also in ...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Monte carlo: intersection volume of cylinders
I have to calculate the intersection volume of three cylinder(radius=3) each of which lie on x,y,z axis perpendicular to one ano...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
basic monte carlo question: area of circle
Thanks a lot, appreciate it.

mehr als 9 Jahre vor | 0

Beantwortet
basic monte carlo question: area of circle
Thanks both really helped a bunch. How would I go about plotting the graph so that the hits are one colour and the rest are a...

mehr als 9 Jahre vor | 0

Frage


basic monte carlo question: area of circle
Question: Use monte carlo method to find area of circle radius 5 inside 7x7 square. So this is the code I've put together so ...

mehr als 9 Jahre vor | 4 Antworten | 0

4

Antworten

Frage


Function, input number, return a value
QUESTION: Write a small function which takes as inputs; a number a and a function g(x), and returns (a, g(a)). Note that pri...

mehr als 9 Jahre vor | 2 Antworten | 0

2

Antworten