Mathematically modeling a real system in C#

36 replies · 5K views · last reply
Can we see something of the results ?
 
BvU said:
Can we see something of the results ?
Screenshot of the Windows Calculator Graphing app showing the expression 1.48455 sin((x + 40) - 2(pi/180)) + 866.6255 in the input panel, with the plotted graph a nearly flat horizontal line on a grid, axis labels 1400, 50, 100, 150, 200, 250.
This is a fit that I did today. And it fit the data that I measure. it is off at little as you do down. and I think it is because I did not iterate it. I think to iterated it , I would have to solute for A B and w again . I just do not know when to stop.
 
Last edited:
  • Haha
Likes   Reactions: pbuk
btb4198 said:
View attachment 290391This is a fit that I did today. And it fit the data that I measure. it is off at little as you do down. and I think it is because I did not iterate it. I think to iterated it , I would have to solute for A B and w again . I just do not know when to stop.
You should adjust the vertical scale on your graph. What you show here looks like nothing more than a horizontal line, ##y \approx 100##.
 
Mark44 said:
You should adjust the vertical scale on your graph. What you show here looks like nothing more than a horizontal line, ##y \approx 100##.
I have been trying... but the graphing calculator does not let me... it is very frustrating, I am only using it because it comes with my computer .
 
btb4198 said:
I have been trying... but the graphing calculator does not let me... it is very frustrating, I am only using it because it comes with my computer .
Try desmos instead.
 
btb4198 said:
I have been trying... but the graphing calculator does not let me... it is very frustrating, I am only using it because it comes with my computer .
It looks like you are using the Windows Calculator to do the graphs.
Click the icon circled below to open the Graph Options dialog.
Windows Calculator Graphing screenshot showing a blue wave curve on x and y axes, with the y-axis ranging from -10 to 10 and the x-axis from -10 to 10, and a red circle around the graph options icon.


On the Graph Options dialog, you can change the scale on the x-axis or the y-axis, change the units (radians, degrees, or grads), or change the line thickness.
Windows Calculator Graph Options dialog with Window settings X-Min -12.833333, X-Max 12.833333, Y-Min -13.577726 and Y-Max 13.577726 circled in red; Units set to Radians.

You'll get a more useful graph by changing the limits on the y-axis to better show the oscillation.
 
  • Like
Likes   Reactions: sysprog