{"id":17286526,"url":"https://github.com/nepo26/beersolver","last_synced_at":"2025-03-26T17:19:08.289Z","repository":{"id":57414499,"uuid":"469761234","full_name":"Nepo26/Beersolver","owner":"Nepo26","description":"A script for solving vector mechanics Ferdinand P. Beer proposed exercises","archived":false,"fork":false,"pushed_at":"2022-03-18T19:28:58.000Z","size":290,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T10:18:41.731Z","etag":null,"topics":["college-project","physics","python","vectors"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nepo26.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-14T14:08:44.000Z","updated_at":"2022-03-18T20:51:49.000Z","dependencies_parsed_at":"2022-09-02T14:51:50.750Z","dependency_job_id":null,"html_url":"https://github.com/Nepo26/Beersolver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nepo26%2FBeersolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nepo26%2FBeersolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nepo26%2FBeersolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nepo26%2FBeersolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nepo26","download_url":"https://codeload.github.com/Nepo26/Beersolver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245699263,"owners_count":20657987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["college-project","physics","python","vectors"],"created_at":"2024-10-15T09:59:30.638Z","updated_at":"2025-03-26T17:19:08.271Z","avatar_url":"https://github.com/Nepo26.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"images/logo.gif\"\u003e\n \n\u003cp align=\"center\"\u003eA script for solving vector mechanics Ferdinand P. Beer proposed exercises\u003cbr\u003e\n\u003ccode\u003epip3 install beersolver \u0026\u0026 beersolver\u003c/code\u003e\n\u003c/p\u003e\n\n# 🤔 Overview\nHere are proposed solutions for the exercises listed on the end of the third\nchapter of the book *\"Vector Mechanics for Engineers 9° Edition, Ferdinand\nP.Beer\"*\n\n\nThe general recommendation for the script was that it needed at least\ntwo types of input and at least 2 types of output.\n\nInformation about the solved exercises:\n- [3C.6](exercises/ThirdChapter/README.md)\n\n# 🔨 Installation\n## Automatic\nIssue\n\n```\npip3 install search-that-hash\n```\n\nthen:\n\n```\nbeersolver\n```\n\nTo run.\n## Manual Installation\nCreate folder for the virtual env\n```\nmkdir beersolver\n```\n\nCreate virtual env\n```\npython3 -m venv beersolver\n```\n\nActivate it:\n- Linux\n```\nsource beersolver/bin/activate\n```\n- Windows\n```\ncall beersolver/bin/activate.bat\n```\n\nInstall all the necessary packages:\n```\npip3 install -r requirements.txt\n```\n\nRun beersolver to test it:\n```\nbeersolver\n```\n# 📖 Documentation (How to use tutorial)\n\u003e OBS.:  Throughout this documentation whenever `beersolver` is referenced it means \n`python3 beersolver.py` for those who didn't install it or `beersolver` to the ones \nwho installed it with setuptools.\n\n## Configuration File \nTo easily run you may just start by creating a skeleton config:\n\n```bash\nbeersolver exercise-three-c-6 -g \n```\n\nThis will create a template with all parameters needed to solve called `example.ini`\nas the one below.\n```ini\n[positions]\nposition_a_x = 0.0\nposition_a_y = 96.0\nposition_a_z = 4.0\nposition_e_x = 90.0\nposition_e_y = 52.0\nposition_e_z = 0.0\nposition_c_x = 120.0\nposition_c_y = 36.0\nposition_c_z = 100.0\n\n[lambdas]\nlambda_ab_x = 0.7777777777777778\nlambda_ab_y = -0.4444444444444444\nlambda_ab_z = 0.4444444444444444\nlambda_cd_x = -0.7777777777777778\nlambda_cd_y = 0.4444444444444444\nlambda_cd_z = -0.4444444444444444\n\n[range]\nupper_range = 36.0\nlower_range = 9.0\nstep = 1.0\n```\n\nWith this created you can now just issue the command and see the result: \n```bash\nbeersolver exercise-three-c-6 -i example.ini\n```\n\nThis now generates the response on the command prompt.\nYou can change the values from `example.ini` to change the exercise parameters.\n\n## Inline\nTo solve the exercise using inline mode you may insert all the arguments as parameters,\nor you wait for the prompt. The program detects if is there any missing argument. \n\nSupplying parameters:\n```bash\nbeersolver  exercise-three-c-6 --position_a 0.0 96.0 4.0 --position_e 90.0 52.0 0.0 --position_c 120.0 36.0 100.0 --lambda_ab 7/9 -4/9 4/9 --lambda_cd -7/9 4/9 -4/9 --upper_range\n 36 --lower_range 9 --step 1.0 \n```\n\nWaiting for the prompting:\n```bash\nbeersolver  exercise-three-c-6\n\nA[x]: 0.0\nA[y]: 96.0\nA[z]: 4.0\nE[x]: 90.0\nE[y]: 52.0\nE[z]: 0.0\nC[x]: 120.0\nC[y]: 36.0\nC[z]: 100.\nLambda_ab[x]: 7/9\nLambda_ab[y]: -4/9\nLambda_ab[z]: 4/9\nLambda_cd[x]: -7/9\nLambda_cd[y]: 4/9\nLambda_cd[z]: -4/9\nupper_range: 36\nlower_range: 9\nstep: 1.0\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnepo26%2Fbeersolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnepo26%2Fbeersolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnepo26%2Fbeersolver/lists"}