blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dc8d320e61d130f36b289c47f68f94df983b4636 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3446/CH6/EX6.8/Ex6_8.sce | 8657dd98acee03caa46fc9274615ff61c0964575 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 353 | sce | Ex6_8.sce | // Exa 6.8
// To calculate the minimum number of PN chips that are required for each frequency word.
clc;
clear all;
Bss=600; //Hopping bandwidth in MHz
stepsize=400; // in Hz
//solution
No_of_Tones=Bss*10^6/stepsize;
Min_chips_required=log2(No_of_Tones);
printf('Minimum number of chips required are %d ... |
f18861726df74e76efdfdd6b37d87a3ca7bca511 | d963a50c09b7380dd7b1b97cd9997e9bd17ea8f3 | /r37/packages/solve/desir.tst | 2600934d41837fd412cd51f3c6899003abfbe66a | [
"BSD-3-Clause"
] | permissive | reduce-algebra/reduce-historical | 8220e211b116e0e01ff1a38f51917cac9db6069f | e014152729c4d62bb1ce4f5c311a027042a5495a | refs/heads/master | 2023-04-10T22:54:00.796596 | 2021-04-16T08:52:19 | 2021-04-16T08:52:19 | 343,245,204 | 7 | 1 | NOASSERTION | 2021-04-16T08:53:31 | 2021-03-01T00:15:22 | TeX | UTF-8 | Scilab | false | false | 4,683 | tst | desir.tst | off echo;
write
"Premier exemple: utilisation interactive sur une equation simple";
write "desir(); %appel de DESIR";
desir();
3; %ordre de l'equation
1;x;x;x**6; %coefficients
non; %correction ?
non; ... |
85476b1431545e6ac2991d09bfc3e73df8f345e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH9/EX9.13/Ex9_13.sce | e9cc29ad880069af30e66548287b0b4117b58bd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 815 | sce | Ex9_13.sce | clc
clear
printf("Example 9.13 | Page number 288 \n\n");
//Find magnitude and direction of heat transfer
//Given data
V_He = 0.3 //m^3 //volume of Helium
p_He = 20e5 //Pa //pressure of Helium
T_He = 273+30 //K //Temperature of Helium
V_O2 = 0.7 //m^3 //volume of O2
p_O2 = 6e5 //Pa //pressure of O2
T_O2 = 27... |
cbfda8b63101ccfb35f3d1b30d4bb7672b107fa6 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/signal/casc.sci | ea4a205d71b290d813fa777a08e63a1c63fc9593 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,084 | sci | casc.sci | function cels=casc(x,z)
//cels=casc(x,z)
//Creates cascade realization of filter
//from a matrix of coefficients
// x :(4xN)-Matrix where each column is a cascade
// :element, the first two column entries being
// :the numerator coefficients and the second two
// :column entries being the denomina... |
07f2bc6651e057bae85aed9857a7925d4f6fa8d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH1/EX1.2/Ex1_2.sce | 93bce59027ba6dbfbe637229443ce349a7fb94c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 554 | sce | Ex1_2.sce | clc
d_r = 13.6e03 // Density of mercury in kg/m^3
g = 9.81 // Acceleration due to gravity in m/s^2
z = 710e-03 // Steam flow pressure in m
z0 = 772e-03 // Reading of barometer in m
P = 1.4e06 // Gauge pressure of applied steam in Pa
P0 = d_r*g*z0 // Atmospheric pressure in Pa
Pi = P+P0 // Inlet steam pressure i... |
696097425ddaa8e3ebb7e531f4bf03ca4972a473 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH23/EX23.6/example6.sce | c85332b953d05faf9ab046998fee496d43d8db23 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 732 | sce | example6.sce | // find minimum trigger voltage,maximum capacitor voltage ,width of output pulse
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 23-6, page 918
clear;clc; close;
// Given data
C=0.47*10^-6;// capacitance in faraday
R=33*10^3;// resista... |
dd81f2cf2786b624421683c6a35ccd1fa454fe17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH25/EX25.21/Ex25_21.sce | 9bf45da76365edcdaa6c79a36db6f4a81c7029d1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | Ex25_21.sce | clear
//Given
M=0.075 //kg /mol
m=1.2*10**-6 //kg
A=6.0*10**23 ///mol
t=9.6*10**18
N=170
//Calculation
n=(A*m)/M
l=N/t
T=0.693/l
//Result
printf("\n Half life of K-40 is %0.3f *10**9 years",T/(24.0*3600.0*365)*10**-9)
|
5285508bd3f582058d3de6d27edb249f0c066376 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH34/EX34.6/ex6.sce | c05b69249fd39e5767e359f96f7895172f235b70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 715 | sce | ex6.sce | clear
clc
disp('the five digits can be arranged in 5! ways =')
factorial(5)
disp('of which 4! will begin with 0=')
factorial(4)
disp('so,total no. of five digit numbers=5!-4!=')
factorial(5)-factorial(4)
disp('the numbers ending in 04,12,20,24,32,40 will be divisible by 4')
disp('numbers ending in 04=3!')
fa... |
8451e9d4916307eaa108ffde29d59a80fc1fc35d | 449d555969bfd7befe906877abab098c6e63a0e8 | /689/CH8/EX8.5/5.sce | 284e76c7d9fa50f05c6fc4d87c2c47b20acfdd62 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sce | 5.sce | clc; funcprot(0);
//Example 8.5 Flying Level at Altitude
// Initialisation of variables
W = 2000;
S = 350;
V = 100*1.467;
rho = 0.002378;
// Calculations
Cl = 2*(W/S)/(rho*V^2);
alpha = -1.75; // From fig 8.15
Cd = 0.014; // From fig 8.15
D = Cd*(rho/2)*S*V^2;
HP = D*V/550;
// At 10000 f... |
db694dba7ada68ba8fddf1772f382decdccfe6d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH18/EX18.9/18Ex9.sce | ad01ff8a849b8a5cd4e729a45d002f1632d5a54e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 331 | sce | 18Ex9.sce | //chapter 18 Ex 9
clc;
clear;
close;
sTrain=54; tTrainP=20; tTrainM=12; sMan=6;
sRelative=(sTrain-sMan)*5/18; //Difference since opposite in direction
lTrain=sRelative*tTrainM;
lTotal=tTrainP*sTrain*5/18;
lPlatform=lTotal-lTrain;
printf("The length of train is %d m and length of platform is %d m",lTrain,lP... |
607efd49614d7c6aa9e32014ce13279207fc65f9 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/PPF_R15000_ModifiedArnoldi_VCS.tst | 8398797350082d7f47ab713fb87c569ffd0d073a | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 794 | tst | PPF_R15000_ModifiedArnoldi_VCS.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Linear stability with Velocity Correction Scheme and a half mode Ev = (2.4868e-03,1.5835e-01i) which corresponds to a multiplier of (1.00249,0.158351). Note without the restart file it need 1000's iterations</description>
<executable>IncNavierStokesSol... |
616e18d6e130dcd9e72b9d4dec405890b43ccdfd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/elem/smooth.sci | e36299a4daacefb6183aae3dbd6b4d286b30d3dd | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | sci | smooth.sci | function [pt]=smooth(ptd,pas)
//
[lhs,rhs]=argn(0)
[m,n]=size(ptd)
d=splin(ptd(1,:),ptd(2,:))
if rhs=1 then l=abs(ptd(1,n)-ptd(1,1));pas=l/100;end
pt=[ptd(1,1)+pas:pas:ptd(1,n)]
pt=[ptd(:,1) [pt;interp(pt,ptd(1,:),ptd(2,:),d)] ptd(:,n)]
|
0c96aaf09dea6283b6716c6826cda857a643bfd6 | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /scripts/tests/aerodata_interpolation_f16.tst | 41c8ad99d830f1915fe329ee69d2621bf0b9aa92 | [] | no_license | Jettanakorn/mcflight | 4e7d4e20976e8f3621bf13fec2a8b522ecfc49a9 | e6579a11e10c5e9ae9ee558f464a6b88e1ae7a26 | refs/heads/master | 2023-03-17T10:49:28.906700 | 2019-10-30T20:20:58 | 2019-10-30T20:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,965 | tst | aerodata_interpolation_f16.tst | //<-- NO CHECK REF -->
exec('eqm/aerodata_f16.sci');
angle_list = -8:4:12;
[S, K, DA, L] = angle_interp(angle_list, -8);
assert_checktrue(abs(S-1)<=1e-7);
assert_checktrue(abs(K-2)<=1e-7);
assert_checktrue(abs(DA+1)<=1e-7);
assert_checktrue(abs(L-1)<=1e-7);
[S, K, DA, L] = angle_interp(angle_list, -9);
assert_checktrue... |
4f566957d3419d5b4d3bef8839f9d4a3a0f56365 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH3/EX3.30/example_3_30.sce | e765749fda93b4263882e6fd0cbf4936797ad4b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 346 | sce | example_3_30.sce | clear;
clc;
disp("--------------Example 3.30---------------")
dBpkm= -0.3 ; // dB/km
p1=2; // 2 mW - initial power
distance = 5; // 5km
dB= dBpkm*distance; // loss in the cable in decibel
ratio=10^(dB/10); // dB=10*log10(ratio)
p2 = p1*ratio; // ratio = p2/p1
printf("The power of the signal at 5 km is %2.1f mW... |
a8178ee09c3fcbf4dbf0bf8cf95cd2b9b89beb17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3739/CH5/EX5.5/EX5_5.sce | 30baa4c53093b0962880a5fd9efa9ad87f21951c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | EX5_5.sce | //Chapter 5, Example 5.5, page 196
clc
//Initialisation
f1=2.5 //frequency in MHz
f2=6.3 //frequency in MHz
K=1.1 // K factor
//Calculation
fse=1.05*f1*2 //frequency in MHz ... |
5c542eb6a5c947af8054cfc9905f6e767e705a68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3482/CH5/EX5.11/Ex5_11.sce | d9639b512e3ee60648acf55ea69502745c389c5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 525 | sce | Ex5_11.sce | clc;
//page 263
n=3; // no of component
r=60;//mm, radius
l=100;//mm length of cylinder
V=[0.5*4/3*%pi*(r)^3,%pi*r*r*l,-%pi/3*r*r*l];//mm^3, Volumes of Hemisphere, cylinder and cone respectively
x=[-3/8*r,l/2,3/4*l];//mm, x components of centroids of Hemisphere, cylinder and cone respectively
sumV=0;
sumxV=0;... |
2c853a86e89f122cc390696aebde4486fef2e6ff | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/mtlb_isreal.sci | aab3b4c38061d8043b392ae271c372633ec78869 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 47 | sci | mtlb_isreal.sci | function [y] = mtlb_isreal(x)
y=(x==real(x))
|
0daa3e201fee65d71f0fcc0966ab74f8cbe4ef74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /291/CH5/EX5.2c/eg5_2c.sce | 024de4310fae7c319922916254096de6668cef9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 62 | sce | eg5_2c.sce | Xlam = 3.2;
i =2;
prob = cdfpoi("PQ", i, Xlam);
disp(prob) |
60b23ffd841fa53c62cd81167386e3d7e80ace0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH1/EX1.1/Ex1_1.sce | 65a480d9a598d70e32ea4b013fba05e9eb36e4a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | Ex1_1.sce | clc
horsepower=2.5 //rating of induction motor in horsepower at half load
Vl=230 //terminal voltage of motor in volts
Il=7 //load current of motor in amperes
pf=0.8 //power factor of the machine
Pin=sqrt(3)*Vl*Il*pf //input power in watts
mprintf("Pin=%f W\n",Pin)//The answer may vary due to roundoff error
... |
6bd1db5ddc7bcdf2b1abf0030bcfcd7bc9865a0f | 72ed3a953673247d1012d70ee21960621067598f | /projects/01/Buffer.tst | 74f2188206c45654e9e763e4ea5368a9bea233af | [] | no_license | arkss/randtotetris | 5e916af300a71de0dd3809ebe1ae80b7f527a8e9 | 5c07bc42542a341dabc055c20a5bda5c7b5c1cfb | refs/heads/master | 2020-05-14T00:31:54.323391 | 2019-06-22T14:56:29 | 2019-06-22T14:56:29 | 181,679,852 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 201 | tst | Buffer.tst | // Modified by Minho Kim (9 Oct 2014)
load Buffer.hdl,
output-file Buffer.out,
compare-to Buffer.cmp,
output-list in%B3.1.3 out%B3.1.3;
set in 0,
eval,
output;
set in 1,
eval,
output;
|
38d2df39ddd7cfd073fa1bf2e34820cd863eb136 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH4/EX4.a.5/Example_a_4_5.sce | a927701e35bfa02aa0fb64c404e5320c21002b70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 180 | sce | Example_a_4_5.sce | //Example_a_4_5 page no:177
clc;
Vrms=sqrt(5^2+(5^2/2));//the values are taken by comparing the given equation with rms equation
disp(Vrms,"the rms value of the waveform is");
|
13385f66c5b86713c1141b7605ddad3a5eb4baf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH12/EX12.12/Example12_12.sce | af7173a6b5dccf95bbfeae204cca70e00478bd26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,245 | sce | Example12_12.sce | //Example 12.12
//Program to determine the average incident optical power required to
//maintain given SNR
clear;
clc ;
close ;
//Given data
Lambda=1*10^(-6); //metre - WAVELENGTH
h= 6.626*10^(-34); //J/K - PLANK's CONSTANT
c=2.998*10^8; //m/s - VELOCITY OF... |
a8333b4d370a069008c364235af20ddf549b0cdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH13/EX13.17/Ex13_17.sce | 7c48c0a105b2adce456244607646fb697430072c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 177 | sce | Ex13_17.sce | //EX13_17 PG-13.10
clc
clear
printf("conversion of hexadecimal no 9B2.1A to its decimal equivalent =")
N=(9*16^2)+(11*16^1)+(2*16^0)+(1*16^(-1))+(10*16^(-2));
printf(" %.1f",N)
|
9a6b20ee6cf0d51ef49a6751c8932fe6ceba9a81 | 885ee700356ad98a29fe87d97751e692062de746 | /data/pos_exp/pos_data/turkish.high.tst | 7a47bb361ffa18affdfef1ed53bd85caecbc7221 | [] | no_license | LINGuistLIU/IGT | 1e58bfea1e7d70bdff507c67fa856c55af5bbdc2 | 8b9ca93189424118a669582ce54192bf441fcc6a | refs/heads/master | 2022-08-31T12:33:23.649666 | 2020-05-28T20:27:18 | 2020-05-28T20:27:18 | 267,152,155 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 42,333 | tst | turkish.high.tst | peynirli_pasta peynirli_pastalarınızı N;ACC;PL;PSS2P
bisküvi bisküvilerinizde N;LOC;PL;PSS2P
ön önlerine N;DAT;PL;PSS3P
sosluk sosluğunun N;GEN;SG;PSS3S
sürtük sürtüklerinde N;LOC;SG;PSS3P
muz muzlarımıza N;DAT;PL;PSS1P
seçmen seçmenlerinde N;LOC;PL;PSS3S
düldül düldüllerimi N;ACC;PL;PSS1S
güdüm güdüme N;DAT;SG
işkence... |
e09bf889e5b7dd902353edee4e0952f29be1a14a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH5/EX5.10/Ex5_10.sce | e372782826a3f3481d93cba002fc2a963b5a6e10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,366 | sce | Ex5_10.sce | clc
// initialization of variables
T1=300+273 // initial temperature in kelvin
P1=600 // initial pressure in kPa
P2=40 // final pressure in kPa
//solution
//please refer to steam table for values
v1=0.4344 // specific volume from steam table @ 573k and 600 kPa
v2=v1 // rigid container
u1=2801 // specific int... |
ea1e3407f290eb56e60580fae986931c42dfdb7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH5/EX5.3/Ch05Ex3.sce | d1a84bd03323499a616680b8febf5a244578702a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Ch05Ex3.sce | // Scilab code Ex5.3: Pg 158 (2005)
clc; clear;
h = 6.63e-34; // Plank's constant, J-s
lamda = 1e-10; // de Broglie wavelength of neutron, m
p = h/lamda; // Momentum associated with neutron, kg-m/s
m_n = 1.66e-27; // Mass of neutron, kg
e = 1.6e-19; // Energy equivalent of 1 eV, J/eV
K = p^2/(2... |
92be8ce8bebe8ccb0ef6bbc84e85f7a0d839cb89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.23/example8_23.sce | 4bd5eeeec09351ae9bac07c793134fff8dbd66c3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | example8_23.sce | //Chapter 8
//Example 8_23
//Page 193
clear;clc;
l=500;
w=1.5;
t=1600;
h2=90;
h1=30;
h=h2-h1;
printf("x1+x2=500 \n");
d=h*2*t/w/l;
printf("x2-x1=%.0f \n\n", d);
A=[1 1; -1 1];
b=[l; d];
X=A\b;
x1=X(1);
x2=X(2);
s1=w*x1^2/2/t;
cl=h1-s1;
x=l/2-x1;
smid=w*x^2/2/t;
clmp=cl+smid;
printf("x1 = %.0f m \n", x1);
printf("... |
65878e17338073ade5dcc7e0408a32d76233c0ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH6/EX6.7/Exa6_7.sce | 273dbda8e30b23eb60358c90d379aee691d4918e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,036 | sce | Exa6_7.sce | //Exa 6.7
clc;
clear;
close;
//given data
R1=2.1;//in Mohm
R2=270;//in Kohm
RD=4.7;//in Kohm
RS=1.5;//in Kohm
VDD=20;//in Volt
VP=-4;//in Volt
IDSS=8;//in mA
//step 1 : Find VGS :
VG=R2*10^3*VDD/(R1*10^6+R2*10^3);//in Volt
disp("VS=ID*RS-VGS Volt");
disp("VGS=VG-VS=2.28-1.5*ID")
//step 2 : Find ID :
di... |
6cfaaca7c3bbcf7390265b8c15c60d92a0bcabf6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH7/EX7.7/ex7_7.sce | 2e867bb790c9ac04847295c9e6ce0e02214751f1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | ex7_7.sce | //Communication Techniqu;es : example 7-7 : (pg 314)
NF=20;
df=10^6;
x=10*log10(df);
S=-174+NF+x;
a=5;//input intercept
dr=2/3*(a-S);
printf("\nS = -174dBm + NF + 10log10df + S/N = %.f dB",S);//sensitivity
printf("\ndynamic range = 2/3.(input intercept-noise floor) = %.d dB",dr); |
73bb29cb91be7a3719663e6fd463e97b2a586267 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH10/EX10.4/Ex10_4.sce | 6a861a5eab2771ced2e4744c5934755c3a98e1be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Ex10_4.sce | //Ex10_4 Pg-518
clc
R1=1.5*10^(3) //resistor R1 in ohm
Rf=75*10^(3) //feedback resistor in ohm
Vin=10*10^(-3) //input voltage in V
funi=1*10^(6) //unity frequency in Hz
Acl=(-1)*Rf/R1 //closed loop gain
printf("Magnitude of Closed loop gain = %.0f \n",abs(Acl))
fcl=funi/abs(Acl) //closed loop frequency
p... |
d7c7873c0c8f3faf2bcdfbbe741cfac5f46b0139 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH9/EX9.9/Ex9_9.sce | 42dd18311fee78f8f22497871f9e7c60cc689ed5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 892 | sce | Ex9_9.sce | clc
// initialization of variables
// The reaction equation is
//C3H8 + 5O2---> 8CO2 + 4H2O
// All the enthalpy of formation values are taken from Table B.5 with units in kJ/mol
hfCO2=-393520 // enthalpy associated with CO2
hfH2O=-241820 // enthalpy associated with gaseous H2O
hfC3H8=103850// enthalpy of fo... |
5b5ad360ef219071454b30f9f6b3767fb664f92d | 449d555969bfd7befe906877abab098c6e63a0e8 | /73/CH2/EX2.8/Example2_8.sci | 02b0a38d7341d397a5e8f1315e20bb80d8ae56ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sci | Example2_8.sci | //Chapter 2_Thick Film and Thin Film Hybrid ICs
//Caption : Thickness
//Example2.8: The bulk resistivity of nichrom is 120uohm-cm. Calculate the thickness T in angstroms of a film with sheet resistivity of 100ohm/square.
// Solution:
function T=thickness(Ps,p)// Ps: sheet resistivity of nichrom=100ohm/square, p:bu... |
9bae18cd53ecf38e9d9378a70234f1eeee80b464 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.7.1/Ch04Exa4_7_1.sci | 13dca071a91873fde9d5f224001554dad02c9237 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 548 | sci | Ch04Exa4_7_1.sci | // Scilab code Exa4.7.1: To calculate the energy and power released during fission of U-235 : Page 189 (2011)
m = 0.001; // Mass of U-235 lost during fission, Kg
c = 3e+08; // Velocity of light, m/s
E = m*c^2; // Energy released during fission, J
E_t = E/(4e+09*1000); // Energy requires TNT, Kt
printf("\n Energy... |
758710fe531d48b5b75e4391dd02c44437d77ad4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH16/EX16.7/Ex16_7.sce | aa5299c18c7e1879df586f50449fdd355ea0e57c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Ex16_7.sce | clc();
clear;
//Given :
v = 343; // velocity of sound in m/s
lambda = 1; // wavelength in cm
// 1 cm = 1.0*10^-2 m
f = v/(lambda*10^-2); //frequency in Hz
printf("Frequency is %.1f kHz",f*10^-3);
|
47979b0c5f125fd342dae51b4972baeff7806d2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH4/EX4.10/ex4_10.sce | caf44992a1eb8aad391ed4506d82eb7de23f78a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | ex4_10.sce | // Exa 4.10
clc;
clear;
close;
format('v',8)
// Given data
V1 = 10;// in V
V2 = 5;// in V
I1 = 5.8;// in mA
I2 = 5;// in mA
delV_C = V1-V2;// in V
delI_C = I1-I2;// in mA
r_out = delV_C/delI_C;// in k ohm
disp(r_out,"The dynamic output resistance in k ohm is");
|
f3f75751338a6fc051b30dc8eae24ffa78e068f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH6/EX6.1/Ex6_1.sce | b8fa4fa12e98add56ad3c155a7068dd0ceab052c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 663 | sce | Ex6_1.sce | // Example 6_1
clc;funcprot(0);
// Given data
V=300;// ft/s
D=6/12;// ft
R=D/2;// ft
Z=15;// ft
g=32.174;// ft/s^2
g_c=32.174;// lbm.ft/lbf.s^2
// Calculation
// From the superheated steam table, Table C.3a in Thermodynamic Tables to accompany Modern Engineering Thermodynamics, we find that, at 100. psia an... |
6b07c0581934a52c6d004ae22a834dd875a14d5a | 244971ae8af51184d278cdc2be1c80775413adae | /SSSeIQcohrec2pol.sci | 0d3e4adea2be510559f6cd4dc547ab5c988b608e | [] | no_license | MSCA-SIMFREE/748767 | 5879f1f139b608c7cd2f1bd62325b281c9c1e7d1 | 4726206e514f1e47e939e73b9339c056057866db | refs/heads/master | 2020-12-27T15:21:13.646362 | 2020-02-03T11:40:00 | 2020-02-03T11:40:00 | 237,951,088 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 974 | sci | SSSeIQcohrec2pol.sci | // The code was developed under Horizon2020 Framework Programme
// Project: 748767 — SIMFREE
function [zX,zY] = SSSeIQcohrec2pol(X,Phet)
// Coherent receiver of X and Y polarized optical signals
//
// Calling Sequence
// [zX,zY] = SSSeIQcohrec2pol(X,Phet)
//
// Parameters
// X : Optical... |
e85790cfb991317720fd6f49e305d29e7292b32e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH9/EX9.56/Ex9_56.sce | 4f9117c76c5f60cfc83805646da0c762f60aa237 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | Ex9_56.sce | //Caption: Information capacity
//Example 9.56
//page no 444
//Find Information capacity of telephone
clear;
clc;
B=3.4*10^3;
SNR=30
SN=10^(SNR/10);
C=B*log2(1+SN)//Information capacity
printf("Information capacity of telephone is \n\n \tC = %.2f kbps",C/1000);
|
cfeb448d25f5e0bda9bb17def73d74925ef97533 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH8/EX8.2/8_2.sce | 9c6bdcb644d3b499ae3925bc318dbcbb6537fcee | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 399 | sce | 8_2.sce | clc;
h1=3442.6;
s1=7.066;
s2=s1;
sf2=0.391;
sfg2=8.13;
x2=(s2-sf2)/sfg2
hf2=112;
hfg2=2438;
h2=hf2+x2*hfg2;
h3=112;
W12_=h1-h2;
Q=h1-h3;
Ceff=(h1-h2)/(h1-h3);
disp(Ceff,"cycle efficiency is:");
ssc=1/(h1-h2);
disp("kg/kW h",ssc,"specific steam consumption is:");
disp("cycle efficiency has increased due to superhe... |
4d568b1f8a8f1e4910070e308776000ad79e47a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /317/CH18/EX18.12/example12.sce | f9e3bc5856c7965c720867a481a1af7a702a4933 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 839 | sce | example12.sce | // find ac output voltage
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 18-12, page 687
clear; clc; close;
// Given data
Rf=100*10^3;// in ohms from the given figure
R1=20*10^3;// in ohms from the given figure
R2=10*10^3;// in ohms f... |
20d2700eb567a00f536398a02b173b0e067076d4 | 9fd700113e21acbb9d3cef5e6010e7f37656b6e6 | /3/Reg16Bit.tst | 88fafc98a4d1be277e0ab93647de0e3da0036b9f | [] | no_license | madhav543/cs16b025_lab | 01432fe8d0fbacf4dafe5189413943ec48afaed4 | 4924ea918b9b4dc6eb22b713e639204c9e59c697 | refs/heads/master | 2020-07-11T22:44:32.575114 | 2019-11-19T16:06:12 | 2019-11-19T16:06:12 | 204,659,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,446 | tst | Reg16Bit.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/03/a/Reg16Bit.tst
load Reg16Bit.hdl,
output-file Reg16Bit.out,
compare-to Reg16Bit.cmp,
output-list time%S1.4.1 ip1%D1.6.1 load%B2.1.2 out%D1.6.1;
set ip1 0,
set ... |
90475081ad2e77ea717982d9d6a518309c4a0a70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH4/EX4.5/4_5.sce | 9f258b56bb6910a43c8d6ddaf64997a20a6eee6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | 4_5.sce | clear all; clc;
disp("Ex 4_5")
disp("u = 0.3841i - 0.5121j + 0.7682k")
a1=acos(0.3841)
a=a1*180/%pi
printf('\n\nalpha = %.1f degrees',a)
b1=acos(-0.5121)
b=b1*180/%pi
printf('\n\nbeta = %.0f degrees',b)
c1=acos(0.7682)
c=c1*180/%pi
printf('\n\ngamma = %.1f degrees',c)
|
94f4ec2996714fd7674c4c89dbfd656f6dfe09dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH3/EX3.24.c/EX3_24_C.sce | bec5984b78d91baeb9a0ab704293ac3e39e38609 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sce | EX3_24_C.sce | //Example 3.24.C
clc;
Syms s t;
x=laplace((1+0.5*exp(-6*t)+0.2*exp(-3*t)),t,s);
disp(x);
|
cfc78ccc7618e7da006dfcceb9939ca43d878550 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH10/EX10.1/10_1.sce | 7e9579e80e5fc618852c097915382ff5c1d1ae51 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | 10_1.sce | //Example 10.1
//System of Non Linear Equations
//Page no. 311
clc;clear;close;
deff('y=f(x)','y=x^2-exp(2*x)-4')
deff('y=f1(x)','y=2*x-2*exp(2*x)')
x0=0;e=0.00001
for i=1:10
x1=x0-f(x0)/f1(x0)
e1=abs(x0-x1)
x0=x1;
if abs(x0)<e then
break;
end
end
printf('\n\nThe solution of... |
d62361bfddc42ae3af2061989fe6fa3d2c2bfb77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH16/EX16.3/16_3.sce | 33236cf347315db17b83a35014f297813a6d888b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 276 | sce | 16_3.sce | clear;
clc
r1=.02
r2=.05
r3=.03
Ic1=100
Id1=180
Va=255;
Vb=250
dV=abs(Va-Vb)
Ia=(dV+(r1*0)+(r2*Ic1)+(r3*(Id1+Ic1)))/(r1+r2+r3)
Ib=-(Ia-(Ic1+Id1))
Vc=Va-Ia*r1
Vd=Vc-((Ia-Ic1)*r2)
mprintf("IA= %.0f A, IB=%.0fA, Vc=%.2f V, Vd=%.2f V", Ia, Ib, Vc,Vd)
|
ba8c344acf5ff85ae5c8485b5de425d55a570c98 | 4ddcc4e4acac0192329e4214a1fe13e7db9341ee | /Morse1.sci | 8940e3c443361dd3ba929611b2a37459c4e5dbfe | [] | no_license | Aditisharma1993/Introduction-to-Variational-Monte-Carlo-approach | ea9cf6c23061df50ba9db0d6fa023036a3957973 | 24a559cb8698ffa96617a5beb25ae3214464326c | refs/heads/main | 2023-02-04T08:38:25.562650 | 2020-12-27T15:21:30 | 2020-12-27T15:21:30 | 324,772,402 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,140 | sci | Morse1.sci | function [ECmInv,EeV] = HCl(var,J)
//Written by Aditi and O.S.K.S. Sastri
//var is vector consisting of De, b and Re values.
//Typical input for var for HCl is [5,1,1.27455]
//J is rotational quantum number.
//J = 0 gives pure vibrational levels
//J = 1 gives energy eigen values corresponding to
//first excit... |
3c51f7b1f42066c11528a898e0436196befbe7be | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH10/EX10.1/Ex10_1.sce | 31e74d3218947cba8d2591818273fd5bcfc2f0b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 390 | sce | Ex10_1.sce |
//calculating resistance of the shunt
i=20D-3 //current throught the coil
r=4 //resistance of coil
V=i*r
I=2 //total current to be measured
Is=I-i //current through shunt
R=V/Is //Ohm's law
mprintf("Resistance of the shunt=%f ohm\n", R)
//solving part (ii)
V=30 //voltage to be measured
R=V/i-r
mprint... |
08d32de31ada48d2141e93798bba315fcbf6c517 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH2/EX2.8.2/Ex2_8_2.sce | 2bc1b299de89af682636dcd09c7dd1f3083ab5c5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 877 | sce | Ex2_8_2.sce | clear
clc
M1=152.2;//molar mass of carbon in gm
T1=451.55;//melting point temp in K
T2=433.85;//melting point temp in K(for unknown compound)
w2=0.0386;//mass of unknown compound in gm
w1=0.522;//mass of camphor in solution in gm
R=8.314;//J/Kmol
DelHm_f=6.844;//in KJ
Kf=(((R*T1^2)/(DelHm_f*10^3))*(M1/1000))
... |
067a3015eeba38b29813b5970de4c566eef577e2 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Astronomy/Earth/_SUB/_CamMoveTools.SCI | b0b876a7ecdc7d8b0fc1a960640aab4aacdb3a1a | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 2,280 | sci | _CamMoveTools.SCI | function Cam_Init(vp)
{
vp.custom.cam_rotating=false;
vp.custom.cam_rotatingpos=false;
}
function Cam_Rotate(vp,newdir,durat)
{
vp.custom.cam_rotating=true;
vp.custom.cam_rotate_dir1=deref(vp.CameraDir);
vp.custom.cam_rotate_angle=vecangle(vp.CameraDir,newdir);
vp.custom.cam_rotdir=vecnorm(vp.CameraD... |
69228c5047f0e7115ef760a381692445dfed4cca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH4/EX4.2/ex_4_2.sce | 1770b660035c3450421eddd581ab9d69cb63c4b3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | ex_4_2.sce | //Example 4.2 : resistance of each coil
clc;
clear;
close;
//given data :
V=300; // voltage in volts
W=360; // power lost in one coil in watt
I=6; // current in A
R1=V/I;
R=V^2/W;
a=(1/R1)-(1/R);
r2=1/a;
disp(R,"resistance of 360W coil1,R(ohm) = ")
disp(r2,"resistance of second coil2,r2(ohm) = ")
|
a4961daa21c092b2ac718021766aef7bcffbcb18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH1/EX1.19/Ch01Ex19.sci | c578f60f8ad53ef6c4a3a0d165cbb259fa30f5fe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 677 | sci | Ch01Ex19.sci | // Scilab Code Ex 1.19 Miller indices of the crystal plane: Page-25 (2010)
m = 2; n = 3; p = 6; // Coefficients of intercepts along three axes
m_inv = 1/m; // Reciprocate the first coefficient
n_inv = 1/n; // Reciprocate the second coefficient
p_inv = 1/p; // Reciprocate the third coefficient
... |
b1d7f6c5cf78491fa3c23bea7fa3d433e226d617 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH6/EX6.3/6_3.sce | a808520dd357702317c656f5d6fb12ec345399fa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,305 | sce | 6_3.sce | clc
//ex6.3
R=1000/(2*%pi); //resistance
C=10*10^-6; //capacitance
f_B=1/(2*%pi*R*C); //half-power frequency
//the three parts of V_in are V_1=5*cos(20*%pi*t)+5*cos(200*%pi*t)+5*cos(2000*%pi*t)
//first component V_in_1
V_in_1=5*complex(cos(0),sin(0)); //V_in_1 phasor
w_1=20*%pi; //ome... |
8f11628119061784700246421e941aa37bee3b75 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/shiftdata/shiftdata16.sce | 2991f9920f1f9a798582d213feffe5ba06f447b7 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 98 | sce | shiftdata16.sce | //
x=[];
dim=2;
[x,perm,nshifts] = shiftdata(x,dim);
disp(x);
disp(perm);
disp(nshifts);
//output
|
963c1b8130cdc38570e40568771ad46e67fa46a4 | b762d5d85061b3dd84ccf900726db6098e257125 | /Trabalho Introdução a Engenharia/Trab/sexta_questao.sci | 959824325bec5d116bfcaa8aa4f274ffaf15e77e | [] | no_license | hugosousa111/scilab-studies | 8efdba8849fb49eeae6df35e2d9ffd3018bed313 | 5d1db65577683c8fe60bb81620f2281f04688c98 | refs/heads/master | 2020-12-20T18:14:07.202293 | 2020-01-25T11:35:28 | 2020-01-25T11:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sci | sexta_questao.sci | function [menor,medio,maior]=teste(x,y,z)
if x>y then
if y>z then
menor=z
medio=y
maior=x
elseif x>z then
menor=y
medio=z
maior=x
else
menor=y
medio=x
maior=z
end
elseif y>... |
2d9e39e86c042c58eb69959fa91af163cd57d081 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH4/EX4.17/Chapter4_Example17.sce | f095bd555cec1371c915fa634816eeaee259c9cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 970 | sce | Chapter4_Example17.sce | //Chapter-4, Illustration 17, Page 206
//Title: Steam Nozzles and Steam Turbines
//=============================================================================
clc
clear
//INPUT DATA
m=2;//Mass flow rate of steam in kg/s
W=130;//Turbine power in kW
U=175;//Blade velocity in m/s
C1=400;//Steam velocity in m/... |
60f0dabf352b58c412d554cf1a5598a43cf402ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.35/Ch02Ex35.sce | d59ffd16664cc1cdc82cb62b94ead462cb3eab3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 712 | sce | Ch02Ex35.sce | // Scilab Code Ex2.35:: Page-2.27 (2009)
clc; clear;
t = 3.8e-05; // Thickness of the transparent film, cm
mu = 1.5; // Refractive index of the transparent film
i = 45; // Angle of incidence of the light ray on the transparent film, degrees
lambda = 5700e-008; // Wavelength of light, cm
// As mu = sind(... |
bdeed5fede4fd564fec990ece5af263d3e6957ef | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/mtlb/%b_a_s.sci | 4c0d084ccdd58664858eec2ef5a6a98b46b86080 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 66 | sci | %b_a_s.sci | function r=%b_a_s(a,b)
// Copyright INRIA
A=zeros(a)
A(a)=1
r=A+b
|
cf6f490f499195bd02c35c070379b3669763e308 | 93640402789b9a9d07c82958f433765f1e2a8397 | /part 2/Mux8.tst | 0fe886a5681b830774e6adc16bf365ec783d66f2 | [] | no_license | Slayingripper/Z80-CPU | 7a6b71f9e59850c3d4492a7f1867f4e81be278ba | 451873966cf071f8088407300629994a8d33f13c | refs/heads/master | 2020-05-04T02:42:27.419333 | 2019-04-01T19:27:22 | 2019-04-01T19:27:22 | 178,932,396 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 592 | tst | Mux8.tst | // This file is adapted from part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
load Mux8.hdl,
output-file Mux8.out,
compare-to Mux8.cmp,
output-list a%B1.8.1 b%B1.8.1 sel%D2.1.2 out%B1.8.1;
set a 0,
set b 0,
set sel 0,
eval,
output;
set sel 1,
eval,
... |
1a1f45f160622cd8a92c9eda0b7bdd54426b6c1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.10/Ex5_10.sce | 552e5ef1960109392892a792bfa066732d460e9b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,239 | sce | Ex5_10.sce | clc;
v=6600; // rated voltage of motor
xs=20 ; // per phase synchronous reactance
p=500000; // VA rating of motor
il=p/(sqrt(3)*v); // rated armature current
vt=v/sqrt(3); // per phase rated voltage
disp('case a');
de=10; // load angle
c1=1;
c2=-2*vt*cosd(de);
c3=vt^2-(il*xs)^2; // coefficients of quadratic ... |
29f4767f0beeb37ede074b740c5d34343cdf791b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos/get_block_info.sci | fa96a03ce2bf5a2f4a2139c046378a9fc7e5d29b | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 1,837 | sci | get_block_info.sci | function txt=get_block_info(scs_m,k)
// Copyright INRIA
txt=[]
o=scs_m(k)
select o(1)
case 'Block' then
txt = standard_document(o,k)
txt=[txt;' ']
if o(3)(1)=='super'|o(3)(1)=='csuper' then
objet=o(3)(8)
infos = objet(1)
if size(infos(2),'*')==2 then
txt = [txt;'Super Block Documentation: '+... |
de0ad559396d34ad3ed37aabd03fb22fabeb7596 | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH5/EX5.2/ex2.sce | 72b88c81551dbd2d3457f3e6b291402edc1c7f2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 692 | sce | ex2.sce | //CHAPTER 5_ Force,Torque and Shaft Power Measurement
//Caption : Load cell
// Example 2// Page 295
disp("b=.2")
disp("h=.05")
disp("Sg=2")
disp("Rg=120")
disp("sig_f=150*10^6")
b=.2 //('enter the width of load cell=:')
h=.05 //('enter the thickness of load cell=:')
Sg=2;
Rg=120;
sig_f=150*10^6 //('en... |
468842579743dbe55ba806e3337a9fb7529f4d1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH2/EX2.8/exp2_8cpp.sce | febcc81ba0c5991281644cf511367ee66f95e24c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 536 | sce | exp2_8cpp.sce | clc
disp("example 2.8")
disp("the chronological load curve is plotted in fig 1")
a=[0 5 9 18 20 22 24] //time in matrix format
b=[50 50 100 100 150 80 50]//load in matrix format
for x=1:6
z(1,x)=((b(1,x)+b(1,x+1))/2)*(a(1,(x+1))-a(1,x))
end
e=sum(z);
printf("energy required required by the system in 24 hrs ... |
3780329ab5df9570482e7531655c921ae1111248 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH8/EX8.35/EX8_35.sce | 236ebf043976dba38632ce460a88362ae3f3d7bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 404 | sce | EX8_35.sce | //EXAMPLE 8-35 PG NO-552
R1=200;
R2=200;
R3=100;
Zoc=[R1*(R2+R3)/(R1+R2+R3)];
disp('i) IMPEDANCE (Zoc) is = '+string (Zoc) +' ohm ');
Zsc=(R1*R3)/(R1+R3);
disp('ii) IMPEDANCE (Zsc) is = '+string (Zsc) +' ohm ');
Zo=[Zoc*Zsc]^0.5;
disp('iii) IMPEDANCE (Zo) is = '+string (Zo) +'... |
fbf47e4d214a89658f095f2dbdc92b59a292b107 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH18/EX18.2/Ex18_2.sce | 87cc92e38dbb89bc893733e46b4681ac530f2c04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | Ex18_2.sce | //Ex18_2 Pg-945
clc
T=2000 //temperature in Kelvin
f=5*10^(14) // frequency in Hz
h=6.6*10^(-34) //planck constant
k=1.38*10^(-23) //Boltzmann constant
R=exp((h*f)/(k*T)) //ratio of spontaneous and stimulated emisson
printf(" R = %.2f*1e5",R*1e-5)
|
b7fb120c3b55db9ab0fb0bd67f2b4ea5ef716566 | ca10ed224d8cd7295e60f1c02ea92a812038e28e | /QR-hausholder.sci | ab36fa0f0acc0275496511b5cece796edabf346f | [] | no_license | Winchester12/matlab | f0a77c5eeaabe17b2f699468e8b4229ee71789c4 | 662098338d7b0f1a7a9ed9908202ef36c9d7bcbe | refs/heads/master | 2021-05-15T13:51:23.852649 | 2017-10-17T07:44:47 | 2017-10-17T07:44:47 | 107,234,797 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,444 | sci | QR-hausholder.sci | function [M1,M2, sing] = QRhausholder(M, n)
sing=%f;
eta = M(1,1);
for k=1:n//n
for i = k:n
if eta <= abs(M(i,k)) then
eta = abs(M(i,k))
end
end
sum=0;
sumM=0;
if eta == 0 then
M1(k)=0;
M2... |
e50da6688aef151e52df3d14e597c842601baa84 | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_getInfo.tst | 01ca41e7fea3baa84c548a7aee842f1a6f81c56b | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 84 | tst | ok_getInfo.tst | (get-info :authors)
(get-info :name)
(get-info :version)
(get-info :error-behavior)
|
e80e0a1f3904cae09c70adc5d4400b46655adc2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH5/EX5.2/example_5_2.sce | 925e68d2e32ce5e7fe7e42bf312fd43651fb8a44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,010 | sce | example_5_2.sce | //Chapter 5
//Example 5.2
//page 134
//To find voltage at the bus at the power station end
clc;clear;
base_MVA=5;
base_kV=33;
pf=0.85;
cable_impedance=(8+%i*2.5);
cable_impedance=cable_impedance*base_MVA/(base_kV^2);
transf_imp_star=(0.06+%i*0.36)/3; //equivalent star impedance of winding of the transformer
Zt=(trans... |
9362195e583e9a4025456e626b6fb49f4f3b17f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH12/EX12.19/example12_19.sce | c74ef8d3fe672f60f6a5c9a26e2dfe1b9f26d62c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | example12_19.sce |
clc
// Given that
m = 0.0001 // mass of Sr(90) in gm
t = 28 // half life of Sr(90) in year
t_ = 9 // time in sec
// Sample Problem 19 on page no. 12.38
printf("\n # PROBLEM 19 # \n")
printf("Standard formula used \n")
printf(" lambda = 0.693 / t_1/2 (Decay constant) \n del_N = N_0*lambda*t (disintegration of samp... |
347daedd5a11af4a197beb30637e096ffafd9224 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH15/EX15.1/15ex1.sci | 1f413dba16a682fdf9d905a6c6ed4bd24bf4995a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sci | 15ex1.sci | //0 denotes False and 1 denotes true
b=[0,1];
//binary operation + on the set of bits
for i=1:2
for j=1:2
k = b(i)& b(j);
disp(k)
end
end
//binary operation * on the set of bits
for i=1:2
for j=1:2
k = b(i)| b(j);
disp(k)
end
end
//unary operation ' on the set of bits
k=~b
clear;
D=[1,2,5,7,10,14,3... |
393d6eab636b8c32d240c53691ed825f4b527cda | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH13/EX13.23/13_23.sce | 8979893e1adc6115141326ccb872ff2d36346880 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,350 | sce | 13_23.sce | //To find speed, direction and torque
clc
//Given:
TP=144, TQ=120, TR=120, TX=36, TY=24, TZ=30
NI=1500 //rpm
P=7.5*1000 //W
eta=0.8
//Solution:
//Refer Fig. 13.30 and Table 13.25
//Calculating the values of x and y
//From the fourth row of the table, x+y = -1500 .....(i)
//Also, y-x*(TZ/TR) = 0, or -x... |
8c88f1aaf180959c856e83f45d394932fd36a84d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH18/EX18.11/example18_11.sce | c11af01621e1876babb3274f752cc59c0f66dc1f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 490 | sce | example18_11.sce | clc
// Given that
n = 200 // no. of turns
l = 0.5 // the mean length of iron wire in m
phi = 4e-4 // magnetic flux in Weber
a = 4e-4 // area of cross section in m^2
mu = 6.5e-4 // permeability of iron in wb/Am
mu_ = 4 * %pi * 1e-7 // magnetic permeability of space
// Sample Problem 11 on page no. 18.25
printf("\n # ... |
eddaf738cd374762606addbd2be6320e66690537 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH6/EX6.5/Ex6_5.sce | 4b540afc3d11202cea144d5077dcd403168c9e43 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 253 | sce | Ex6_5.sce | errcatch(-1,"stop");mode(2);//caption:Find resolution and voltage
//Ex6.5
N=3//bit of D/A convertor
V=5//full scale voltage(in V)
A=0.001//magnitude of accuracy
R=1/2^N
disp(R,'resolution(in V)=')
Ac=A*V
disp(Ac,'accuracy(in V)=')
exit();
|
bce9eefa0327d012673c0c87a1900e1d83b09eb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH5/EX5.2/exa_5_2.sce | 77e33d96681a359c698bc56c2002499c23bc08f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | exa_5_2.sce | // Exa 5.2
clc;
clear;
close;
// Given data
C_T1= 15; // in pF
Vb1=8;// in V
Vb2= 12; // in V
// As C_T proportional to 1/sqrt(Vb), and
// C_T1/C_T2= sqrt(Vb2/Vb1), so
C_T2= C_T1*sqrt(Vb1/Vb2);// in pF
disp(C_T2,"The value of C_T2 in pF is : ")
|
3a89b442bb795d8bc50b3197f88f4c91173e29ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH15/EX15.7/Example15_7.sce | b0c73386bd0c754bf7b92c1391d0fe8d18e7ccfd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 513 | sce | Example15_7.sce | //Example 15.7.
clc
format(6)
fo1=540*10^3
fo2=1650*10^3
L=1*10^-3
disp("Given L = 1 mH")
disp("fo ranges from 540-1650 kHz")
disp("The resonant frequency is given by")
disp(" fo = 1 / 2pi*sqrt(L*C)")
disp("Therefore, C = 1 / 4*pi^2*fo^2*L")
Cmax = 1 / (4*%pi^2*fo1^2*L)
x1=Cmax*10^12
disp(x1,"Wh... |
c609825fce09c01c6f313f7864a49b91e072b726 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH18/EX18.1/Example18_1.sce | a167136815ce0820b9bf8206645e405d0091f893 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Example18_1.sce | close();
clear;
clc;
//meter resistance 'rm', meter current 'Ifs', Maximum current to be measured 'I', Maximum voltage measured 'V'
rm = 5; //ohm
Ifs = 0.015; //A
//(i)
I = 2; //A
//resistance of shunt required 'Rsh'
Rsh = Ifs*rm/(I-Ifs); //ohm
mprintf("(i) Resistance of shunt, Rsh = %0.6f ohm\n\n",Rsh);
... |
1059c67b1edd953cf92f4b8e494cacf5375371f8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH9/EX9.1/Ex9_1.sce | 240c10aa467fa25cddda498f9d0e6c2306d05a19 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | Ex9_1.sce | //Example 9.1
m1=26.0;//Mass of 1st child (kg)
m2=32.0;//Mass of 2nd child (kg)
r1=1.60;//Distance of 1st child from pivot (m)
r_p=0;//Distance of supporting force of pivot from pivot (m)
g=9.80;//Acceleration due to gravity (m/s^2)
theta=90;//Angle (deg)
//Torque tau=r*(m*g)*sind(theta)
//Torque due to support... |
bd9de30a66b403c36884823a5d8a0156696b54da | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH14/EX14.5/Ex14_5.sce | 4943f73e0e04362a60ff7b3e09356287f2c5b22c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 242 | sce | Ex14_5.sce | clear
//Given
N=100
A=0.10 //m**2
f=0.5 //Hz
B=0.01 //T
//Calculation
//
w=2*%pi*f
E0=N*A*B*w
//Result
printf("\n Maximum voltage generated in the coil is %0.3f V",E0)
|
2c558e6046f5bd1803ba25b70ff8c630066c5d6e | 20e1ce60c516a737e583089b58739647749845ac | /test/page_rank_matrice_test.sce | 74f0aca8ceb7fe50146e12915afe6bf2c92109d4 | [] | no_license | idhd/projet-math | 83320adbb68bba0ae6e6dfcfaaa48146146af3e7 | a982b65947a2ed15d6b4340779c5645da2a03ed4 | refs/heads/master | 2020-06-04T22:03:10.736659 | 2011-06-03T22:38:03 | 2011-06-03T22:41:04 | 1,808,626 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sce | page_rank_matrice_test.sce | exec("lib/page_rank_matrice.sce");
M = bool2s(rand(500, 500)<0.5);
A = page_rank_matrice(M, 0.85) |
ad3af0ace6aca21bdce4a6305cd58ee23e37d6e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH10/EX10.2/10_2.sce | a40061a058231321ad6908851f5fdf5fa42f6758 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | 10_2.sce | //To find weight and coefficient of friction
clc
//Given:
P1=1500,P2=1720 //N
alpha1=12,alpha2=15 //degrees
//Solution:
//Refer Fig. 10.10
//Effort applied parallel to the plane, P1=W*(sind(alpha1)+mu*cosd(alpha1)), or P1/W-mu*cosd(alpha1)=sind(alpha1) .....(i)
//Effort applied parallel to the plane, P2=W*(s... |
dc7b0f0370f2615b3090f365e51481556481a2b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH2/EX2.8/ex2_8.sce | 13479bf831917408a0bff4c6baeba7876900fe73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 531 | sce | ex2_8.sce | //Chapter-2, Example 2.8, Page 95
//=============================================================================
clc;
clear;
//INPUT DATA
l=0.3;//length in m
d=1.5*10^-2;//diameter in m
N=900;//no of turns
ur=1;//relative permeability in free space
u0=4*%pi*10^-7;//permeability in free space
I=5;//current in... |
0dc0573a790cd009d10c582023202515e8b785a1 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.6_9.tst | c131575ff06a95848d22a5ec1103139f3ab6f717 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 7,299 | tst | bow.6_9.tst | 6 9:0.5 17:0.08333333333333333 18:1.0 21:0.09090909090909091 25:0.2 32:1.0 48:0.3333333333333333 83:1.0 185:1.0 221:0.5 242:1.0 368:1.0 593:1.0
6 6:1.0 17:0.16666666666666666 21:0.18181818181818182 23:0.3333333333333333 32:1.0 40:0.07692307692307693 44:0.017543859649122806 59:1.0 66:1.0 78:0.5 82:1.0 107:0.333333333333... |
e6ea25f126e159ae9af54d3fd59d66893c03eeba | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH3/EX3.2/Ex3_2.sce | a21d9bacbaecfef91af3a48f2c392e73986df838 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 833 | sce | Ex3_2.sce |
// Examle 3.2
w=0.2; // Energy stored
i=0.2; // Current
L1=(2*w)/i^2; // The value of Inductor Using case-1
disp(' The value of Inductor Using case-1 = '+string(L1)+' H');
v=10; // Voltage
di1=0.1; ... |
8d9bc32307a066b966ccd22e2a4f1c46eaf261a1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH12/EX12.25/Ex12_25.sce | 031708eb02cd9df347395650e3493bd166191b89 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Ex12_25.sce | //Chapter 12
//page no 493
//given
clc;
clear all;
R=800; //in V/W
Pin=1.5; //in mW
m=0.04;
Voutp=R*Pin*m;
printf("\n Vout(peak) = %0.0f mV",Voutp);
Vavg=Voutp/sqrt(2);
printf("\n Vavg = %0.1f mV",Vavg);
//in dB
Vavgd=20*log10(Vavg*10^-3);
printf("\n Vavg(in dBmV) = %0.1f ",Vavgd);... |
cf17b9c1b5d5a32d2ad0d4272939dc68e43031c9 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH3/EX3.6/Ex3_6.sce | 55d47f4695a5bbbfaa5de442e43bb6c7267bddfb | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 438 | sce | Ex3_6.sce | clc
//Initialization of variables
P1 = 1456 // lb/ft^2
d = 0.001756 //slugs/ft^3
V = 293 // ft/s
// Calculations
P11 = P1/144 //psi
P2 = P1 + (d*V^2)/2 // lb/ft^2
P22 = d*V^2/(2*144) //psi
D = P22 //psi
// Results
printf ("The static pressure at the altitude is %.2f psi",P11)
printf ("\nThe pressure in ter... |
a98571d1d8a318147f3d8d8c64973266e8e4a4e6 | 39b357bcd82af01ab069c0a12ca520c112ecd5fa | /mlt/presets/filter/dynamicText/large.tst | 1cc3b64718686f00c9d37ca4a8236db559cb321f | [] | no_license | 0TemetNosce0/moviemator_qml | 6963eed2d455e52b8c0e613fe3c3902c33423e2a | b0d2eaef84ab6d9b099deed8c2678d365c65cc88 | refs/heads/master | 2021-05-25T12:22:53.788915 | 2019-08-26T03:37:52 | 2019-08-26T03:37:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | tst | large.tst | geometry=-0.015625 0.127778 1.07656 0.575 1
shear_x=0
halign=center
valign=bottom
size=414
fgcolour=255 32 255 255 1
family=Impact
weight=500
olcolour=255 0 0 0 1
outline=0
bgcolour=0 0 0 0 1
pad=0
letter_spaceing=0
shadow_distance=0
shadow_angle=45
|
7debcb31e6e076be6860bacfd5294969c8b7996b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1208/CH4/EX4.13.4/Exa13_4.sce | 655b0522d5cd676a9c64fdbce14f9dadc028e15a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 324 | sce | Exa13_4.sce | //Exa 13.4
clc;
clear;
close;
//given data :
//initial cash outflows
ICO=80000;//in Rs.
//Total Present Value calculated in Exa13.3
P=97922;//in Rs
disp(P,"Total present value(in Rs) is : ")
//Profitability Index at 10% discount rate
PI=P/ICO;//unitless
disp(PI,"Profitability Index at 10% discount rate is ... |
9933c6f1fb3a3f8fa60f3bb69fa7b43ab85b9a33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH5/EX5.16/5_16.sce | e892fec452ce5f6b70e9d1ea1cb74651ba0e4283 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | 5_16.sce | clear;
clc;
R=45;L=1.2*(10^-3);G=5*(10^-6);C=0.065*(10^-6);w=20000;l=22*(10^-3);s=1.1;
pf=0.005//pf=power factor //value of pf as taken in solution
r=pf*w*L;
Rc=R+(r/s);
Lc=L+(l/s);
P=sqrt((Rc+(%i*w*Lc))*(G+(%i*w*C)));
theta=round(atan(imag(P),real(P))*180/%pi);
a=abs(P)*cos(theta*%pi/180);
printf("Attenuatio... |
bc473b2d9b4ca8f9c839494eacf32aae83c7b709 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH15/EX15.14/Ex15_14.sce | 6dbd4c652ad316488a3e916045d8b7d10c210ee5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,640 | sce | Ex15_14.sce | // Example 15_14
clc;funcprot(0);
// Given data
p=0.100;// MPa
T_a=298;// K
T_b=2000;// K
R=0.0083143;// MJ/kgmole.K
// Calculation
// (a)
gbar0_f_H2O=-228.583;// kJ/kgmole
// since H2 and O2 are elements, their molar specific Gibbs function of formation is zero. Then, from Table 15.7,
gbar0_f_H2=0;// kJ... |
24766d8ec939dcb365270fe246f04d45ba655eac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH4/EX4.5/ex4_5.sce | ac8a2dce30d4e48f1402849bc982d3f875e4ed73 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | ex4_5.sce | //AC Circuits : example 4.5 :(pg 4.6)
kf=1.2;
kp=1.5;
Vavg=10;
disp("kf=1.2");
disp("kp=1.5");
disp("Vavg=10");
disp("form factor kf=(Vrms/Vavg)");
Vrms=(kf*Vavg);
printf("\nVrms=%.f V",Vrms);
disp("peak factor kp=(Vm/Vrms)");
Vm=(kp*Vrms);
printf("\nVm=%.f V",Vm); |
6b2378de9d397524ee06802dbee3561ae0de8a77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH5/EX5.25/Ch05Ex25.sce | 008551ea40d7d9b9d33929233deb2b07a35ff09f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | Ch05Ex25.sce | // Scilab code Ex5.25: Pg 183 (2008)
clc; clear;
N = 400; // Number of turns in a coil
l = 0.25; // Effective length of coil, m
A = 4.5e-04; // Cross-sectional area, m^2
mew_r = 180; // Relative ... |
7a4b2a966f2943aa1a70a6e33e98377b1911ad65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH18/EX18.28/Ex18_28.sce | 5de7977fd99e065a44275544ae22ded5cd3f07dd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,132 | sce | Ex18_28.sce | // scilab Code Exa 18.28 centrifugal Air compressor
T01=335; // in Kelvin
p01=1.02; // Initial Pressure in bar
beta1=61.4; // air angle at the inlet of axial inducer blades
gamma=1.4;
N=7200; // rotor Speed in RPM
d1=0.175; // Mean Blade ring diameter at entry
d2=0.5; // impeller diameter at exit
cp=1005; //... |
4eacf8c8d0e3e42e755b4c7402947d517cf6a1b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH2/EX2.8/2_8.sce | 165a59f1d682ee366a4ca2243e35f3d5b1d02f85 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sce | 2_8.sce | clear all; clc;
disp("Ex 2_8")
f=100
b1=60//given angle theta in degrees
b=b1*%pi/180
g1=45//given angle theta in degrees
g=g1*%pi/180
p=sqrt(1-(cos(b)^2)-(cos(g)^2))
p1=p*(-1)
printf('\n\ncos(alpha) = + or - %.1f',p)
l1=acos(p)
lf=l1*180/%pi
l2=acos(p1)
lf1=l2*180/%pi
printf('\n\n alpha = %.0f degrees or %.0f degrees'... |
a7f58cf76d0fb237a50ca36d726028ab3fbd1242 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH9/EX9.18/9_18.sce | e4c6b47e30c52062ae3b70f5f7368aacab962a71 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | 9_18.sce | //Compute moment of inertia
//refer fig. 9.43
Ixx=((125*60^3)/36)+(125*(60/2)*(60+60/3)^2)+((125*60^3)/36)+(125*(60/2)*(2*60/3)^2)+((125*60^3)/36)+(125*(60/2)*(60/3)^2)+((125*60^3)/36)+(125*(60/2)*(60/3)^2) //mm^4
printf("Ixx=%.2d mm^4",Ixx)
|
61aa2147b9eb779c871654d14915a12814a3cdad | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/Computing/testexo2b.sce | 7274a86722b86e4e109a85f8c0716d4c6cfa3f88 | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 191 | sce | testexo2b.sce | n=6;m=5;
L=([1:n]')*ones(1,m); // line number
C=ones(n,1)*[1:m]; // column number
// N = matrix of element positions
N=L+(C-1)*n // method 1
N=zeros(n,m);N(:)=[1:n*m] // method 2
|
01b7ca2c49ceedc8256ccbe5cab248b39b388a27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.33/Ex4_33.sce | a0d8da52e800be6cf8b5019c6de6506ff274a8c4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | Ex4_33.sce | clear
//
//the eqns are formed using the given diagram
//the derivations from the eqns are obtained as below using matrices for their construction
//the below eqns are in polar form
delta=0.3165
delta1=5.95
delta2=6.82
v1=delta1/delta
printf("\n v1 at -47.63 is= %0.1f V",v1)
v2=delta2/delta
printf("\n v2 at -42.30 is=... |
38a5086b5f0e625a1582fccd80f76f3b1b041fcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH7/EX7.5/Ex7_5.sce | 0600011c23ee52676c7d3ed0d10c092959490696 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 639 | sce | Ex7_5.sce | //Example 7_5 page no:263
clc;
Vmag=50;
Vang=0;
Rmag=9.22;
Rang=77.47;
Imag=Vmag/Rmag;
Iang=Vang-Rang;
V1mag=5.42*5.38;//voltage across (2+j5)ohm
V1ang=-77.47+68.19;
I2mag=(20*4)/9.22;
I2ang=120-77.47;
V2mag=I2mag*5.38;//voltage across (2+j5)ohm due to current I2 is
V2ang=42.53+68.19;
V1rel=V1mag*(cosd(V1... |
4b2ac4d0fb6204c421d7c98bfa653d296c4ca2f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.105/EX2_105.sce | 5f831c5027a26c23f53b87ce13d5cbc1d4680a5e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 444 | sce | EX2_105.sce | //EXAMPLE-2.105 PG-NO143
N1=250; //number of turn
I1=2; //current
Q1=0.3*10^-3; //phi
L1=(N1*Q1)/I1;
V2=63.75;
K=0.85;
x=10^3; //x=di/dt
M=V2/x;
L2=((V2/K)^2)/((37.510^-3)^0.5);
Q12=0.255*10^-3;
y=1.275*10^-7; //y=dQ12/dt
N2=V2/y
;
disp('i) L1 = '+st... |
888c7fcbe629abedd60258e3550e00da21c83acc | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH10/EX10.6/example10_6.sce | 066db230944e55874fc2bcaac37fc88d104ce2e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | example10_6.sce | vb=13.2;
vg=14.4;
rb=0.5;
rg=0.1;
i=(vg-vb)/(rb+rg);
vrb=i*rb;
vth=vb+vrb;
rth=rb*rg/(rb+rg);
disp("Part a");
rl1=1;
i1=vth/(rth+rl1);
disp("current (in A) through the load resistor is"); disp(i1);
disp("Part b");
rl2=2;
i2=vth/(rth+rl2);
disp("current (in A) through the load resistor is"); disp(i2);
di... |
f4f9f37a50df541acb3afb5dd0d18b4ee043bfcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2054/CH3/EX3.14/Exa3_14.sce | 3e7c6ec349fda95fc52dde611ec90bbfea69a6b0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 227 | sce | Exa3_14.sce | //Exa:3.14
clc;
clear;
close;
V_dc=125;//in volts
V_a=200;//average output voltage (in volts)
T_on=1*10^-3;//in seconds
alpha=V_a/(V_a+V_dc);//duty cycle
f=alpha/T_on;
disp(f,'Frequency Of Switching pulse (in hertz)=') |
a37bde3f5af404ce8b87c05b01559951bb3d3add | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.18_3.tst | 804fad013571efad39ab00df64b5bcd68f396cb0 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 29,367 | tst | bow.18_3.tst | 18 6:0.058823529411764705 17:0.3333333333333333 34:0.375 42:0.5 82:0.16666666666666666 95:1.0 97:1.5 114:2.5 147:0.5 150:0.06666666666666667 153:1.5 206:1.0 215:0.2 219:0.6666666666666666 238:0.2857142857142857 441:1.0 534:2.0 549:1.0 641:1.0 648:1.0 717:1.0 718:1.0 878:1.0 1102:1.0 1424:1.0 1448:1.0 1572:1.0 1992:1.0 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.