Code for Calculating Constant PI: First, request and get a LONI qb2 or qb3 user account, download free version ssh for w

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Code for Calculating Constant PI: First, request and get a LONI qb2 or qb3 user account, download free version ssh for w

Post by answerhappygod »

Code for Calculating Constant PI:
First, request and get a LONI qb2 or qb3 user account, download free version ssh for windows if you use MS Windows10 system (Mac does not need ssh), and then do following:
1. Select related compiler and library such as intel C++ and/or Fortran (F90) compiler as your default compiler and library in LONI machines.
2. Write a sample code for calculating constant PI with an accuracy of 12 digit number. You can use random number generator in C or Fortran or other methods, e.g. random function or others.
Project 03 Python Programming
Convert your code in Project 01 into Python code and run it in QB3 or other Linux environment
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply