can somebody help me on writting a program that displays y(adsbygoogle = window.adsbygoogle || []).push({}); _{o}

to y_{n+1}when n=100 and store them in a file.

y"=cos(t)*y+y

y(0)=1

y'(0)=0

h=0.1

y'=z

z'=z'*cos(t)+y

y_{n+1}=z_{n}+h*z_{n}*(cos(t_{n}))+y_{n})

t_{n}=t+nh

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Functions in c

Loading...

Similar Threads - Functions | Date |
---|---|

C/++/# Is Pass-by-Reference part of a Function Signature? | Mar 2, 2018 |

Fortran Fortran external functions vs subroutines | Oct 17, 2017 |

How to plot generalized hypergeometric function in ROOT? | May 4, 2017 |

Functions and Return statement in C | May 3, 2017 |

Alternative to Ackermann Function | Feb 10, 2017 |

**Physics Forums - The Fusion of Science and Community**