
Parallel Programming on a CPU with AVX-512 - Physics Forums
Apr 23, 2022 · In this article, I describe a program that uses Intel AVX-512 assembly instructions and includes a comparison of the results from both programs.
Getting an unclassifiable statement error in Fortran 95
Jun 9, 2013 · Getting an "unclassifiable statement" error in Fortran 95 I am trying to integrate the function x from 0 to 1. Here is my code: [FONT="Courier...
What could be causing my program to hang on cin.getline() in C
Nov 13, 2020 · I have no idea why the program got hung on cin.getline() in my program. cin >> works just find. Here is the program. It is the really scaled down version of my long program. I just deleted …
Reading a string from file until whitespace c++ - Physics Forums
Sep 10, 2011 · This discussion focuses on reading strings from a file in C++ until whitespace is encountered, appending specific symbols to the strings, and storing them in a buffer. The user is …
Eclipse Error 'Program File Does Not Exist' • Physics Forums
May 28, 2010 · I agree with the "doesn't do what you think it does" part, but if celsius is a multiple of 10, the formula will give the right result. If celsius is not a multiple of 10, the results will be surprising to …
What is the best book for understanding the theory of transistors?
Jun 1, 2013 · The discussion centers around recommendations for books that provide a theoretical understanding of transistors, particularly from a physics perspective. Participants share their …
How to search just the first two characters in a c-string?
Nov 6, 2020 · The discussion revolves around searching for the first one or two characters in C-style strings (c-strings) within a vector of structures. Participants explore methods for comparing these …
Recursion to print a fractal pattern - Physics Forums
Oct 13, 2012 · The discussion revolves around creating a recursive function in C++ to print a fractal pattern of stars, with a focus on understanding the initial case for recursion and addressing potential …
How can I make a telescope eyepiece - Physics Forums
Mar 24, 2009 · The most straightforward method to create a telescope eyepiece involves repurposing a broken pair of binoculars. By disassembling the binoculars, one can salvage the eyepiece and adapt …
How Do You Apply Newton's Laws to Calculate Forces on a Lawn Mower?
Sep 19, 2005 · This discussion focuses on applying Newton's Laws to calculate forces acting on a 13.0 kg lawn mower being pushed at a constant speed with a force of 84.0 N at an angle of 49.0° to the …