blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7577334eb71ce198b2bfa88eba5a38efd3ca6157 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2213/CH4/EX4.11/ex_4_11.sce | e02a77ff2a695755325f4d121ac9d4965a53fde8 | [] | 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 | 431 | sce | ex_4_11.sce | //Example 4.11 //total flux and average luminane of the sphere
clc;
clear;
close;
format('v',6)
th=15;//in degree
l=400;//candela
d=8;// meter
p=0.80;//in percentage absorption
Fe=p*4*%pi*l;// flux emitted by the globe in lumens
dA=d*tand(th/2);//diameter in degree
sa=%pi*(dA)^2;//surface area in m^2
als=Fe/sa;//avera... |
f9914034801ae56119a2699cd43c85a2b2366552 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH10/EX10.4/Chapter10_example4.sce | 8b93d9cdc806d1d8b59d372e431da0df3a735234 | [] | 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 | 866 | sce | Chapter10_example4.sce | clc
clear
//Input data
s=20;//Spray penetration in cm
t1=15.7;//The spray penetration of 20 cm in ms
pi1=150;//The injection pressure in bar
pi2=450;//The injection pressure to be used in bar
p2=15;//The combustion chamber pressure in bar
d1=0.34;//The diameter of the orifice in mm
s1=20;//The penetration for ... |
9719f2fbd91eb1e9ba2be825c0621c87e27cf237 | 38e8e14fb76356e30e0514d57850ba6793381836 | /TP1_Exercice4.sce | 7e19fb21015ad470b79ab1a7c06ef053d75bb6cc | [] | no_license | VCOUTURIER-MADNOT/Maths | d2bcf7d0c923f5ad97f1bf79c22f62ef76f95340 | 7dd5fcce241a9d01de3cbe3541f0fafd76237c05 | refs/heads/master | 2020-04-15T22:49:40.613661 | 2013-10-24T16:16:00 | 2013-10-24T16:16:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 148 | sce | TP1_Exercice4.sce | function [x] = fourierGibbs(t, N)
x = zeros(t);
for p = 0:N
x = x + (1/(2*(p+1))) * sin((2*p + 1) *t);
end
x = 4/%pi * x
endfunction |
0fd5755974fd024683731bea27e4818365656ec5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH17/EX17.11/17_11.sci | 2a599a04db87641d00c4044d45e67c381111c9c4 | [] | 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 | sci | 17_11.sci | //function//
A=[0 1;-6 -5]
x=[1;0];
disp(x,"x(t)=')
s=poly(0,'s');
[Row Col]=size(A) //Size of a matrix
m=s*eye(Row,Col)-A //sI-A
n=det(m) //To Find The Determinant of si-A
p=inv(m) ; // To Find The Inverse Of sI-A
syms t s;
disp(p,"phi(s)=") //Resolvent Matrix
for i=1:Row
for j... |
c1821f8252e1deba2df77d0ff2ca4d8a5de1f87c | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%s_f_r.sci | 5ef6c1ee9e5cd5db091d23207df3d674a44652f3 | [
"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 | 104 | sci | %s_f_r.sci | function f=%s_f_r(m,f)
// [m;f]
//!
// Copyright INRIA
f=rlist([m;f('num')],[ones(m);f('den')],f('dt'))
|
3dd8662ef5b369c01d94735ba14aa5413b26ffa1 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/zeros.man.tst | f1fd3afb7edcaef31c1d58303a194f8964238502 | [
"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 | 36 | tst | zeros.man.tst | clear;lines(0);
zeros(3)
zeros(3,3)
|
8597ae34c6e44eee2f91e55238548f7f69eb81c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH24/EX24.4/ch24_4.sce | 4387211338416dd0f70a9557a729c9d5597c4639 | [] | 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,108 | sce | ch24_4.sce | // illustrate the dynamic programming for preparing an optimal unit commitment.
clear
clc;
function[F1]=F1(P1)
F1=7.1*P1+.00141*(P1^2)
mprintf("F1(%.0f)=%.1f\n",P1,F1);
endfunction
function[f2]=f2(P2)
f2=7.8*P2+.00195*(P2^2)
mprintf("f2(%.0f)=%.0f\n",P2,f2);
endfunction
function[F]=F(P1,P2)... |
fc06b0dc3b59154e8d4196f7f333106a34fd3d43 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/ident/scilab/pacf.sci | a4a066149de9693b51aed2c4359872be6341ff05 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sci | pacf.sci | // Updated(4-8-07)
// 6.10
function [ajj] = pacf(v,M)
[rvv,rvvn] = xcovz(v); // Normalized
len = length(rvvn);
zero = (len+1)/2;
rvvn0 = rvvn(zero);
rvvn_one_side = rvvn(zero+1:len);
ajj = [];
getf pacf_mat.sci;
for j = 1:M,
ajj = [ajj pacf_mat(rvvn0,rvvn_one_side,j,1)];
end
p = 1:length(ajj);
N = len... |
03170386761e136f680867e02c06c457ec25375e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH3/EX3.17/Ex3_17.sce | f232296ec64a5c058700a99cf44483d9a42b1459 | [] | 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 | Ex3_17.sce | //Reactions developed in cantilever beam
//Refer fig. 3.44 (a)&(b)
//assumptions are made as shown in fig. 3.44 (a)&(b)
//applying equilibrium conditions
VA=15+(10*2)+(20*sind(60)) //kN
HA=20*cosd(60) //kN
//Taking moment about A
MA=10*2*1+20*2*sind(60)+15*3 //kN-m
printf("Required values:-\nVA=%.2f kN\nHA=%... |
e609e62fcef8f82eddbe0daa615c866cf841f940 | 449d555969bfd7befe906877abab098c6e63a0e8 | /839/CH10/EX10.5/Example_10_5.sce | df4ce5e9fd0375ad2c5b1c98d147a45fd398449c | [] | 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 | 356 | sce | Example_10_5.sce | //clear//
clear;
clc;
//Example 10.5
//Given
Ts = -20; //[C]
Ta = 5; //[C]
T = 0; //[C]
t = 12; //[h]
alpha = 0.0011; //[m^2/h]
//(a)
Temp_diff_ratio = (Ts-T)/(Ts-Ta);
//From Fig.(10.8),
Z = 0.91;
//therefore depth
x = Z*2*sqrt(alpha*t) //[m]
//(b)
//From Eq.(10.27), the penetration distance is... |
c80cb6dce92d20dfcc1d5f359b7f79cf9e5af9af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH34/EX33.19/EX33_19.sce | ba1dc1cd9047b3af8c12abe48013e027286e2165 | [] | 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 | 340 | sce | EX33_19.sce | // Grob's Basic Electronics 11e
// Chapter No. 33
// Example No. 33_19
clc; clear;
// Calculate the cutoff frequency, fc.
// Given data
Ri = 1*10^3; // Input resistance=10 kOhms
Ci = 0.1*10^-6; // Input capacitance=0.01 uFarad
fc = 1/(2*%pi*Ri*Ci);
disp (fc,'The Cutoff Frequency in Hertz')
disp... |
d9a6ac0188a3240e1d44126e0701c205f0910e57 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH2/EX2.3/2_3.sce | 04bfcc746b38d0fa60fe7116c410b050947fb000 | [] | 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 | 2_3.sce | clear;
clc;
//Example - 2.3
//Page number - 42
printf("Example - 2.3 and Page number - 42\n\n");
//Given
//log10(Psat)=8.1122-(1592.864/(t+226.184))// 'Psat' in [mm Hg] and 't' in [c]
Tc = 513.9;//[K] - Critical temperature
Pc = 61.48;//[bar] - Critical pressure
Pc = Pc*10^(5);//[N/m^(2)]
Tr = 0.7;// Redu... |
c37687805de70a7e80591a4c0d5fd9644dc73d40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH7/EX7.4/Ex7_4.sce | e68d41c10c53ec2b205b7a4f90fb236b93c1c79f | [] | 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 | 406 | sce | Ex7_4.sce | // Example 7_4
clc;funcprot(0);
// Given data
m=1.5;// kg
x_1=0;// The dryness fraction
T_1=20.0;// °C
p_1=0.10;// MPa
p_2=0.10;// MPa
c=4.19;// kJ/kg.°C
// Solution
T_2=T_1;// °C
deltaS=c*log(T_2/T_1);// kJ/kg.K
printf('\nThe change in specific entropy of the water,s_2-s_1=%0.0f.Consequently, the entropy... |
3394a628e8e784237a28d72e0bc3c2b9224207fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH10/EX10.5/10_5.sce | 008730c570d670d0cca6a06adb4be3afa4f3a3be | [] | 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 | 586 | sce | 10_5.sce | //To find the torque required
clc
//Given:
D=150/1000 //m
ps=2*10^6 //N/m^2
d0=50,p=6 //mm
mu=0.12
//Solution:
//Calculating the load on the valve
W=ps*%pi/4*D^2 //N
//Calculating the mean diameter of the screw
d=(d0-p/2)/1000 //m
//Calculating the helix angle
alpha=atan(p/(%pi*d*1000))
//Calculating the ... |
7d9b328ca30f3c2a87284cfa925ac3ee643bc59b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH1/EX1.9/1_9.sce | 59b35ced802872e30f93a9a6b7c195cd4463cadb | [] | 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 | 176 | sce | 1_9.sce | clc
//initialisation of variables
l= 2 //ft
b= 3 //ft
h= 8 //ft
w= 62.4 //lbs/ft^3
//CALCULATIONS
P= w*l*b*(h+(b/2))
//RESULTS
printf ('total pressure = %.f lb ',P)
|
b1ec4c15cbae93a0f7effe827a741633315db07c | d65667bd6da157e725e5083a95c7a5e3c5e50371 | /hdf5/.svn/pristine/b1/b1ec4c15cbae93a0f7effe827a741633315db07c.svn-base | 49ce52f2c7ef0f989e1f5ab4881e91d66a68cb41 | [] | no_license | DCC-Lab/Umuco | 4748640ddd5869f193303057445fccbf2e1cc6c5 | 41c38cd6c8e8d771708959eb02c9dee054148cbc | refs/heads/master | 2020-08-07T01:11:31.456247 | 2019-02-24T18:16:16 | 2019-02-24T18:16:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 76 | b1ec4c15cbae93a0f7effe827a741633315db07c.svn-base | Filter type is: H5Z_FILTER_DEFLATE_F
Maximum value in DS1 is: 1890
| |
f25079ea2da6babd7a797267baa323c270375f6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH4/EX4.13/ex4_13.sce | 680cc5eee215fc078baa8f60515987b6a3608148 | [] | 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 | 218 | sce | ex4_13.sce | //chapter 4
//end fire array
printf("\n");
n=10;
d=0.25;
lamda=1;//assume
Gdmax=4*n*d;
Gdmaxdb=10*log10(Gdmax);
printf("the directive gian is %d",Gdmax);
printf("\nthe directive gain in db is %ddb",Gdmaxdb);
|
b9e8eebc518e7d080a5d64f4022d120cefc34d0a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/examples/addinter-examples/ex7f.sce | 582ce33d6ec5c1cacc9d6bda8b1d500a91bad142 | [
"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 | 309 | sce | ex7f.sce | // Copyright INRIA
files=G_make(['/tmp/ex7fi.o'],'ex7f.dll');
addinter(files,'intex7','pipo');
//pipo(2) ==> error since g_abs is not defined
deff('z=g_abs(x)','z=abs(x)+a') //Now g_abs is defined
a=33;
y=pipo(33)-34; //goes into Fortran interface ex7fi which calls g_abs
if y<>32 then pause,end
|
64f5b7f6aa0196b4bdcac0b886655ab75f468fa7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2855/CH1/EX1.7/Ex1_7.sce | 6130a7d1a9b93faff364ff9897df4e21e426fa3d | [] | 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 | 436 | sce | Ex1_7.sce | //Ex1_7
//given
//page no 12
clc;
clear;
disp('Solution (i)');
c=3*10^8; //in m/s speed of light
l=640; //in nm
u=2.2*10^8; //in m/s
lm=u*l/c; //wavelenth in medium
printf("\n The wavelength is %0.1f nm\n",lm);// The answer in the book is misprinted
disp('Solution (ii)');
n=l/... |
fefb4c251715fd7f3a591aad5ed5121e849480ff | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_setLogic_QF_AUFLIA.tst | 018b8c71dc20a487490d8a87a2c497ae5b4e7240 | [] | 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 | 52 | tst | ok_setLogic_QF_AUFLIA.tst | ; testing loading QF_AUFLIA
(set-logic QF_AUFLIA )
|
c97d843cd87d69baf6b9428367d2dd075384ea29 | 717ddeb7e700373742c617a95e25a2376565112c | /608/CH36/EX36.13/36_13.sce | 144c51540ecdee2a06fa58aa6e44e5a78650be29 | [] | 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 | 1,567 | sce | 36_13.sce | //Problem 36.13: In the circuit shown in Figure 36.17 the supply voltage v is given by v = 300sin314t + 120sin(942t + 0.698) Volts.Determine (a) an expression for the supply current, i, (b) the percentage harmonic content of the supply current, (c) the total power dissipated, (d) an expression for the p.d. shown as v1,... |
45de3e17bbebabca4e400204454aae345f07a600 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH9/EX9.1/Ex9_1.sce | 42121b14fb647e878104f2facefbf276bd18ba48 | [] | 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 | 819 | sce | Ex9_1.sce | //=========================================================================================
// chapter 9 example 1
clc
clear
// Variable declaration
F = 8482; // Tensile force in newtons
lo = 0.30; // length of steel wire in cm
Y = 207*10^9; // Youngs modulus of steel Gpa
r = 3*10^-3; // radiu... |
f50c4423e3c114b20c70df383f3c3f43e13dbb02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH12/EX12.12/ex12_12.sce | c13abd458a22a2c0accac4f1bf99c3842962c7bc | [] | 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 | 385 | sce | ex12_12.sce | //ex12.12
BW=3*10^6; //unity gain bandwidth
A_ol=100; //open loop gain
disp("non-inverting amplifier")
R_f=220*10^3;
R_i=3.3*10^3;
A_cl=1+(R_f/R_i); //closed loop gain
BW_cl=BW/A_cl;
disp(BW_cl,'closed loop bandwidth in hertz')
disp("inverting amplifier")
R_f=47*10^3;
R_i=1*10^3;
A_cl=-R_f/R_i;
BW... |
563f032dabe341e0726730c96173202bb7d9fd0e | 20392bee9b9ba080dc86418049e09f82be683a14 | /Design_Experiment_1/MUX8WAY16.tst | 521e77bf17e69aa54041f8110f82a39c07cd5456 | [] | no_license | Liveitabhi/CSD-LAB | 698645e3fee27fadc70979c6c64d7de13c58ffbd | e91c386c9d575fcced2f5163eea958033ca1e245 | refs/heads/master | 2023-01-23T05:31:42.301079 | 2020-12-09T08:52:58 | 2020-12-09T08:52:58 | 298,178,775 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 872 | tst | MUX8WAY16.tst | load MUX8WAY16.hdl,
output-file MUX8WAY16.out,
compare-to MUX8WAY16.cmp,
output-list x1%B1.16.1 x2%B1.16.1 x3%B1.16.1 x4%B1.16.1 x5%B1.16.1 x6%B1.16.1 x7%B1.16.1 x8%B1.16.1 s%B2.3.2 z%B1.16.1;
set x1 0,
set x2 0,
set x3 0,
set x4 0,
set x5 0,
set x6 0,
set x7 0,
set x8 0,
set s 0,
eval,
output;
set s 1,
eval,
output;... |
81be67b06310ba604c10336a45f92f74a9bd16f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH6/EX6.a.8/Example_a_6_8.sce | a7276479475f30a5b0b952c509ee37af2e7b18c1 | [] | 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 | Example_a_6_8.sce | //Example_a_6_8 page no:238
clc;
X2=sqrt((16.67^2)-(10^2));
V=100;
Imag=6;
pf=450/600;
theta=acosd(pf);
Iang=theta;
Vmag=Imag*16.66;
Vang=-41.4+53.1;
Vreal=Vmag*cosd(Vang);
Vimag=Vmag*sind(Vang);
V1real=100;
V1=V1real-Vreal-(Vimag*%i);
V1mag=sqrt(real(V1)^2+imag(V1)^2);
V1ang=atand(imag(V1)/real(V1));
I... |
6d15072e0f602fa14d37684bdf829dc9a8ee3b76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH2/EX2.19/Ex2_19.sce | 00d50b09537a5f1cf3fdb56bb527867db9798342 | [] | 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 | 428 | sce | Ex2_19.sce | //Chapter 02:Basic Structures: Sets, Functions, Sequences, Sums and Matrices
clc;
clear;
mat=[]
row=input("Enter the no. of rows:")
col=input("Entet the no.of columns:")
mprintf("Enter the elements:")
for i=1:row
for j=1:col
mprintf('\nInput for Row %d , Column %d:',i,j)
n=input(" ")
mat(... |
9c2d29109e0c120b6462fdc53182ec5afeb0b6b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH8/EX8.1/Ex8_1.sce | 1daf6307ac07c9c09eaa994d662944085eecc625 | [] | 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 | 479 | sce | Ex8_1.sce | clc;
N=11500; // Speed in rpm
T01=21+273; // Inlet total temperature in kelvin
p01=1;// Inlet total pressure in bar
p02=4;// Outlet total pressure in bar
D=0.75; // impeller diameter in m
mu=0.92;// slip factor
Cp=1.005; // specific heat at constant pressure in kJ/kg K
r=1.4; // Specific heat ratio
u=3.14*D*... |
dd8c6ef4a14cf6953b63e81bafe29cbc135034b5 | 80c4f32677abf57e118950a28c918a042269200c | /UI_Edit/Scenes/SSSS.sce | 87d7d2aef6364d906672a43a62c5a862b9b0bec3 | [
"MIT"
] | permissive | ggcrunchy/ui-edit-v1 | ab31697a8db0387e71edd1e61f3bcc3cd0bcbc7e | e5b1b1867f5f9bca941e3638a0274f8133711759 | refs/heads/master | 2021-01-19T14:24:13.514011 | 2012-10-16T07:09:52 | 2012-10-16T07:09:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 925 | sce | SSSS.sce | <nButton>0</nButton>
<nSlider>0</nSlider>
<nListbox>1</nListbox>
<Listbox>
<ID>"Listbox1"</ID>
<nItem>5</nItem>
<LI>
<string>"New item"</string>
<context>0</context>
<bSelected>false</bSelected>
</LI>
<LI>
<string>"MRGYLE"</string>
<context>5</context>
<bSelected>false</bSelected>
</LI>
<LI>
<strin... |
f97ab42f894f8c41edf8b2cb16b596ebca7e3610 | c52b86c70bfb65ede26a67e3a1647999383b3a5d | /macros/buildmacros.sce | 76895787c1970b621e02e7eabf2405b6ffbd6eb7 | [] | no_license | FOSSEE-Internship/FOSSEE-Julia-Toolbox | 8847c2b1ea8ac69234d9d3a7f8f4238840bf9d62 | 10811cd0ceb00cb4a9303a6fc61e995fbbdb6b4d | refs/heads/master | 2020-12-02T16:18:10.355600 | 2017-10-25T14:08:55 | 2017-10-25T14:08:55 | 96,516,912 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 104 | sce | buildmacros.sce | tbx_build_macros("Julia_Interface", get_absolute_file_path("buildmacros.sce"));
clear tbx_build_macros; |
a738e209fe10b28c4c0d11ccf95e171f39ab78af | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH26/EX26.1/example_26_1.sce | ac4c83822477ff5c71495b1a62226da2218b5311 | [] | 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,061 | sce | example_26_1.sce | clear;
clc;
disp("--------------Example 26.1---------------")
// client request :- Do enable the echo option
r_character1="IAC";
r_character2="DO";
r_character3="ECHO";
//server approval :- I will enable the echo option
a_character1="IAC";
a_character2="WILL";
a_character3="ECHO";
printf("In this example, th... |
0f30cba27bef1f0a4359dcbf8248996f24f2bfe2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Material_Science_V._Rajendran_1826.zip/Material_Science_V._Rajendran_1826/CH10/EX10.11/ex10_11.sce | 492431ac1f03bed99c5a9b7eb687db305a48143c | [] | 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 | 229 | sce | ex10_11.sce | errcatch(-1,"stop");mode(2);// Example 10.11, page no-275
e=1.6*10^-19//C
eg=1.12
me=0.12
mh=0.28
T=300
k=1.38*10^-23
ef=(eg/2)+(3*k*T/4)*log(mh/me)
printf("The Fermi energy of Si at 300 K is %.3f eV",ef)
exit();
|
622a7b820fb725f6c70248a707d4de20f5db6492 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH11/EX11.6/11_6.sce | f237e8190ca69313faf353d897fd7843076fdb46 | [] | 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 | 211 | sce | 11_6.sce | //clc()
A = [1,0.5,1/3;1/2,1/3,1/4;1/3,1/4,1/5];
B = [1.833333;1.083333;0.783333];
U = inv(A);
X = U*B;
x = det(X(1,1));
y = det(X(2,1));
z = det(X(3,1));
disp(x,"x = ")
disp(y,"y = ")
disp(z,"z = ")
|
e6ca350ba59b760aa52c567417ec8ba40ae7bf90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH11/EX11.5/Ex11_5.sce | 8c1064ad55c61789a409f66eaaa42c5af28ee6bf | [] | 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 | 535 | sce | Ex11_5.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 11 Oscillators and Multivibrators Pg no. 361
clear;
clc;
//Given
R=4.7D3;//R1,R2,R3 resistances in RC filter circuit in ohms
C=4.7D-9;//C1,C2,C3 resistances in RC filter circuit in farads
A=29;//voltage gain of RC phase shift oscillator
//Solution
f0=1/(2... |
ad8455d28349b7228eb6f25e05545fcddd314d0f | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH8/EX8.13/ch8_13.sci | ab3fdbb45a9e177efa4c61de0e04e5e1a5f48763 | [] | 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 | 773 | sci | ch8_13.sci | //to determine excitation emf, torque angle,stator current, pf, max power, kVAR delivered
clc;
j=sqrt(-1);
P=10000;
V=400;
Ia=P/(sqrt(3)*V);
pf=.8;
phi=acosd(pf);
Iaa=Ia*complex(cosd(-phi),sind(-phi));
Vt=V/sqrt(3);
X=16;
Ef=Vt+j*X*Iaa;
disp(abs(Ef),'excitation emf(V)');
dl=atand(imag(Ef)/real(Ef));
dis... |
39790b1af8ea1c49bf0e2e8ba22e46e17a5da39e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH3/EX3.6/ex3_6.sce | 122157dcda905c0a337042d1956e6d2325c6d507 | [] | 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 | 372 | sce | ex3_6.sce | // Example 3.6 page no-165
clear
clc
vrpp=0.8 //V
vrms=vrpp/(2*sqrt(3))
vrms=floor(vrms*10)
vrms=vrms/10
vm=8.8
vdc=vm-vrpp/2
gam=vrms/vdc
printf("\n%% regulation, gamma = %.2f%%",gam*100)
r=100
f=60
c=1050*10^-6
tgam=1/(4*(sqrt(3*c*r*f)))
printf("\nTheoretical values, gamma = %.2f%%",tgam*100)
Vdc=(4*f... |
a46449a4c223afe9747710cb2a0e25d03d7d1454 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH1/EX1.19/1_19.sce | 273f364a1a9e434f58abce28014fc7180eff6e23 | [] | 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 | 394 | sce | 1_19.sce | clc();
clear;
// To calculate the de broglie wavelength of neutron
mn=1.676*10^-27; //mass of neutron in kg
me=9.1*10^-31; //mass of electron in kg
h=6.62*10^(-34);
c=3*10^8; //velocity of light in m/sec
En=2*me*c^2;
lamda=h/sqrt(2*mn*En); //wavelength in m
lamda_A=lamda*10^10; //converting lamda ... |
4df0b95d752277197c882f7faa2985a7c7fe4028 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH5/EX5.5/5_5.sce | 9348a1f49ef5a8cc1a112325ad7d72964286922a | [] | 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 | 480 | sce | 5_5.sce | clc
//initialisation of variables
clear
w1= 0.0286 //lbm/ft^3
v= 2500 //ft/sec
A= 2.5 //ft^3
k= 0.015
p2= 700 //lbf/ft^2
p1= 628 //lbf/ft^2
v2= 3500 //ft/sec
g= 32.17 //ft/sec^2
//CALCULATIONS
ma= w1*v*A
mf= k*ma
mt= ma+mf
F= (p2-p1)*A+(mt*v2/g)-(ma*v/g)
//RESULTS
printf ('air mass flow rate = %.2f lbm... |
7760ea9d255a810947b1df6e8c9c3aa31d3ff9aa | dafb7f8634937600c2649b340f57014cbb1ed67e | /41CD_TS_V1.sce | 1db0d7ee8bda61edfdb28b10cafde674e4290722 | [] | no_license | sharath-matada/Tolerance-stack-up-3D-Robot-Joint | dc517eb24d4f05f2e9b5ab08da7bcaca030730d5 | bbad72fbdc7e3781e27c07d8b40f0e10d0c4d818 | refs/heads/main | 2023-06-17T17:52:30.184364 | 2021-07-08T11:12:52 | 2021-07-08T11:12:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,812 | sce | 41CD_TS_V1.sce | /*Note: T is nominal Transformation, DT is variation in Transfromation and $T is varied tranformation*/
//Nominal Tranformations
//ABWG Housing to Cross Roller Bearing Transformations
Ta_f2a=[1 0 0 72;
0 1 0 54;
0 0 1 -9;
0 0 0 1]
Tf2a_f1b=[1 0 0 0;
0 1 0 0;
0 0 1 ... |
a496e37cf55db57ec7c7f38348e9e08ae34428d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH4/EX4.17/example_17.sce | 2656cc805706b6dd3af8c13bd345e309d882b181 | [] | 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 | 387 | sce | example_17.sce | clc
clear
printf("example 4.17 page number 154\n\n")
//to find the pressure loss
density=998 //in kg/m3
viscosity=0.0008 //in Pa-s
d=0.03 //in m
u=1.2 //in m/s
Re=density*d*u/viscosity;
f=0.0088;
D=1 //in m
N=10
L=3.14*D*N;
delta_P=(2*f*u^2*L)/d; //in Pa
delta_P_coil=delta_P*(1+(3.54*(d/... |
ca670df2770797085326918bab5abc8437c5d37e | 63c8bbe209f7a437f8bcc25dc1b7b1e9a100defa | /test/0015.tst | 25ba332c3ea9fdc4b32ed5a3809583f11e8aea67 | [] | no_license | fmeci/nfql-testing | e9e7edb03a7222cd4c5f17b9b4d2a8dd58ea547c | 6b7d465b32fa50468e3694f63c803e3630c5187d | refs/heads/master | 2021-01-11T04:09:48.579127 | 2013-05-02T13:30:17 | 2013-05-02T13:30:17 | 71,239,280 | 0 | 0 | null | 2016-10-18T11:01:57 | 2016-10-18T11:01:55 | Python | UTF-8 | Scilab | false | false | 406 | tst | 0015.tst | SPlitTeR w {}
filTer F { bITAnD ( ) OR BiTOr (::C:dE:e:b4fA:f:3.7.226.41, ) >= ::0:e8:ba:EF oR not BITOR (M, 188.253.31.31, y, 56.231.250.215/5952, ) w ( EB:bc:AC:dD:Ec:BC
, ) OR BiTOR (Xh ( ), m, ) }
fiLteR z {Not Dkr Or ZtmlrP }
e -> D -> a
GROUPeR Pf {MODuLe sQCFfgB{ } modUle Sj{ } moDulE g{ } AGGreg... |
9780bd69f054e682c604b71aea77d74116bf1bf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.3/example8_3.sce | 68c1095aa5321e1246ef58f60c148a90f92b0812 | [] | 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 | example8_3.sce | //Chapter 8
//Example 8_3
//Page 172
clear;clc;
ins=3;
v3=17.5;
k=1/8;
v1=v3/(1+3*k+k^2);
v2=(1+k)*v1;
v=v1+v2+v3;
n=v*100/3/v3;
printf("Voltage across first unit = %.2f kV \n\n", v1);
printf("Voltage across second unit = %.2f kV \n\n", v2);
printf("Voltage between line and earth = %.2f kV \n\n", v);
printf("String... |
7188f0002ac0f33d1d745e559358e5122a0905f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH7/EX7.5/7_5.sce | 9190a6ca6e8ac1a4042ba1a1c164b4c8b02388d7 | [] | 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 | 371 | sce | 7_5.sce | clc
//initialisation of variables
clear
A= 1/16 //mile^2
d= 2 //ft
h= 18 //ft
h1= 5 //ft
f= 0.006
l= 200 //ft
h2= 10 //ft
g= 32.2 //ft/sec^2
//CALCULATIONS
X= sqrt(1/((1.5+(4*f*l/d))/(2*g)))
function [y]=fun(H)
y=A*5280^2*H^-0.5/(%pi*d^2*X/4)
endfunction
vec2=intg(h-h1,h,fun)
T= vec2
//RESULTS
pr... |
976344f8a307900901166f4a3c0ee81c1769dfd0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH9/EX9.6/Ex9_6.sce | 100fe7f7be0adb2cb85a43663a51abed69efa313 | [] | 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 | 751 | sce | Ex9_6.sce | // Example 9_6
clc;funcprot(0);
// Given data
r=16;// The compression ratio
T_1=200+273;// K
P_1=200;// kPa
r_c=2;// The cut off ratio
r_p=1.3;// The pressure ratio
c_p=1.00;// kJ/kg.K
c_v=0.717;// kJ/kg.K
R=0.287;// kJ/kg.K
k=1.4;// The specific heat ratio
// Calculation
n=1-((1/(r^(k-1)))*(((r_p*r_c^k)... |
0472746eab9870dccaf65d78b71dbfd02f08f3d2 | 7cbeef90493f736d2d6033fc4f8eb0c204fbe8ea | /levelsf2.sce | 7ebf854ca6eac6523d4a9d803942299ccd5a25c6 | [] | no_license | lucasfariaslf/emap_optim | 62f7b9e11764302e392a5c86a4fdede41f11dac3 | 0c93b7654c3101b9275602ff2e6acb49af5133c6 | refs/heads/master | 2021-09-14T03:53:50.017323 | 2018-05-08T00:19:16 | 2018-05-08T00:19:16 | 103,544,555 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 159 | sce | levelsf2.sce |
t=linspace(-10,10,50);
function z=my_surface2(x, y)
z=(1-x)^2+100*(y-x^2)^2;
endfunction
contour(t,t,my_surface2,[1;2;5;10;20;30;50;100;200])
|
abca2472b1db1cdfadb6166ca2ceb871b3dddf9a | c36e1bfd38146c66289228951b38aed97a50e7ce | /Programmation Dynamique/main.sci | 5fe2371d485aeb320faa91533825ad1fce54f349 | [
"MIT"
] | permissive | AmineKheldouni/Optimization-Control | 73e4c50c2edbac1863d231036125c405eea1807c | 417336ff19b174668be002c4a5d24bd78c88c39e | refs/heads/master | 2020-04-14T22:30:01.903485 | 2019-01-04T23:35:20 | 2019-01-04T23:35:20 | 164,165,063 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,489 | sci | main.sci | funcprot(0);
// Initialization
Tf = 10 ;
Nx = 9 ; // x#
xref = 5;
state = [1:Nx];
// Initialization of the matrix used to store Bellman values
V = ones(Tf,Nx) * %inf;
U = ones(Tf-1,Nx) * %inf;
// Compute B(x) subset :
function [res]=B(x)
if x == 1 then
res = [1];
elseif x == Nx then
res = [-1]... |
cf2a4358c261fa92a92fa741b7e640f015128bc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /611/CH8/EX8.10/Chap8_Ex10_R1.sce | e79c004d832b9fa7927d56fe6e8d26f1b6a867a8 | [] | 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,376 | sce | Chap8_Ex10_R1.sce | // Y.V.C.Rao ,1997.Chemical Engineering Thermodynamics.Universities Press,Hyderabad,India.
//Chapter-8,Example 10,Page 299
//Title: Enthalpy and entropy departure using the generalized virial coefficient correlation
//=================================================================================================... |
c6e12ff5b796579df45a30d1b418ea10feaadb86 | 0bb08b35184b47c6f5e74d41f7cb0b927162dd82 | /test/teste4.tst | 83f5ae0c37f9c1c6e038b3857e6823480edca99e | [] | no_license | DanielPBL/tp_compiladores | 6df7d3bde74d7e4098a32914396f1bdfef7f4843 | 6536f3588785819f5e28d6358fc36e53c7d52adb | refs/heads/master | 2021-01-19T01:10:25.009830 | 2017-06-29T20:20:23 | 2017-06-29T20:20:23 | 87,229,469 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | tst | teste4.tst | init
i, j, k, total, soma, a is integer;
read (I);
k := i * (5 - i * 50 / 10);
j := i * 10;
k := i * j / k;
k := 4 + a ;
write(i);
write(j);
write(k);
stop
|
adacb67920a847748ae2f65f2e5bad368b22fb55 | d167200e784b8019615f6b37b5a46b91ec43b98d | /macros/imGaborFilt.sci | 546d075f8050a9bc73f7f9d6375af3c6d91b30d1 | [] | no_license | AshishMantosh/FOSSEE-Image-Processing-Toolbox | ee9c1a00f97627f372fae1d7d851c4905ac9d83e | e4fbe1891e13e4dc9b62513f0aef2b101638f084 | refs/heads/master | 2021-01-01T19:05:15.966438 | 2017-07-27T07:16:11 | 2017-07-27T07:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,533 | sci | imGaborFilt.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
6fc7f2212661a18f968deba0d99016b706ffa3e8 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PY3.prev.tst | b6459dcbdc89b97afaa7478e6b15da377c1e56f8 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 90,684 | tst | PY3.prev.tst | ExponentGCDs=[1]
----------------
X1 [5,12,13]
X2 [15,8,17]
X3 [7,24,25]
----------------
X11 [9,40,41]
X12 [35,12,37]
X13 [11,60,61]
X21 [21,20,29]
X22 [55,48,73]
X23 [39,80,89]
X31 [13,84,85]
X32 [63,16,65]
X33 [15,112,113]
----------------
X111 [17,144,145]
X112 [99,20,101]
X113 [19,180,181]
X121 ... |
7ee7732ceada9b6a2e4bd03e88f20028988dc273 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH4/EX4.20/Ex4_20.sce | 184934bd5c0bdde80c2264b9cf72c259c4c0c533 | [] | 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,270 | sce | Ex4_20.sce | //Fluid Systems - By - Shiv Kumar
//Chapter 4 - Pelton Turbine (Impulse Turbine)
//Example 4.20
clc
clear
//Given Data:-
D=1.6; //Mean Diameter of Bucket Circle, m
P=3200; //Power Developed, kW
n=2; //Number of Wheels
H=300; //Effective Head, m
... |
70489bf156d5cd1b3562626876f33f16b88364b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3816/CH10/EX10.9/10_9.sce | 5f9c15f62d591e0c9919fcb764d0a2c861da0220 | [] | 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 | 380 | sce | 10_9.sce | clc;
clear;
W=23400;//KVA rating
pf=0.8;
Lb=68;//Bearing friction loss
Lv=220;//Windage loss
Lc=165;//Core loss
Lw=200;//WInding loss
Li=62;//I^2R loss
Le=14;//Exciter loss
Ll=Lw-Li;
disp(Li,'Thye load loss is:')
Lt=763;//Sum of totallosses
Po=W*pf;//output
disp(Po,'The output is:')
Pi=Po+Lt;
disp(Pi,'T... |
35ae7fda0f410f0f0e9f1dd8f56d011933c88042 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH8/EX8.15/8_15.sce | 0ee439bce29a7c6a60e6fc55e8fcc9323193ac83 | [] | 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 | 683 | sce | 8_15.sce | clc;
//page no 8-54
//Example 8.15
fsmax=1650;
fsmin=525;//in kHz
SFR=fsmax/fsmin;
disp(SFR,'Signal frequency ratio is');
//Rounding off SRF to 3.14
SFR1=3.14;
C=(SFR1)^2;
disp(C,'Capacitance ratio is');
Comin=50;
Comax=450;//in pF
//For trimmer capacitor
//Comax/Comin=(Csmax+CT)/(Csmin+CT)
//450/50=(Csm... |
3d666ac0943cbc3bf3d19e823ab1c089ffc0da05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /479/CH12/EX12.3/Example_12_3.sce | cac9b868b403c5fb3934c26e7175f257ba971155 | [] | 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,647 | sce | Example_12_3.sce | //Chemical Engineering Thermodynamics
//Chapter 12
//Refrigeration
//Example 12.3
clear;
clc;
//Given
//Consider the figure 12.4 (page no 226)
m = 5;//tonnes of refrigeration
T1 = 273-10;//temperature of the saturated vapour in K
T2 = 273+35;//temperature of the super heated vapour in K
T3 = 273+25;//te... |
7275bc017409eb12607e1c62dd2b8fedda8d5cef | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /pushswap42/scripts/docker_file/test_500/test12.tst | 010c2e3d3b375d26d606c461b2e1f3823d7001ce | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,896 | tst | test12.tst | 14661 1371 15184 45640 35857 28813 43785 24347 48214 13059 9989 44636 9986 3140 34909 22898 2066 4333 38585 43254 41059 27113 37529 31731 49917 47273 1359 9368 46398 35854 24834 14680 40047 16513 24327 29457 21965 17405 18484 48618 44885 44710 44677 2576 7851 43615 36600 10339 6640 31231 44901 25808 25848 37547 37015 4... |
517117c7bdd567b300569f56e915f3a57d16ee07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.34/Ex4_34.sce | 8e8eaf12fe92fab3ed44a093c1a656aa89656fd6 | [] | 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 | 493 | sce | Ex4_34.sce | //pagenumber 221 example 34
clear
em1cur=2*10^-3;//ampere
v1=12;//volt
vcc=12;//volt
format(12);
colres=5*10^3;//ohm
em1res=v1/em1cur;
colcur=em1cur;
voltag=colcur*colres;//ic*r
v1=vcc-(colres*colcur);
disp("emitter current = "+string((em1cur))+"ampere");
disp("collector current = "+string((colcur))... |
a86a9736fffaea3af2188f38b71c150a6325e810 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set11/s_Fundamentals_Of_Thermodynamics_B._Claus_And_R._E._Sonntag_172.zip/Fundamentals_Of_Thermodynamics_B._Claus_And_R._E._Sonntag_172/CH9/EX9.7/ex7.sce | 0f3ac3fab3c8d7d8ffa211cf154f77748449204f | [] | 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 | 349 | sce | ex7.sce | errcatch(-1,"stop");mode(2);//example 7
//work required to pump water isentropically
P1=100 //initial pressure in kPa
P2=5000 //final pressure in kPa
v=0.001004 //specific volume in m^3/kg
w=v*(P2-P1) //work required to pump water isentropically
printf("\n hence,work required to pump water isentropically is... |
c7ad62ba28154121b96a084ab6a9efbd54249fbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH8/EX8.9/Example8_9.sce | 412f318d1de01910adc2a76db1d28212c19473a9 | [] | 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 | 533 | sce | Example8_9.sce | clc
//Given that
R_e = 6.4e6 // radius of Earth in km
M_e = 6e24 // mass of Earth in kg
G = 6.67e-11 // universal gravitational constant
u = 6e3 // initial speed of rocket in m/s
// sample problem 9 page No. 302
printf("\n\n\n # Problem 9 # \n")
printf("Standard formula used U_f - U_i = 1/2 * m *(u^2 - v^2... |
b1ac50f0aeeab586378fe1926508f06137d16d05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3808/CH6/EX6.6/Ex6_6.sce | 25b0b648e80effc01dee70274cc0ce0ad5b6b520 | [] | 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 | 484 | sce | Ex6_6.sce | //Chapter 06: Counting
clc;
clear;
function res=permutation(n,r) //function definition
i=n
res=1
l=(n-r)+1
u=n
for i=l:u //computing the permutation
res=res*i
end
return res
endfunction
a=permutation(5,3)//function call
b=permutation(5,5)//function call
mprintf("The number of ways to select 3 students from a group ... |
556c5adc2c29af47d91602bf41b2fb5328cfc019 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH7/EX7.2/Ex7_2.sce | 7eedffde220eff2a34760b7d53eee5db1f996ab3 | [] | 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 | 646 | sce | Ex7_2.sce | //chapter-7 page 279 example 7.2
//==============================================================================
clc;
clear;
x=3;//O/P incident power from first directional coupler in mW
y=0.1;//O/P reflected power from second directional coupler in mW
//CALCULATION
Pi=x*100;//Incident Power in mW
Pr=y*100... |
6cfd9a7adc91f40a37136b92a71f73151d92c6ec | 5bd32b0243dbcb7551e03872f901a42713dfa199 | /Bitmaps.sce | 698abfcae386394dc0bf49d304a5f27f28e91ea7 | [
"MIT"
] | permissive | cvdhengel/MarioCards | da0dc732d11631eeaee215b82dbbd5fa45398f8c | 7ab6013dbbc2e0f36f482467845df961d5d7616f | refs/heads/master | 2021-01-23T00:48:31.597526 | 2017-05-31T18:52:29 | 2017-05-31T18:52:29 | 92,846,680 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,512 | sce | Bitmaps.sce | bitmap {filename ="dia1.jpg"; width=1029; height=830;}Intro1;
bitmap {filename = "VB1_MR1.jpg"; width=400; height=400;}V1;
bitmap {filename = "VB2_SG2.jpg"; width=400; height=400;}V2;
bitmap {filename = "VB3_LB3.jpg"; width=400; height=400;}V3;
bitmap {filename = "VB4_PP4.jpg"; width=400; height=400;}V4;
a... |
1662261fa93ecd5dc1d7f23f9fb1562ece8047f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH1/EX1.46/Ex1_46.sce | 5738b16f432bc844f5707e86e1f1182951419130 | [] | 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 | 351 | sce | Ex1_46.sce | //Example 1_46
clc;
clear;
close;
format('v',5);
//given data :
RAD=20;//ohm
RAC=30;//ohm
RDC=50;//ohm
RDB=50;//ohm
RBC=45;//ohm
RAN=RAD*RAC/(RAD+RAC+RDC);//ohm
RDN=RAD*RDC/(RAD+RAC+RDC);//ohm
RCN=RAC*RDC/(RAD+RAC+RDC);//ohm
RAB=RAN+(RDN+RDB)*(RCN+RBC)/(RDN+RDB+RCN+RBC);//ohm
disp(RAB,"Total Resistance b... |
367ddc86d22f9b97b5fbbeb6d8af16f4fb732493 | 449d555969bfd7befe906877abab098c6e63a0e8 | /273/CH12/EX12.3/ex12_3.sce | b4f96c7efdda21eff950afbd2e848413416f2310 | [] | 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 | 351 | sce | ex12_3.sce | clc;clear;
//Example 12.3
//calculation of depth and wavelength
//given values
f=.07*10^6;//frequency in Hz
t=.65;//time taken for pulse to return
v=1700;//velocity of sound in sea water in m/s
//calculation
d=v*t/2;//
disp(d,'the depth of sea(in m) is');
l=v/f;//wavelenght of pulse in m
disp(l*10^2,'w... |
d6da9f8fc69b5655a87faeacd2c64c3c610dfcf7 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/ShallowWaterSolver/Tests/NonlinearSWE_RossbyModon_DG_P9.tst | ffb1d0d659e43e87d42c2ef1e65461f4c0a96e81 | [
"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 | 869 | tst | NonlinearSWE_RossbyModon_DG_P9.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Rossby modon, DG, P=9</description>
<executable>ShallowWaterSolver</executable>
<parameters>NonlinearSWE_RossbyModon_DG_P9.xml</parameters>
<files>
<file description="Session File">NonlinearSWE_RossbyModon_DG_P9.xml</file>
</files>
... |
2cb9209e72dba6000de7ced94c50d52bf6a0f3ca | 1d7cb1dbfad2558a4145c06cbe3f5fa3fc6d2c08 | /Scilab/PCIE Clocks/SinosoidalJitter.sce | 188ca0322fac8e6f33d0fb7c7c17bd218f326a8f | [] | no_license | lrayzman/SI-Scripts | 5b5f6a8e4ae19ccff53b8dab7b5773e0acde710d | 9ab161c6deff2a27c9da906e37aa68964fabb036 | refs/heads/master | 2020-09-25T16:23:23.389526 | 2020-02-09T02:13:46 | 2020-02-09T02:13:46 | 66,975,754 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | sce | SinosoidalJitter.sce | //Generates clock ideal crossings with sinosoidal jitter component
stacksize(128*10*1024);
N=1*1024 ; // Number of samples
n=[0:1:N]; //Number of clock edges
per=10^(-8); //100Mhz clock period
JitAmp=0.1; ... |
bf17f849c9d3a28628a47897ab58995c0e8f8c6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH8/EX8.4/Exa8_4.sce | 3e5f0fee50b93ad8c07243c156bcc040643449d4 | [] | 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 | 901 | sce | Exa8_4.sce | //Exa 8.4
clc;
clear;
close;
//Alternative 1: Present machine :
Pprice=200000;//in Rs
P=120000;//in Rs
F=25000;//in Rs
A=25000;//in Rs
i=12;//in % per annum
n=6;//in years
//Formula : (A/P,i,n) : ((i/100)*(1+i/100)^n)/(((1+i/100)^n)-1)
AE1=(P-F)*((i/100)*(1+i/100)^n)/(((1+i/100)^n)-1)+F*i/100+A;//in RS
di... |
766e20097c22ac1dbffc5b0648e30b854b772063 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH15/EX15.1/Example_15_1.sci | 1ccf89652afc298bae3e3d2927d5ba0e19690a31 | [] | 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 | 648 | sci | Example_15_1.sci | clear;
clc;
printf("\n Example 15.1");
printf("\n For concentrations in kg sucrose/kg water:");
c = 2.45; //concentration is in kg/kg
printf("\n c = %.2f kg/kg",c);
c1= 2.04; //concentration is in kg/kg
printf("\n c1 = %.2f kg/kg",c1);
S = c/c1;
printf("\n S = %.2f",S);
printf(... |
162b1802f98d7e7d1f9406a49593b21f53a17ed7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH12/EX12.11/12_11.sce | 167c12c951a456505a2918db7f0f7ef68644175b | [] | 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 | 334 | sce | 12_11.sce | h1 = 3285; h2s = 3010; h3 = 3280; h4s = 3030;
h4 = h3-0.83*(h3-h4s);
h5s = 2225;
h5 = h4-0.83*(h4-h5s);
h6 = 162.7; h7 = h6;
h8 = 762.81;
h2 = h1-0.785*(h1-h2s);
m = (h8-h7)/(h4-h7);
n_cycle = ((h1-h2)+(h3-h4)+(1-m)*(h4-h5))/((h1-h8)+(h3-h2))
disp("kg/s",m,"Steam flow at turbine inlet is")
disp("%",n_cycle*100,"cycle e... |
97f68ac4e73efadca146dbe3ec45f867da2aec91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH12/EX12.e.2/Chapter12_example2.sce | 4ef1e4660b508fe3abbda18228826920e931304c | [] | 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 | 687 | sce | Chapter12_example2.sce | clc
clear
//Input data
R=[6,6,3]//Resistances in the circuit from circuit diagram 12.9 on page no. 175 in ohms
V=[24,16]//Voltages in the circuit from circuit diagram 12.9 on page no. 175 in V
//Calculations
Re1=1/((1/R(2))+(1/R(3)))//Equivalent resistance for parallel combination in ohms
Re=R(1)+Re1//Equivale... |
48d584fc6f231c09832d18576947f8997aa12941 | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/5_5data.sci | 0d4569d42b980d889a642b505634105cb0cd115e | [] | 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 | 146 | sci | 5_5data.sci | L=2000;//langth.in mm
Ab=200;//in mm^2
A=180;//area of bar,in mm^2
P=1000;//in N
theta=60*(%pi/180);
E=200000;//in N/mm^2
I=100000;//in mm^4 |
f9e81aa46bfe4ef3ad34e83ddfe552edc6a62bf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH4/EX4.12/4_12.sce | 8853a6d5be35d0c1d01ea15690dad116f529cf13 | [] | 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,500 | sce | 4_12.sce | clear;
clc;
printf("\t\t\tExample Number 4.12\n\n\n");
// implicit formulation
// Example 4.12 (page no.-173-174)
// solution
// we are using the data of example 4.11 for this question
// we are inserting the value of Rij in equation (4-43) to write the nodal equations for the end of the first time increment, ... |
d8bc6b52725bf4757b2ab4220998a73018426bd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH1/EX1.4/1_4exam.sce | 5f6bc69c0e96e1245070b8750629616548287a98 | [] | 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 | 645 | sce | 1_4exam.sce | //Engineering and Chemical Thermodynamics
//Example 1.3
//Page no :27
clear ; clc
//From Ideal gas law we have v=(R*T)/P
//Given data
P = 1.4 ; //[MPa]
P_low = 1 ;//[MPa]
P_high = 1.5;//[MPa]
//At T=333*C from interpolation we have
v_cap_P1_5 = 0.18086 ;//[m^3/kg]
v_cap_P1 = 0.27414 ;//[m^3/kg]
//Mo... |
509e69e1cc28f72b37f1f206a55abbbd48facfe7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH16/EX16.1/Ex16_1.sce | b3dc9b1ab20931ea1a3c90f923d70c8a1973f434 | [] | 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,683 | sce | Ex16_1.sce |
//Varaible Declaration
EIRP=55 //EIRP for satellite(dBW)
fD=12.5 //Downlink frequency(GHz)
Pss=-101 //Receiving at ground station direction(degrees west)
Rb=40*10**6 //Transmission Rate(Hz)
D=18 //Diameter of antenna(inches)
n=0.55 //Efficiency of antenna
Tant=70 //Antenna noise(Kelvin)
Teq=100 //Equivalent nois... |
b971a37622048954bba4a2b75f8cb104290cd268 | 717ddeb7e700373742c617a95e25a2376565112c | /72/CH4/EX4.2.2/4_2_2.sce | d4c4f97c78395a813e2c2fff637bfda7fd40e057 | [] | 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 | 3,947 | sce | 4_2_2.sce | //CAPTION:Wave_Propagation_In_circular_Waveguide
//chapter-4
//Example-4-2-2 page no.-147
//program_to_find_all_the_TE(n,p)_and_TM(n,p)modes_for_which_energy_transmisssion_is_possible.
radius=.02; //Given. Here_radius_is_in_metres.
uo=(4*(%pi))... |
e708bc62a03f73e8e2191b9730b3d40a180aa4d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1627/CH10/EX10.2/Ex10_2.sce | c07e8f12481491c1ab99fb89503eee7f179f4239 | [] | 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 | 295 | sce | Ex10_2.sce | clc
//initialisation of variables
p=38//cm^3/rev
Q=65//min
d=1800//rpm
p1=103//bars
h=1/1000//rev/min
//CALCULATIONS
Q1=p*h*d//min
Ev=Q/Q1*100//percent
Ta=(p*10^-6)*(p1*10^5)/(2*(%pi))//N.m
//RESULTS
printf('The volumetric efficiency and torque applied to the shaft is=% f N.m',Ta)
|
9df21299e2ab333883863f5a207bcf260e9aedac | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/Cholesky_Factorisation.sci | b247deaf444975c51cdabcf24dfd9ffcd8a368ba | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 881 | sci | Cholesky_Factorisation.sci | /*
Etideur:
Jinshan GUO
Objecitf:
Fonction à réaliser l'algorithme de Cholesky pour le calcul direct en factorisation
Principe
A = C * C^T
Containtes:
A est une matrice symétrique définie positive
C est une matrice triangulaire inférieure et C(i,i)>0
C^T est matrice transposée de C, t... |
5fc42d5eac7090e7ee60412e67f8e327ac0772fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH3/EX3.1/3_1.sce | 6b37dcc4eb29368e8f4cc4d0383dfbfa97bf68b5 | [] | 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 | 270 | sce | 3_1.sce | clc
//Initialization of variables
clear
mass=4000 //kg/m^2
Patm=1.013*10^5 //pa
g=9.807
M=28
R=8.3143*10^3
T=303 //K
P1=800*10^3 //pa
//calculations
Ps=Patm+mass*g
n=1/M
V1=n*R*T/P1
W=Ps*(2*V1)
//results
printf("Work done on the surroundings = %d J",W)
|
1513d5e86a4f9975e010c73fcfdf8299d4ce1d3a | 67ba0a56bc27380e6e12782a5fb279adfc456bad | /STAMPER_PROG_7.4/CreateGrooveOffsetArray.sci | f05f909f955d10d293e7ac444d6c53e49d86a1ef | [] | no_license | 2-BiAs/STAMPER_PROG | 8c1e773700375cfab0933fc4c2b0f5be0ab8e8f0 | 4fdc0bcdaef7d6d11a0dcd97bd25a9463b9550d0 | refs/heads/master | 2021-01-18T19:30:06.506977 | 2016-11-10T23:32:40 | 2016-11-10T23:32:40 | 71,999,971 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 446 | sci | CreateGrooveOffsetArray.sci | function vOffsetArray = CreateGrooveOffsetArray(vGroovePoints, fDoCfacet, fDoCwall, vBoundary)
//vGroovePoints — a 3x2 DOUBLE array [point1X, point1Y; point2X...]
//fDoCfacet — depth of cut on the second line segment of the Groove ("Facet")
//fDoCwall — depth of cut on the first line segment of the Groove ... |
fcc5c50e5567127db546706e905e9f389ef77a80 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH6/EX6.8/Ex6_8.sce | 0ed5ce1c41efe487eb95bcdf90c239d1ae186135 | [] | 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 | 464 | sce | Ex6_8.sce | clear;
clc;
printf("\t\t\tProblem Number 6.8\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.8 (page no. 246)
// Solution
//For CO2,
R=8.314/44; //Unit:kJ/kg*K //constant of proportionality //Molecular weight of CO2=44
p=500; //Unit:kPa //pressure
V=0.5; //Unit:m^3 //volume
T=(100+273); //Unit:K //Celsiu... |
c2bed1078d787b9311960d073b23a37a938ed67c | 717ddeb7e700373742c617a95e25a2376565112c | /3204/CH8/EX8.2/Ex8_2.sce | 0829fe80a3a8a1f1613304825d8e2ec7a3561935 | [] | 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 | 739 | sce | Ex8_2.sce | // Initilization of variables
V_r=20 // Velocity ratio
// Refer the table given in the textbook for values of W,P,M.A & efficiency (eta)
// Calculations
// Part (a)- Realtionship between W & P
// Here part a cannot be solved as it has variables which cannot be defined in Scilab. Ref.textbook for the solution
// P... |
fa88231e06e3ef252f7b5689d0534a4e1493769e | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH9/EX9.17/9_17.sci | 14fe3fd0c6eeb967f84c1eaad0c9f68e1278bf29 | [] | 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,118 | sci | 9_17.sci | // calculate the optimum setting
clc;
Aou=700*25*1/100;
Aol=100*25*1/100;
AouPtP= 2*Aou;
AolPtP= 2*Aol;
Se1=1;
D1=AouPtP/Se1;
disp(D1,'deflection of screen corresponding to maximum pressure for sensitivity of 1mV/mm (mm)')
disp('sinch the length of the screen is 100mm so waveform is out of range and hence sens... |
4d1109d70e78ad726c0e1cfa111ae3be7c0fb742 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH9/EX9.5/Ex9_5.sce | 4daefea05036af77586f2cb186308eb4e4482c58 | [] | 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,414 | sce | Ex9_5.sce | clc
Psat = 3.973 // Saturation pressure in MPa
vf = 0.0012512 // specific volume of fluid in m^3/kg
vg = 0.05013 // Specific volume of gas in m^3/kg
hf = 1085.36 // Specific enthalpy of fluid in kJ/kg
hfg = 1716.2 // Latent heat of vaporization in kJ/kg
sf = 2.7927 // Specific entropy of fluid in kJ/kgK
sfg = 3... |
618370010d42a559d533deafbe1c37879ed7e237 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH16/EX16.17/17.sce | e35abbda26efb955e393873c070ebd948ec4d7d0 | [] | 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,179 | sce | 17.sce | clc
p1=200; //kN/m^2
V1=170; //m/s
T1=473; //K
A1=0.001; //m^2
R=287; //J/kg K
cp=1000; //J/kg K
y=1.4;
disp("(i) Stagnation temperature (Ts) and stagnation pressure (ps)")
Ts=T1+V1^2/2/cp;
disp("Ts=")
disp(Ts)
disp("K")
ps=p1*(Ts/T1)^(y/(y-1));
disp("ps=")
disp(ps)
disp("kN/m^2")
disp("(ii) ... |
fb116bbea1ce93afcdc33b5bddae13ec7a79c729 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/Couette_FRDG_LFRDG_GLL_LAGRANGE_3DHOMO1D_MVM.tst | e4d24092a10dd2d0a35668adb1a3216c15aedf53 | [
"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 | 1,251 | tst | Couette_FRDG_LFRDG_GLL_LAGRANGE_3DHOMO1D_MVM.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>NS, Couette flow, mixed bcs, FRDG advection and LFRDG diffusion, GLL_LAGRANGE</description>
<executable>CompressibleFlowSolver</executable>
<parameters>Couette_FRDG_LFRDG_GLL_LAGRANGE_3DHOMO1D_MVM.xml</parameters>
<files>
<file descripti... |
7d90c0b765265697b9b5580a9d580f54a44b1f92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH14/EX14.10/14_10.sce | fcd89b02c86a1fb5106e7574b01dd6f25135fc43 | [] | 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 | 260 | sce | 14_10.sce | clc
//initialisation of variables
Q1=30//cfs
Q2=16//cfs
a=32//sq ft
r=1.6//ft
i=10^-4//ft
n=1.25*10^-2//ft
h2=0.50//ft
c=3.33//ft
h1=5.20//ft
l=72//ft
s=12320//ft
//CALCULATIONS
L=s-l//ft
//RESULTS
printf('the forchheimer s methos =% f ft',L)
|
8c145397afa5cad667c9c2405a6289b11f322c89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH10/EX10.18/10_18.sce | fd005b957d46b5d5b4db0c0e437a55cf5fa0ba46 | [] | 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 | 92 | sce | 10_18.sce | R=1.2
V=220
Ea35=V-35*R
n35=(475+400)/2
V=200
E0=V-35*(R+2)
n=n35*E0/Ea35
disp(n)
|
85243eb72804408042d2267de2e424cf546192af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH3/EX3.5/Ex3_5.sce | 3451f05ea526331735456fbd1de90d6166f3cdf9 | [] | 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 | 674 | sce | Ex3_5.sce | // Example 3.5
clc;
clear;
close;
// Given data
format('v',8);
Rin= 2*10^6;// in Ω
Rout= 75;// in Ω
f0= 5;// in Hz
R1= 330;//in Ω
Rf= 3.3*10^3;// in Ω
A= 2*10^5;//unit less
B= R1/(R1+Rf);// feedback fraction
AB= A*B;// feedback factor
Af= -Rf/R1;// colsed-loop voltage gain
Rin_f= R1;// input resistance w... |
43ab36b1a7a8e945ae38f443178cdadff74e5fb9 | 8ea401b354e99fe129b2961e8ee6f780dedb12bd | /sci_gateway/cpp/loader.sce | 0c9ab68dcad16650b454811ca58d7d3c2c6c495e | [
"BSD-2-Clause"
] | permissive | adityadhinavahi/SciPandas | 91340ca30e7b4a0d76102a6622c97733a28923eb | b78b7571652acf527f877d9f1ce18115f327fa18 | refs/heads/master | 2022-12-20T04:04:35.984747 | 2020-08-19T16:10:51 | 2020-08-19T16:10:51 | 288,765,541 | 0 | 1 | null | 2020-08-19T15:35:04 | 2020-08-19T15:14:46 | Python | UTF-8 | Scilab | false | false | 906 | sce | loader.sce | // This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
if ~win64() then
warning(_("This module requires a Windows x64 platform."));
return
end
//
scipanda... |
0d2048a81bc31ebb47d9ccf44e6c8c97cffd2ce9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH13/EX13.8/Ex13_8.sce | 7ddcac1eeb226d05b8a1290b18c450897ea7a9f6 | [] | 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 | 686 | sce | Ex13_8.sce |
// Example 13.8
// We Know that Pi= Ph+ Pe=( Af+ Bf^2 )
// there for at 60Hz 100= 60A+ 3600B
// at 40Hz 60 = 40A+ 1600B
// After Solving Equation We have
A=1.167; // A... |
ea39b5f9aa53d96832ed5b60d548da3227033cbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH3/EX3.2/Example3_2.sce | 80b412c52c9953a5d3e7da8dca88bd603f877de0 | [] | 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 | 370 | sce | Example3_2.sce | clear;
clc;
// Example: 3.2
// Page: 89
printf("Example: 3.2 - Page: 89\n\n");
// Solution
//*****Data*****//
V1 = 8;// [cubic m]
P1 = 300;// [kPa]
V2 = 2;// [cubic m]
//**************//
// Apptying the ideal gas Eqn. & since the Temperature remains constant:
P2 = P1*V1/V2;// [kPa]
printf("The p... |
0e2440cecfdb0c55c763e5e5e572d5fd0165c26a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH6/EX6.4/EX_6_4.sce | dec944638dc2b6d327cd9c03c8d3efe06c290997 | [] | 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 | 307 | sce | EX_6_4.sce | // Example 6.3;// feedback ratio
clc;
clear;
close;
Vo= 5;// output voltage
Vin=0.1;//input voltage without feedback
A= Vo/Vin;// Gain without feedback
Vin1=0.2;//input voltage with feedback
Af= Vo/Vin1;// Gain with feedback
Beta=( (A/Af)-1)/A;// feedback ratio
disp(Beta,"feedback ration is ")
|
9288e176a1086d0adebe6a3e468cf3b1eca66345 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/QH29DKV/ATWM1_Working_Memory_MEG_QH29DKV_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | 3f56b10eafd2fe93f2c6799716efa8288838bb0e | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 48,617 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Uncued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
ad2186b4f95409dca762df0c9a24ffc079f643e6 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /Widowbaker strafes.sce | 016d8fe982f09161ee25a5a625c36eadfc083ea9 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 44,968 | sce | Widowbaker strafes.sce | Name=Widowbaker strafes
PlayerCharacters=Quaker
BotCharacters=Bot Rotation Profile.rot
IsChallenge=true
Timelimit=300.0
PlayerProfile=Quaker
AddedBots=Bot Rotation Profile.rot
PlayerMaxLives=0
BotMaxLives=18
PlayerTeam=1
BotTeams=0
MapName=boxed.map
MapScale=10.0
BlockProjectilePredictors=true
BlockCheats=true
Invincib... |
340d1ea473779f23378a66640075a86cd7ff161c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2549/CH2/EX2.9.1/Ex2_9_1.sce | 5f13c389f795a5fab7d725313eb34328f1d01ad6 | [] | 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 | 570 | sce | Ex2_9_1.sce | //Ex2.9.1
//calculation of the width of depletion layer
clc;
clear;
Na=4*10^20;//accepter impurity atom concentration per m3
Vj=0.2;//contact potential
V=-1;//applied reverse voltage
V1=-5;
epslnR=16;//for Ge
epslnO=8.854*10^-12;//permittivity of free space
epsln=epslnR*epslnO;//permittivity of semiconductor
... |
9b5cd6a0defa37c55875638f1bb74b1f70950cb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1748/CH2/EX2.20/Exa2_20.sce | 309c35a031fe5c87c95b66216465bb96b28c1765 | [] | 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 | 532 | sce | Exa2_20.sce | //Exa 2.20
clc;
clear;
close;
//Given data :
phase=3;//no. of phase
Pin_stator=60;//Power input of stator in KW
TotalStatorLosses=1;//in KW
Pin_rotor=Pin_stator-TotalStatorLosses;//Power input of rotor in KW
S=3;//slip in %
RotorCopperLosses=(S/100)*Pin_rotor;//in KW
RotorCopperLosses=RotorCopperLosses/phase... |
8b025b3714fcc4d23c92af2a521237fe5bb2b40b | 1553f49678b55a6283e04ec177d0c4174457e834 | /códigos/minimos_quadrados_exemplo.sci | 5c0bce4ee956f6e26f6e69b41d3826135e3a8f48 | [
"MIT"
] | permissive | reneroliveira/Monitoria-ALN-2021 | c16a26c208610e7450def04c775e5550886e3ce8 | 7c746dfe07cdc08921678bf65505389f274416ce | refs/heads/main | 2023-05-13T13:01:35.401001 | 2021-06-09T17:20:06 | 2021-06-09T17:20:06 | 344,234,191 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 565 | sci | minimos_quadrados_exemplo.sci | //Exemplo de regressão linear em dados simulados
//Fixando seeds para reprodutibilidade
rand("seed",0)
grand('setsd',0)
//Geração dos dados
x = 10*rand(100,1) //x é vetor de 100 pontos aleatório uniforme(0,10)
eps = grand(100,1,'nor',0,2)
y = 7*x+2+eps //y = 7x+2+e, onde eps é vetor de 100 pts ~ Normal(0,2)
//Scatte... |
3162531d5816bae64127815b1b53439a4eafef60 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH11/EX11.28/Ch11Ex28.sce | 80f3535c7bff99840d87bcdc429d04b4cbe17495 | [] | 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 | 600 | sce | Ch11Ex28.sce | // Scilab code Ex11.28: Pg.544-545 (2008)
clc; clear;
C_c = 200; // Carbon content
d_beta = 400; // Beta decay rate, decays/min
d_r = 15.6*C_c; // Decay rate, decays/min
t_half = 5730; // Half life-time of C-14, y
n = log(d_r/d_beta)/log(2); // Number of half-lives of bone
t = n*t_half; // Age... |
5ba4130cd6fc3b05bbb83d2f3e81dec52ef82cb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1092/CH2/EX2.6/Example2_6.sce | 5936ef83fe469b16878070b90bf5e9212d1a3327 | [] | 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,623 | sce | Example2_6.sce | // Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 2: Dynamo Construction and Windings
// Example 2-6
clear; clc; close; // Clear the work space and console.
// Given data
P = 4;// No. of poles
phi = 3; // No. of phases
slots_(1) = 12; // No. of... |
20560134b9f02a596427d88aa24a17fb660103d6 | beca18778f40d44e713160c5b0e8136d8a92cad8 | /scilab/orbit.sce | 04082b3d478767dca855c6c77be3de2e48d298e0 | [] | no_license | thomasantony/enjomitch-orbiter | 9542df3dfc83ce0a6cf06ec78dca91b4c1a0babf | 83967b7bf8f8c49d1e90f7b904846e66d1ad6e37 | refs/heads/master | 2022-12-02T07:47:03.976695 | 2020-03-22T13:54:57 | 2020-03-22T13:54:57 | 286,159,679 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,626 | sce | orbit.sce | clear
exec('/home/enjo/devel/orbiter/scilab/cross.sci');
exec('/home/enjo/devel/orbiter/scilab/len.sci');
//exec('E:\devel\Orbiter\scilab\cross.sci');
//exec('E:\devel\Orbiter\scilab\len.sci');
R = 6378100.0;
M = 5.9736e24;
G = 6.67300e-11;
mu = G * M;
g = mu / R^2; // Gravit. acceleration ~ 9.8
pos = [... |
4f874f2acf0368e83359032d95ffc12e3ea6effb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.56/Example1_56.sce | 5e22b3004b6f3fc64ed3d6082d2d5fb31369757d | [] | 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 | 488 | sce | Example1_56.sce | // Example 1.56
clear; clc; close;
format('v',7);
// Given data
TmByTfl=3;//ratio
Sm=0.1;//slip at max Torque
//Calculations
TstByTfl_dol=2*Sm/(1+Sm^2)*TmByTfl;//ratio for D.O.L starter
disp(TstByTfl_dol,"Ratio of starting torque to full load torque for D.O.L starter : ");
TstByTfl=1/3*TstByTfl_dol;//ra... |
b4e1ac7e7f5352aba1d49cc0328ef91da16f43b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH5/EX5.5/Ex5_5.sce | 119b119ad3d355b0ed735fe0bca428b6d7314ae7 | [] | 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 | 270 | sce | Ex5_5.sce | //pagenumber 288 example 5
clear
av=12480;
fedbac=8;//decibel
volgai=20*log10(av);//gain without fedback
volga1=volgai-fedbac;
beta1=((av/5000)-1)/av;
disp("voltage gain with fedback = "+string((volga1))+"decibel");
disp("beta = "+string((beta1)));
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.