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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9f0ef45cf9b6b5f5c8af11e02bddf5c509cf32c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH16/EX16.4/16Q4.sce | 7c5cdbe964e3fac549b9bcb4b9d367c027950a2b | [] | 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 | 288 | sce | 16Q4.sce | clc
e=0.1
B=1
X=B-2*e
Y=1.5
B1=0.8
L1=1.5
c=30
Df=1
Nq=18.4
Ng=15.668
q=1*18
G=18
Lqs=1+e*(B1/L1)*(tand(45+c/2))^2
Lgs=Lqs
Lqd=1+e*(Df/B1)*tand(45+c/2)
Lgd=Lqd
qu=q*Lqs*Lqd*Nq+Lgs*Lgd*G*B1*Ng/2
Qu=qu*B1*L1
printf('The magnitude of the gross ultimate load = %f kN',Qu)
|
e51f9441aae26fb28df743f5f9b30ec378c02923 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH19/EX19.6/example_19_6.sce | 4b53b3c9ba90e7c8d203160ac8f3e284637815de | [] | 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 | 924 | sce | example_19_6.sce | clear;
clc;
disp("--------------Example 19.6---------------")
//address :- 205.16.37.39/28
n=8; //number of bits i.e 1 byte
a3=dec2bin(205,n); // convert decimal numbers to binary numbers
a2=dec2bin(16,n);
a1=dec2bin(37,n);
a0=dec2bin(39,n);
disp(" Binary notation of the address is "+a3+" "+a2+" "+a... |
e3e2772721363e4001a751958df54c2a443a8f06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH6/EX6.7/6_7.sce | 895f6bef7437bd5486b365d7a324866324f82814 | [] | 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 | 413 | sce | 6_7.sce |
clc
//initialisation of variables
l1= 19 //ft
l2= 1 //ft
r1= 0.298
r2= 0.238
r3= 0.359
r4= 0.242
r5= 0.121
d= 6 //in
//CALCULATIONS
m= -(-r4-sqrt(r4^2-4*(3*r1-r5)*(-(d/2)*r2-r3)))/(2*(3*r1-r5))
v2= sqrt((l1+l2)/(r1*m^2-r2))
v3= m*v2
Q2= %pi*v2/d^2
Q3= %pi*v3/d^2
Q= Q2+Q3
//RESULTS
printf ('Q2 = %.3f... |
c644d7ca1d9bdcc8acd88a56067bc859227f36ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH7/EX7.7.1/Ex7_7.sce | 51e235dfcd63e83eddc286aebb9c3289f5e9f36c | [] | 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 | 159 | sce | Ex7_7.sce | clc
clear
r=6;
G=1.4;
Ea=100*[1-(1/(r^(G-1)))];
Ebt=Ea/2;
CV=41500;
BP=15;
Mf=BP/(CV*(Ebt/100));
printf('Mf= %3.2f kg/hr',Mf*3600);
printf('\n');
|
8b2c266f3c3b94da5cc301ad3be561bf96a787b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH1/EX1.3.2/1_3_2.sci | 90962e4f252b0d4bba05faeec186a108f5ecceb3 | [] | 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 | 300 | sci | 1_3_2.sci | clear ;
close ;
clc ;
a =[1 1 1;2 2 5;4 4 8];
disp(a,'a=');
disp('x=[u;v;w]');
disp('R2=R2-2*R1,R3=R3-4*R1');
a(2,:)=a(2,:)-2*a(1,:);
a(3,:)=a(3,:)-4*a(1,:);
disp(a);
disp('No exchange of equations can avoid zero in the second pivot positon ,therefore the equations are unsolvable');
//end |
3234aa24a97313e11d767a9d969fd966afe020ce | 264ce5fd7f847a0c98e344d52433472013dc0e51 | /data_viewer/convert_data.sce | c2a906ecbb571d08ddd2d832af9f7f25f4e8bb07 | [] | no_license | JeroenDM/scilab_examples | 6c0b47113f3bdf50950960626f616a2557101f99 | 36bf54c0aa085fd7167910ee5b88a536c1917c5a | refs/heads/master | 2021-09-06T04:41:49.779588 | 2018-02-02T11:56:36 | 2018-02-02T11:56:36 | 119,973,817 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,594 | sce | convert_data.sce | // The file format of the measured data is converted to a nice format for
// scilab. A file constains several measurements / experiments that
// are separated by the "start" keyword. These are split into several files.
// File structure of measured data of two experiments
// start
// ### #### #### ... |
d37b4945827143cc7772f6583a1e69b91213ef40 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/percent/%sxr.sci | e6346eb8b2ff17f74784fffeaf37360664fa97ae | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 202 | sci | %sxr.sci | //<f>=%sxr(n1,f2)
// %sxr(,M,r) calcule le produit element par element de la matrice de
//scalaires M par la matrice de fractions rationnelles r . (M.*r)
//!
f=list(f2(1),n1.*f2(1),f2(3),f2(4))
//end
|
fa9759831514eac934545fdeee4769537fa946c1 | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /sandbox/scilab/10_mesh.sce | 74d864609e69ae8ed9eb759906dd3ca4b2f1477a | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | 10_mesh.sce | [X,Y] = meshgrid(-5:0.5:5, -5:0.5:5)
Z = sin(X) + cos(Y)*cos(X)
clf()
mesh( X, Y, Z )
xs2pdf( gcf(), "images/10_mesh_v1.pdf" )
if getscilabmode() ~= "STD"
quit()
end
|
38694fc6d530fb1016c40fe2f95ad735b1491e3e | 61129043aed87983b640a33b1c260316043fa570 | /drawing/primitives/box.sci | ce0f767436656e07048e065972a2ffaf29cdc6d5 | [] | no_license | dgerod/gfx4scilab | 7643dbb42fcbea772af12017dccf484544da6f79 | 4aafc59f241a9383de65e4fb25eefef80660bf64 | refs/heads/master | 2021-01-19T03:35:08.368764 | 2017-04-08T06:05:33 | 2017-04-08T06:05:33 | 61,438,380 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,155 | sci | box.sci | // =============================================================================
// gfx4scilab - drawing
// dgerod@xyz-lab.org.es
// =============================================================================
function [Box] = dw_Box_create(Side, T)
//
// DESCRIPTION
// Create a box primitive, it is describe... |
8b8bcf1fa8e692a736edddf3909d7dab91be9ed1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH16/EX16.8/Ex16_8.sce | a6cdd40d675a21db9a4f109e609bdd34ca08634f | [] | 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 | 237 | sce | Ex16_8.sce | //Example 16.8
lambda=10;//Wavelength (m)
T=5;//Time period (s)
v_w=lambda/T;//Wave velocity (m/s)
printf('Wave velocity = %0.2f m/s',v_w)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
fe611f609e70b99ad9cae40b7cfdb4fb937232ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH7/EX7.6/7_6.sce | 88d3cbd82577ed07c772e245a06acfb1eb036b73 | [] | 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 | 286 | sce | 7_6.sce | clc
//initialisation of variables
Q= 20 //gallons / day
i= 50000 //inhabitants
p= 10 //percent
t= 24 //hrs
T= 0.25 //in
a= 2000 //acres
//CALCULATIONS
q= Q*i*p/(100*60*60*6.24)
A= T*43560*a/12
Q1= A/(t*60*60)
Q2= q+Q1
//RESULTS
printf ('total discharge= %.2f cuses',Q2)
|
be2ae1d2c7cc932931fdd7be8f3f7e25abdb1796 | 96ddb5c7e26f4c4665fed642bcd3e7492c8b3af9 | /randsrc.sci | 580d3591fca848595fd97bc1c0a46e2ee75fa21a | [] | no_license | kUser18/comm_scilab | 8faa238d1affd5842ae20b8dbc0d59324d12b477 | c98d78ba55b73644bf32cf1f901b6c0e45d73bc2 | refs/heads/master | 2020-03-26T11:00:15.328570 | 2018-09-30T20:35:50 | 2018-09-30T20:35:50 | 144,823,988 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,345 | sci | randsrc.sci | function M = randsrc(n,m,alpha,prob,seed)
//
//Function Description
//randsrc: This function generates a matrix of random symbols.
//
//Calling sequence:-
//M = randsrc()
//M = randsrc(n)
//M = randsrc(n,m)
//M = randsrc(n,m,alpha)
//M = randsrc(n,m,alpha,prob)
//M = randsrc(n,m,alpha,prob,seed)
... |
bd0f2ae578f29c4e6d047915bec56fcf23263476 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1754/CH8/EX8.2/Exa8_2.sce | 268c4e001ae4f4db9abd0c1f2537b6555f357c29 | [] | 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 | Exa8_2.sce | //Exa 8.2
clc;
clear;
close;
//Given data
format('v',5);
L=100;//in uH
L=L*10^-6;//in H
f1=500;//in kHz
f1=f1*10^3;//in Hz
f2=1500;//in kHz
f2=f2*10^3;//in Hz
//Formula : f=1/(2*%pi*sqrt(L*C))
C1=1/(4*%pi^2*f1^2*L);//in F
C2=1/(4*%pi^2*f2^2*L);//in F
disp("Range of capacitor : "+string(C2*10^12)+" pF to ... |
a380687eb021abc91040eff01fd9d392937c523e | 23573b967e8324d44226379d70559b8f0ea34905 | /code/Symphonymat/Mining.sce | f92b93a1684fd0410fe93615ad3e8ad42e0e902e | [] | no_license | FOSSEE/FOT_Examples | 91c8b8e9dc58545604b2c2af41a7e22f702b78f3 | 75947a7aa5a3955fe5a72e09f55bbdc05e3b8751 | refs/heads/master | 2020-03-22T09:00:48.306061 | 2018-07-24T04:49:25 | 2018-07-24T04:49:25 | 139,807,736 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,808 | sce | Mining.sce | // This is an example of mixed integer linear programming problem. This problem dimension increases significantly with increase in years or mines.
//Example: A mining company is going to continue operating in a certain area for the next five years. There are four mines in this area, but it can operate at most three in ... |
159387a4eca58069c51afd6b091e3e537433cca5 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.19_6.tst | 0480a9b8abf4572ee6456104d291f43c2479f734 | [] | 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 | 429,891 | tst | 5.19_6.tst | 19 764:1 1582:1 1600:1 1795:1 2214:1 2505:1 2536:1 4173:1 4340:1 4818:1 5293:1 5436:1 5794:1 5952:1 6348:2 6355:1 6399:1 6588:1 6697:1 6850:1 7537:1 7989:1 8927:1 8971:1 9606:1 10167:1 10236:7 10714:1 11272:1 11767:1 12715:1 13945:1 13974:1 14167:1 15119:1 16467:1 16949:1 17915:1 19190:1 19644:87 19863:1 20072:1 20553:... |
a223d33e515955024f2aef90844a1caa5ddfb884 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH3/EX3.12/3_12.sce | 48e45dd3a4779408d84ba072d4d331a86510ca8b | [] | 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 | 338 | sce | 3_12.sce | errcatch(-1,"stop");mode(2);//Chapter 3, Problem 12
t=18 //tempreture in celsius
R1=200 //resistance in ohm
Rt=240 //resistance in ohm
tc=0.0039 //tempreture coefficient of resistance
t1=((Rt-R1)/(R1*tc))+t
printf("Tempreture = %.2f degree celsi... |
cba7e15123a4a8548c1051cda24086c04cbd43f5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH4/EX4.4/Ex4_4.sce | 532a31e96119162d909ec989630cc059aa9a342f | [] | 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 | 656 | sce | Ex4_4.sce | //Chapter 4: Selection of Motor Power Rating
//Example 4
clc;
//Variable Initialization
Cr=60 //Heating time constant in minutes
Cs=90 //Cooling time constant in minutes
P=20 //Full load in kW
//Solution
//Part-i
a=0
tr=10 //Time to deliver in minutes
x=exp(-tr/Cr)
K=sqrt(1/(1-x)... |
85e9603fd7b03799918733ee08a234fbc12ee0a4 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/tests/bezout.tst | b96f88a95041023d8855663dc3162773ad421563 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 4,518 | tst | bezout.tst | //FICHIER_DE_TEST ADD NAME=bezout.tst,SSI=0
mode(5)
//test
un=poly(1,'s','c');
zer=0*un;
s=poly(0,'s');
[p,q]=bezout(un,s);
if norm(coeff([un s]*q-[p 0]))>10*%eps then pause,end
[p,q]=bezout(s,un);
if norm(coeff([s un]*q-[p 0]))>10*%eps then pause,end
[p,q]=bezout(un,un);
if norm(coeff([un un]*q-[p 0]))>10*%eps then pa... |
9afb978afeb52e048ff65632b573cc934d11367a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2090/CH4/EX4.14/Chapter4_Example14.sce | 1e45f27c9b78a2fb829d924d01f38bc9dca9e33d | [] | 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,245 | sce | Chapter4_Example14.sce | clc
clear
//Input data
r=8;//The compression ratio
T1=350;//The given temperature at the start of compression in K
p=1;//The given pressure at the start of compression in bar
f=0.08;//The exhaust residual fraction
cv=44000;//The calorific value in kJ/kg
//Calculations
W1=150;//Isentropic compression functi... |
0046532578473dab6323ad23eb4d7c28d1cbddf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH1/EX1.6/1_6.sce | 5082dd0b0a9682b6471e25ad946dc2352f725db4 | [] | 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 | 255 | sce | 1_6.sce | clc
//initialisation of variables
n= 10 //moles
T= 300 //K
V= 4.86 //l
R= 0.08205 //atml/molK
v= 0.1417 //l
T1= 305.7 //K
//CALCULATIONS
b= v/2
a= 2*v*R*T1
P= ((n*R*T)/(V-n*b))*2.71^(-a*n/(V*R*T))
//RESULTS
printf (' Pressure = %.1f atm',P)
|
d725634a7991628a4425ffd432c494766a4aab5c | da5b40d917ec2982828bd9bdf06b18b7bf189f26 | /sim/scripts/volumebalance.tst | 36cdb64e26146f325ec89abdb442fba3839cab38 | [] | no_license | psy007/NNPC-CHEMICAL-SIM- | 4bddfc1012e0bc60c5ec6307149174bcd04398f9 | 8fb4c90180dc96be66f7ca05a30e59a8735fc072 | refs/heads/master | 2020-04-12T15:37:04.174834 | 2019-02-06T10:10:20 | 2019-02-06T10:10:20 | 162,587,144 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,672 | tst | volumebalance.tst | $thermo = VirtualMaterials.Advanced_Peng-Robinson
. -> $thermo
cd thermo
cd $
cd /thermo
/thermo + METHANE ETHANE PROPANE n-HEXANE n-HEPTANE n-OCTANE n-NONANE
cd /
mixer1 = Mixer.Mixer()
cd mixer1
NumberStreamsIn = 3
/mixer1.In0.P = 100
/mixer1.In1.P = 110
/mixer1.In2.P = 105
cd /mixer1.In0.Fraction
/mixer1.In0.Fracti... |
f428c37935f8f686b95f61dd5c1e4ed6b93b42b3 | 9d0ab5efb08cc05ae362e8a981bdf5fa2debd7f6 | /02/Add32.tst | 5c84da6a6a528d68dbf4af657539e54f195f7c99 | [] | no_license | nandha1nks/Nand2Tetris | bca96e324a1ff7ed425e33a37e3b7579d38fd29f | 82769b7a4e69b11c0bacd100991dfdf2b36a5f1d | refs/heads/master | 2023-01-02T11:57:25.843133 | 2020-10-29T10:10:27 | 2020-10-29T10:10:27 | 295,441,600 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,054 | tst | Add32.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/02/Add16.tst
load Add32.hdl,
output-file Add32.out,
//compare-to Add32.cmp,
output-list a1%B1.16.1 a0%B1.16.1 b1%B1.16.1 b0%B1.16.1 out1%B1.16.1 out0%B1.16.1;
set... |
b293770bab39b27d6ce03bfec9bc720d2c984dee | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH5/EX5.7.s/5_07_solution.sce | 758558a748a035549cdaa49a7d8dbeca55735cf5 | [] | 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 | 855 | sce | 5_07_solution.sce | //Solution 5-07
WD=get_absolute_file_path('5_07_solution.sce');
datafile=WD+filesep()+'5_07_example.sci';
clc;
exec(datafile)
P_atm = P_atm * 1000; //conversion from [kPa] to [Pa]
D = D / 1000; //conversion from [mm] to [m]
V = V / 1000; //conversion from [litres] to [m^3]
//(a)
V_2 = sqrt(2 * g * z_1); //Toricelli equ... |
a81a8de6140cae0a4fa2cce62e4266d0c24a87ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH33/EX33.2/Ex33_2.sce | 55887eda667e0f51de33c0b326ff87bc9e5d1963 | [] | 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 | 413 | sce | Ex33_2.sce | //Example 33.2
//V_gap=Sum of gap voltages/Number of gaps
//Sum of gap voltages=800MV, since to produce a 800MeV proton beam, the proton gains 1eV per volt across each gap it passes through
//Number of gaps=2000
V_gap=800*10^6/2000;
printf('The average voltage to be applied between the tubes = %d kV',V_gap/1000)
... |
13c6c293b6f6fa55788020ddccfa39af5e78b948 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/tf2des.man.tst | 0ec82a0640896c85b8ac510099af0579290d781b | [
"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 | 110 | tst | tf2des.man.tst | clear;lines(0);
s=poly(0,'s');
G=[1/(s-1),s;1,2/s^3];
S1=tf2des(G);des2tf(S1)
S2=tf2des(G,"withD");des2tf(S2)
|
138c985629fbdb3686b884094dd7acc825404abf | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P4 - Linear equations systems: direct methods/Implementaciones/4- Cholesky.sci | 33ce5301e48d798b470ff1591eef3894742ffa5d | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,122 | sci | 4- Cholesky.sci | function [U] = cholesky(A, eps)
//En matemáticas, la factorización o descomposición de Cholesky toma su nombre del matemático André-Louis Cholesky, quien encontró que una matriz simétrica definida positiva puede ser descompuesta como el producto de una matriz triangular inferior y la traspuesta de la... |
71319443c4ba9a6d8488faa0bab641a06fa521f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1478/CH2/EX2.18.7/2_18_7.sce | 6bffb35a33c5c6f66da68926432b79d4f0fd7ec2 | [] | 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 | 381 | sce | 2_18_7.sce | //water and its treatment//
//example 2.18.7//
clc
Hardness_ppm=304//ppm in terms of CaCO3//
Cl=0.07*Hardness_ppm//0.07 °Clarke =1 ppm//
Fr=0.1*Hardness_ppm//0.1 °French =1 ppm//
mgperlit=Hardness_ppm
printf("Hardness in terms of °Clarke %.2f °Cl",Cl);
printf("\nHardness in terms of °French %.1f °Fr",Fr);
prin... |
b3cf682afae81817f7b1c05d9509ad034819c671 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH2/EX2.21/exa2_21.sce | ef338d3d4283ebc74a87886e8a9c8805083f3fd2 | [] | 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 | 166 | sce | exa2_21.sce | //Example 2-21//
//Decimal to hexadecimal conversion//
a=dec2hex(72905)
//hexadecimal equivalent of the decimal number//
disp(a)
//answer in hexadecimal form//
|
af1edcbaf4304b90bf13fe3222002dfbefe91d39 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH5/EX5.3/5_3.sce | 704c91bd4a3e84e47b178e4275459e4b002c81d5 | [] | 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 | 255 | sce | 5_3.sce | clc();
clear;
// To calculate the penetration depth
lamda_T=75; // penetration depth in nm
T=3.5; //temperature in K
HgTc=4.12; //in K
lamda_0=lamda_T*sqrt(1-((T/HgTc)^4));
printf("the pentration depth at 0k is %f nm",lamda_0);
|
11b20772a239ef717e008076a2158fddf02fe5aa | da80ade9da8af4cacd3e50446f56898e894a1014 | /code_fonctions_partie_1.sce | d9cdb5c133ddb3d3968c907029d9b402d0e9f0dd | [] | no_license | RichaMax/TP_MNB_s2 | 207c1d25418d1f16092b2745d40e0abf1936d42a | de2a59d0691d2f3c684313645e68edddc8050462 | refs/heads/master | 2021-09-13T17:37:14.520456 | 2018-05-02T15:57:29 | 2018-05-02T15:57:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,894 | sce | code_fonctions_partie_1.sce | //question 3
//creation de la fonction rhs
function [F]=rhs(Y)
F(1)=Y(3);
F(2)=Y(4);
F(3)=-max((Y(1)-Y(2)),0).^(3/2);
F(4)=max((Y(1)-Y(2)),0).^(3/2);
endfunction
//fonction caclulant la matrice des solutions par le schéma
//d'euler explicite
function [sol]=eulerexp(Y,T,h)
N = T/h;
sol = ones(N... |
3628a95091fa38861619e7ba377129132e97c7db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH11/EX11.5/115.sce | a370d96bc42a347bf54341acb74a7f2260bffbf3 | [] | 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 | 267 | sce | 115.sce | clc
//Example 11.5
//Page no. 116
printf("Example 11.5-Page no.1 116\n\n")
//given
//specific volume(V),temperature(T),pressure(P)
V=12.084//ft^3/lb
T=70//degree F
P=1//atm
R=0.73
T=T+460//rankin
Mw=(R*T)/(P*V)
printf("molecular weight of gas Mw=%f",Mw)
|
b33ebe97b0fe255c3982f88b43f9f0b1f61ff73e | 1ccfcf39e5941044f7809d7bd29f3a001877ffac | /experimento_01/eco.sce | d7a16183d08ee2f770855c83fd4162cc23078663 | [] | no_license | victoribeir0/experimentos_pds | 9ebe7aa4f678fa7e39942398543217bc2d6807a7 | 283fcfd16b743ae8cc864e0f5abcac955c8552d0 | refs/heads/main | 2023-04-30T01:48:48.984254 | 2021-05-01T09:25:13 | 2021-05-01T09:25:13 | 351,879,262 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 804 | sce | eco.sce | /*
Eco com filtro comb.
x = Sinal de entrada.
d = Atraso (em amstras).
t = Tempo de decaímento (em amostras).
f = Feedback, controla o quanto do sinal atrasado é incluído na efeito.
y = Sinal de saída com eco.
*/
function y = eco(x,d,t,f)
N = length(x); // Dimensão do sinal.
... |
3f15588c6f1c789432d4094d378bfc068d3cbbdb | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH4/EX4.1/Ex4_1.sci | 713288c360dc6c4ceeb2cb5c71e0e9441209dc8a | [] | 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 | 770 | sci | Ex4_1.sci | clc();
clear;
// To measure an unsteady state temperature with a thermometer and half value time
// Half value time is the time within which the initial difference etween the true and indicated temperature is reduced to half its initial value
l = 0.01/2; // Length of cylindrical tube ... |
a05a1d513d732bcd51424b039448b7e7243e21b7 | 78ff3e16a288175ff606f38ee5ee877d4844773e | /12_chapter/12_04_solution.sce | 2c12d3f3410fd08e4c17671a05ea6d8d146c8ab8 | [] | no_license | rngalvan/fluid-mech-cengel | 16c12ed8f71f25c812700be4322328c5663b71cf | ee45f924e73cbb8b5716fac43504dac15ffd1f64 | refs/heads/master | 2021-05-27T20:52:22.586023 | 2013-04-17T04:25:37 | 2013-04-17T04:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,453 | sce | 12_04_solution.sce | //Solution 12-4
WD=get_absolute_file_path('12_04_solution.sce');
datafile=WD+filesep()+'12_04_example.sci';
clc;
exec(datafile)
//unit conversions
P_i = P_i * 10**6; //from [MPa] to [Pa]
c_p = c_p * 10**3; //from [kJ/kg.K] to [J/kg.K]
T_i = T_i + 273; //from [C] to [K]
A = A * 10**-4; //from [cm^2] to [m^2]
R = R * 10*... |
84b232da9cc2ef3bf6b0bf989df4620011085a2c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH4/EX4.3/Ex4_3.sce | 0baf633a8d74e08d8e0d2a0f7d4f0e6d09be024f | [] | 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 | Ex4_3.sce | //=======================================================================
// chapter 4 example 3
clc;
clear;
//input data
E0 = 300*10^2; //local field in V/m
P1 = 3.398*10^-7; //dipole moment Coulomb/m
P2 = 2.124*10^-5; //dipole moment Coulomb/m
e0... |
8dc001256e3f63825cc1b6ca24f73b798cb29e71 | 91bba043768342a4e23ee3a4ff1aa52fe67f7826 | /cs/142/1/tests/test8.tst | 6f373fc26cb22b4380921d3e9b656f8411044fda | [] | no_license | MaxNanasy/old-homework | 6beecc3881c953c93b847f1d0d93a64ec991d6de | 48b7997a49a8f111344f30787c178e1661db04bd | refs/heads/master | 2016-09-08T04:37:44.932977 | 2010-03-02T00:48:59 | 2010-03-02T00:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | tst | test8.tst | CSE 142: Compilers ; Interpreters
Fall 2008
School of Information and Computer Science
University of California, Irvine
; School of ICS ; Center for Embedded Computing ; Courses ; Contact ; Links ; About Shannon ;
... |
e89cee3e4564932eed62c298e52e0f8bf55f0e18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH6/EX6.13/6_13exam.sce | 2cc7c42d38a6d6014ef8e83ca478eb1fddcccb41 | [] | 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 | 886 | sce | 6_13exam.sce | //Engineering and Chemical Thermodynamics
//Example 6.13
//Page no :287
clear ;clc ;
//Given
C1 = 1.596 ;
C2 = 1.591 ;
C3 = -74.40 ;
C4 = -0.561 ;
A = [ 0 ,0.1 ,0.2 ,0.3 ,0.4 ,0.5 ,0.6 ,0.7 ,0.8 ,0.9 ,1] ;
m = (-C1 + C2 + C3 * ( C4 * 0.25)) * 1000 ;
disp(" Example: 6.13 Page no : 287") ;
for i = 1:11 ... |
f76a52b7fe51fa9484cd04dba48809d5e432c4fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH2/EX2.11/2_11.sce | b865b5850a03cb0bd6d0501cf247565e680c57d2 | [] | 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 | 362 | sce | 2_11.sce | //2.11
clc;
Idc=50;
Vdc=10*1000/Idc;
Vm=200*%pi/2;
PIV_central_tap=2*Vm;
V_rating_central_tap =2*PIV_central_tap;
printf("The rated voltage of full wave central tap transformer rectifier = %.2f V", V_rating_central_tap )
PIV_bridge=Vm;
V_rating_bridge=2*PIV_bridge;
printf("\nThe rated voltage of full wave bri... |
dd582507d8c4f48f0dddd5ee2ced601b05c64f29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH12/EX12.12/12_12.sce | be6b3628e9bbad8d08659bdd0a5c17671d1d8f77 | [] | 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 | 905 | sce | 12_12.sce | //pathname=get_absolute_file_path('12.12.sce')
//filename=pathname+filesep()+'12.12-data.sci'
//exec(filename)
//Pressure at which steam is supplied(in kPa):
p1=1.5*10^3
//Pressure at exhaust(in kPa):
p4=25
//Power output(in kW):
P=250
//Expansion ratio:
r=12
//Diameter of LP cylinder(in m):
d=0.40
//Strok... |
60206038dbd986d808989f5d748f47c0808bf2bb | b32474ae2727233775f44c71edfe1f10b6a3430f | /newton.sce | 4ff1861b5d2c7756741dcd4029cb906fb3cc8924 | [] | no_license | lucaslyon96/scilab | 8400b98c25dafa13069dd64bd391c15218323575 | 8fe45fd3bd27ab21490682874f72f9c20c8717e1 | refs/heads/master | 2020-03-18T12:25:20.253687 | 2018-05-24T14:49:08 | 2018-05-24T14:49:08 | 134,725,468 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | newton.sce | function [s]=newton(x,y,p)
n=length(x)
tabdifdiv=difdiv(x,y);
s=y(1);
for i=2 :n
m=1
for j=1 :i-1
m=m*(p-x(j))
end
s=s+m*tabdifdiv(1,i)
end
endfunction
|
eb0632789c48b5d151c28b4072cd8bed71fa2f8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH4/EX4.71/Ex4_71.sce | eb8bb0baf11c16d7e6b5ad8ce5dcebf565c8c509 | [] | 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 | 445 | sce | Ex4_71.sce | clc;
v=440; // rated voltage of mootor
no=2000; // no load speed
n1=1000; // speed at full load torque
Tl=0.5; // load torque as a fraction of rated torque
n2=1050; // increased speed due to redued torque
// field current is constant so flux is constant
// since torqu gets reduced by half new armature current al... |
29280663c179c472a12d7371b9f4fc4846eb3ddb | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH7/EX7.7.a/Example7_7_a.sce | 1d5dc87b0df6495e13b139cf92eb1ee683fb8b45 | [] | 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 | 629 | sce | Example7_7_a.sce | //Example 7.7(a)
clear;
clc;
R1=100*10^3;
R2=200*10^3;
R3=68*10^3;
enw=20*10^(-9);
fce=200;
ft=1*10^6;
inw=0.5*10^(-12);
fci=2*10^3;
Rp=(R1*R2)/(R1+R2);
Ano=1+(R2/R1);
fB=ft/Ano;
fL=0.1;
Enoe=Ano*enw*sqrt([{fce*log(fB/fL)}+{1.57*fB}-fL]);
Enoi=Ano*[{(R3^2)+(Rp^2)}^(1/2)]*... |
65c2873a397f1be3b678b912b603f418213d7b9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH4/EX4.14/14.sce | c7ad70abd7850a967d800b198b32541e1e62cfbb | [] | 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 | 194 | sce | 14.sce | clc
dT=25; //0C
Q=30; //kJ
cv=1.2; //kJ/kg.0C
m=2.5; //kg
dU=m*cv*dT;
disp("change in internal energy = ")
disp(dU)
disp("kJ")
W=Q - dU;
disp("Work done = ")
disp(W)
disp("kJ") |
9dd34f6c1395a8334016709e2a1cdfc5a83d5ba0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.20/example5_20.sce | 6b1f9a67c6327892f6e1e2afaf18b6cc0c9c1004 | [] | 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 | 435 | sce | example5_20.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.20
// Page 247
printf("Example 5.20, Page 247 \n \n");
// solution
// basis 200 kg/h of Sulphur firing
F = 200/32 // kmol/h
O2req = 6.25*1.1
airin = O2req/.21
N2in = airin-O2req
T1 = 1144.15
T2 = 463.15
fi = 788852.2 //... |
cc436ff297b2412bc9a458e78af38e1aaa9a4006 | 5e5d0c8fc622434cd3e215d485ab5df6fdf1b52c | /differentLevelsProjectile.sce | bdf42a9df1965387513cff732707475d3a87de61 | [] | no_license | riderstubley1995/EUN223 | 2908961cd57ca1221aefd43b30a828f23c982743 | 60d79fa1138254c1d4978f120f9a7391bdf19610 | refs/heads/master | 2020-09-01T22:44:31.559926 | 2019-11-03T09:01:09 | 2019-11-03T09:01:09 | 219,077,341 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,862 | sce | differentLevelsProjectile.sce | function[] = differentLevelsProjectile(velocity,angle,initialheight,finalheight)
//takes launch velocity, launch angle, initial height and final height
//clears the plotting arrays
clear x1;
clear y1;
//sets up the graph
scf(1);
title("Projectile Motion of a ball across levels"); //La... |
68cc50ae1ba26b1935262165f0df0cb1e9c6dad1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH4/EX4.15/ex4_15.sce | 328ee24357eaffb19f1b8f141854b87dd321e81c | [] | 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 | 196 | sce | ex4_15.sce | // Example 4.15 page no-228
clear
clc
a=2*10^-4 //cm
rho = 10 //Ohm-cm
eps=12/(36*%pi*10^11)
mup = 500 //cm^2/V-sec
ena=1/(rho*mup)
vp= (ena*a^2)/(2*eps)
printf("Vp = %.2f V",vp)
|
7dc1a062a40843ca1c34de39483c5dad9f3bb459 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH5/EX5.5/5_5.sce | 1192db8723e3f791b41596ea507011cab4e5df1e | [] | 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 | 323 | sce | 5_5.sce |
clc
clear
//Initialization of variables
R=8314.3
b=0.0306 //m^3/kmol
a=0.548*10^6 //pa m^6/kmol^6
T=973.1
P=25*10^6 //Pa
//calculations
Vi= R*T/P
x=poly(0,'x')
vec=roots(P*x^2 *(x-b) +a*(x-b) - R*T*(x^2))
volume= vec(1)
dH=8.0906*10^6 -P*volume +0.548*10^6 /volume
//results
printf("Change in enthalpy = %.2e J/kmol",d... |
56c6b80326895b29ed5669553b26c6b17171e18c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1991/CH7/EX7.7/7.sce | 1bc46b3cacdf98e10973f5da2cf3a72af292e57a | [] | 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 | 236 | sce | 7.sce | clc
clear
//input
l1=82.3//balance length with switch open
l2=75.8//balance length with switch closed
R=9//resistance
//calculation
r=(R*l1/l2)-R//internal resistance
//output
printf("the internal resistence is %3.3f ohm",r)
|
e07677cb9d1390c27295c622255c298ed4099f6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH5/EX4.6/EX4_6.sce | 017e2f286aa59dead603e7c197cddcdf09d86782 | [] | 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,048 | sce | EX4_6.sce | // Grob's Basic Electronics 11e
// Chapter No. 04
// Example No. 4_6
clc; clear;
// Assume that the series circuit in Fig. 4–20 has failed. A technician troubleshooting the circuit used a voltmeter to record the following resistor voltage drops. V1=0 V; V2=0 V; V3=24 V; V4=0 V. Based on these voltmeter readings, wh... |
e11c85e4bc9bd7a990221c479c81ac29deab8aa7 | 377a111fb7585caf110377625ad0e261a44e93ed | /herbie/lockwood/aim_optimization/Lockwood/BASIC/anthophytaWorkspace/input.tst | ce4fbf27b19c10e890ad59e5a7226ecc59c02bb8 | [] | no_license | gasduster99/theses | ba385499ea0a502b9067c243f7100d82ff1ef4ce | 9c5f8b5d7564292e2e36547ed8d5563a8639f158 | refs/heads/master | 2023-08-25T18:14:09.741032 | 2023-08-22T05:33:06 | 2023-08-22T05:33:06 | 217,375,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 56 | tst | input.tst | 6
1284.301
8471.741
15081.59
5337.953
7425.453
8893.748
|
ff4d2dc14c5df831e00fb5723cdff3449af8bac6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH15/EX15.7/Example_15_7.sci | 16e63758485ef9867d1f1bb4a5b0f0c3d1e0454d | [] | 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 | 262 | sci | Example_15_7.sci | clear;
clc;
printf("\n Example 15.7");
l = poly([0],'l');
l1 = roots(log(780/220)-[l*(463-433)]/[8314*463*433]);
printf("\n λv = %d kj/kmol",l1);
P = poly([0],'P');
P1 = roots(P-220/exp(70340*(433-393)/(8.314*433*393)));
printf("\n P = %d kN/m^2",P1); |
69d1b09d0a6cb341331fc697123bb8fe0d4dffa4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH13/EX13.20/Example13_20.sce | d79f36a79952032107bdbca0b123b3d474e567b2 | [] | 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 | 323 | sce | Example13_20.sce | //Input voltage Vin, Output voltage Vout, Output current Iout
close();
clear;
clc;
Vin = 220;//V
V1 = Vin;
Vout = 110;
V2 = Vout;
Iout = 10;//A
I2 = Iout;
a = V1/V2;
//weight_auto/weight_trans = 'weightr'
weightr = 1 - (2/a)/2;//since N1/N2 = I2/I1 = a
mprintf('We have %0.0f %% saving in copper',weightr*10... |
3ea959fbd908d69fd077def971118038a4f0047b | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/CompressibleFlowSolver/Tests/IsentropicVortex16_P3_GAUSS.tst | 39604a86ffd445c192d325a0fad4916d68cfe635 | [
"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,038 | tst | IsentropicVortex16_P3_GAUSS.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Euler Isentropic Vortex P=3 GAUSS</description>
<executable>CompressibleFlowSolver</executable>
<parameters>IsentropicVortex16_P3_GAUSS.xml</parameters>
<files>
<file description="Session File">IsentropicVortex16_P3_GAUSS.xml</file>
... |
b5fb3b5b83bead216628b86dedc1b7d0e41a99b3 | 5f2ca8e18735204f5995ac7e44a6e301eb23ea0b | /xcos/tests/aerodynamics_model.tst | 735345e76d512da850191c78caf8681ba0fd3a78 | [] | 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,462 | tst | aerodynamics_model.tst | //<-- NO CHECK REF -->
exec('models/aerodynamics_data.sci');
ref_csv = read_csv('tests/aero_coefs.csv');
nlin = size(ref_csv)(1);
for i = 2:nlin
alpha_deg = strtod(ref_csv(i,1));
beta_deg = strtod(ref_csv(i,2));
elev_deg = strtod(ref_csv(i,3));
ail_deg = strtod(ref_csv(i,4));
rudder_deg = strtod(ref... |
bb8e373d4e848972096148c37e714b66aeabcf6b | b513eb49824ff62ddd2289a920c92cfcb362d5f2 | /magister/course_1/litvinov/course_project/scilab/plot.sce | 7dc99811afbcdf146713bde181637055a0ecc0d8 | [] | no_license | kirillin/ifmo | 6264ac42ec2031777145b39d4930f2f645e1d316 | 633919ba09d43814298c3a2145d5d6f72b5b068e | refs/heads/master | 2021-01-12T09:32:27.270130 | 2018-11-18T12:17:46 | 2018-11-18T12:17:46 | 76,181,268 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | plot.sce | plot([0,1], [0.95, 0.95], "b--")
plot([0,1], [1.05, 1.05], "b--")
plot([t_p, t_p], [0, 2], "r--")
plot([0,1], [1.1, 1.1], "r--")
plot([0,1], [1, 1], "s-")
plot(Q.time, Q.values(:,1), "k")
plot(Q.time, Q.values(:,4), "b")
|
918dc196f93a509c431f728b78a9e78d3d0d7c68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2330/CH6/EX6.3/ex6_3.sce | 54300619750b44f10883a9eaa6eebcdc5dbfa3e8 | [] | 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 | 358 | sce | ex6_3.sce | // Example 6.3
format('v',6)
clc;
clear;
close;
// given data
R= 10*10^3;// in Ω
V_CC= 15;// in V
V_BE= 0.7;// in V
Vt= 25*10^-3;// in V
Vp= 1*10^-3;// in V
I= (V_CC-V_BE)/R;// in A
r_ac= Vt/I;// in Ω
// The total current through diode
Ip= Vp/r_ac;// in A
Ip= Ip*10^6;// in µA
disp(Ip,"The total current... |
18bb5ae0d293eb73337d842e467203d76a95c770 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/enbw/enbw13.sce | 2ab68b0f2521fbfe78e7241c2e0b8b1c8f680758 | [] | 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 | 153 | sce | enbw13.sce | a=['a' 'b' 'c'];
en=enbw(a);
//output
//!--error 10000
//Input arguments must be double.
//at line 24 of function enbw called by :
//en=enbw(a);
|
ddd158afc69ef8c8830e37c51dbd21baa208a323 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/equal.man.tst | fe4a841002bc8b89cee940fc4c386331b96b82ec | [
"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 | 65 | tst | equal.man.tst | clear;lines(0);
a=sin(3.2)
[u,s]=schur(rand(3,3))
[1:10]==4
1~=2
|
59719138cd76a16ebd5216e2df93ba57ce62df38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.5.2/Ch1Exa1_5_2.sci | 11a6c5168fb30e0548c192115d70f2f7e6326455 | [] | 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 | 515 | sci | Ch1Exa1_5_2.sci | // Scilab code Exa1.5.2 : Calculation of energy required to break C-12 into 3-alpha particle : Page 37 (2011)
amu = 1.49239e-010; // Atomic mass unit, J
M_C = 12; // Mass of C-12, amu
M_a = 4.0026; // Mass of alpha particle, amu
M_3a = 3*M_a; // Mass of 3 alpha particle, amu
D = M_C-M_3a; // Difference in two m... |
0161aca6e32816a1e52c6889a07ba92b97888c24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH5/EX5.1/ex5_1.sce | 46370b8c075254aea00c3b104e3a552bb8f067e7 | [] | 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 | 439 | sce | ex5_1.sce | stacksize('max');
C=2*10^-12;
L=5*10^-9;
R=20;
Z0=50;
//f=[10^7:10^8:10^11];
//define frequency range
f_min=10e6; //lower frequency limit
f_max=100e9; // upper frequency limit
N=100; // number of points in the graph
f=f_min*((f_max/f_min).^((0:N)/N)); // compute frequency points on log scale
w=2*%pi.*f... |
6aac91028472ca437baf4aa2178590fa500248f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH2/EX2.4.a/Solved_Ex2_4a.sce | fdd84d7d3e087c1992f8982144686fe56a7928b8 | [] | 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 | 549 | sce | Solved_Ex2_4a.sce | //find power and energy of periodic signal x(t)=exp(-2t)*u(t)
clc;
//To plot signal*************************//
t=-5:0.01:5;
x=exp(-2*t).*(t>=0);//given signal
plot(t,x);
//**************************************//
t=-50:0.01:50;
x=exp(-2*t).*(t>=0);
T=length(t);
//To calculate Energy
xsq=x.^2;//adds squares... |
e30535f1b3837e3069a73318f75abeee71f769bd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH4/EX4.7/EX4_7.sce | c8f469ba84310c4636055a3e5f57d6750d75bf88 | [] | 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 | 236 | sce | EX4_7.sce | //Finding pf Metacentric Height
//Given
d=3;
h=2;
spgr=0.7;
h1=h*spgr;
pi=3.14;
//To Find
h2=h/2;
h3=h1/2;
h4=h2-h3;
mh=(pi*d^4)/64;
vwd=(pi*d^2*h1)/4;
mg=(mh/vwd)-h4;
disp("Metacentric Height is ="+string(mg)+" meter");
|
72cf430f5165aad3b508790e3cd5da17e3c76010 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH7/EX7.6/Example7_6.sce | e82eac701ab97420d56965680c01354102c53288 | [] | 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 | 803 | sce | Example7_6.sce | //Given that
g = 9.8 //in m/s^2
m = 500 //in kg
Vi = 4 //in m/s
a = g/5 //in m/s
d = 12 //in meter
//Sample Problem 7-6a
printf("**Sample Problem 7-6a**\n")
//Using the definition of the work done
Wg = m * g * d
printf("The work done by the gravity during the fall is %eJ\n", Wg)
//Sample Problem 7-6... |
077861cdc1927cbd2326753fb0da6498df12e5d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH1/EX1.1.a/ex1_1_a.sce | dfe434e63e7533d563e053b6649c9b5165bc30b8 | [] | 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 | 495 | sce | ex1_1_a.sce | //Example 1.1(a)
clc;
Yn=80; //Expected value
Xn=79; //Measured value
e=Yn-Xn; //Absolute error
pe=e*100/Yn; //Percentage error
RA=1-(e/Yn); //Relative Accuracy
pa=RA*100; //Percentage Accuracy
printf('\nExpected value = %.2f V\n',Yn)
printf('\nMeasured value = %.2f V\n',Xn)
printf('\n... |
f1b2d79b1323d1cdcead2102c023477c53631fa4 | c557cd21994aaa23ea4fe68fa779dd8b3aac0381 | /test/deleteall.tst | 3e98e18a951e221ff624e771b4886e9bbc9d1860 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | dougsong/reposurgeon | 394001c0da4c3503bc8bae14935808ffd6f45657 | ee63ba2b0786fa1b79dd232bf3d4c2fe9c22104b | refs/heads/master | 2023-03-09T15:22:45.041046 | 2023-02-25T08:33:06 | 2023-02-25T08:33:06 | 280,299,498 | 1 | 0 | NOASSERTION | 2023-02-25T08:33:08 | 2020-07-17T01:45:32 | Go | UTF-8 | Scilab | false | false | 164 | tst | deleteall.tst | ## Test if commands handling tree contents understand deleteall
set echo
read <deleteall.fi
set interactive
:13 manifest
[/^README/a] resolve
[/^README$/a] resolve
|
204ec481d65c61111a82fa151c279c08caab7cc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH3/EX3.9/Ex3_9.sce | 53f90decab6eca7ab1a6d3de3532244d5fa21a15 | [] | 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 | 988 | sce | Ex3_9.sce |
// Examle 3.9
Is=3; // Source current
Rs=2; // Source resistance
Vs=Rs*Is; // Source voltage
Rl=4; // Load resistance
R=(Rs*Rl)/(Rs+Rl); // Eqviualent resistance
Il1=(Is*Rs)/(Rs+Rl); // Load current i... |
139d7ebbe207d602a5b542c670305e206a91bcd5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /842/CH1/EX1.2/Example1_2.sce | 597370f3decd056f6c5c4d1bae4883eab51dd7fe | [] | 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 | 413 | sce | Example1_2.sce | //clear//
//Example 1.2:Time Scaling
//SIGNALS & SYSTEMS, Second Edition
//V.OPPENHEIM, S.WILLSKY, S.HAMID NAMWAB
//PHI, 2008 Edition
//Page 11
clear;
clc;
close;
t3 = 0:1/100:4/3;
t4 = 0:1/length(t3):1;
Mid =ceil(length(t3)/2);
for i = 1:Mid
x3(i) = 1 ;
end
for i = Mid+1:length(t3)
x3(i) = 1-t4(i-M... |
420e76405821a95882cb2e2f1c4af434277b6e8b | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH2/EX2.23/EX2_23.sce | 663dc4e689de7567517385359557c11635b39300 | [] | 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 | 982 | sce | EX2_23.sce | //Calculate the speed
//Chapter 2
//Example 2.23
//page 127
clear;
clc;
disp("Example 2.23")
V=200; //voltage in volts
Ia=20; //armature current in amperes
Ra=0.5; //armature resistance in ohms
Rse=0.2; //field winding... |
6d45c5134c4aad57b55036b574b5447967427a31 | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test3-6.tst | 52941c8b3ec18006090f212fe5b561a3afb7229c | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | tst | test3-6.tst | main
array[16] f;
var i;
{
let f[0] <- 0;
let f[1] <- 1;
let i <- 2;
while i < 16 do
let f[i] <- f[i - 1] + f[i - 2];
call outputnum(f[i]);
let i <- i + 1
od
}.
|
33ad6fb5cb6a77259335fc0f63548a98f0156459 | 449d555969bfd7befe906877abab098c6e63a0e8 | /49/CH7/EX7.4/ex4.sce | de5b2e83282021b2857374792de567ab0a7d6131 | [] | 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,666 | sce | ex4.sce | //CHAPTER 7_ Flow Measurement
//Caption : Gross volume flow rate(venturi)
// Example 4// Page 439
dt=0.15 //('entering the throat diameter=:')
dp=0.3 //('entering the upstream diameter=:')
Cd=0.95;
B=0.5;
pm=13600 //('entering the density of manometer fluid=:')
At=%pi*dt^2/4;
g=9.81;
pf=995.8 ... |
c021bf4f73b19f198e8469eb328244cfe025cbc3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH5/EX5.3a/5_3a.sce | 8939bafda99950cc7346b98887ae4617e6a0dd62 | [] | 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 | 676 | sce | 5_3a.sce | clc;
//page 222
//problem 5.3.a
// refer fig from page no. 212 Fig.5.4a
// The values of constsnts Kf and Kp are given as Kf= 2*pi*10^5 and Kp=5*pi .
// Here we are assuming the Bandwidth B of m(t) as the frequency of the third harmonic, i.e. 3(10^4/2)Hz= 15kHz
B=15;// in kHz
// For FM:
// Here peak amplitude ... |
6830166b74b9672734276049a8f0f10761f2ab30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3647/CH8/EX8.4/ex8_4.sce | cd3d142c75d6aa50e5cdcc4b6518f80a0a380db6 | [] | 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 | 399 | sce | ex8_4.sce | //Solutions to Problems In applied mechanics
//A N Gobby
clear all;
clc
//initialisation of variables
h=12//in
w=6//in
x=375.77//in^4
y=28.28//in^4
p=7//in
q=14//in
//CALCULATIONS
Ix=x+(p*q^3/h)-(p*h^3/h)//in^4
Iy=y+2*(1*p^3/h)//in^4
Zx=x/w//in^3
Zy=Ix/p//in^3
X=(Zy-Zx)/(Zx)*100//percent
//RESULTS
printf... |
4b439ae1f6048ee3c0446fbbcc39173ed804d433 | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /fact.sci | 0d514a973fc5c47d710bf78530aa91e7c98f9779 | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 304 | sci | fact.sci | function [fact] = approximate_e(n)
if (n ==0 || n==1)
fact = 1
else
fact = 1
for(i=2:n)
fact = fact *i
end
end
//disp(fact)
endfunction
function [e]=facto(n)
e = 0
for(i=0:n)
e = e + (1 / approximate_e(i))
end
endfunction
|
81da69bfa85db94a6eb8177e4c70f530e96cce7e | 38b89b84da9fe235f5b3a099bff16349b503cb87 | /funcoes.sci | c9430c0a3911ec41ce27525f91e5ebd1aa9641de | [
"MIT"
] | permissive | matheussfarias/preditoracoes | 744c7d422786a7dc9c52ffee58030b480d9f4e1f | 101b917f5193dcd91037f332eb8dce40d867e739 | refs/heads/master | 2020-08-31T06:37:13.684274 | 2019-10-30T21:15:12 | 2019-10-30T21:15:12 | 218,625,603 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 824 | sci | funcoes.sci | // funcao de correlacao
function Rx = comat(x,N)
px = xcorr(x,N,'biased');
for i = 1:N+1
Rx(:,i) = px((N+2-i):(2*(N+1)-i));
end
endfunction
//para fins didaticos, a implementacao pura do LMS
function [y,e,wn]=filterLMS(x,d,mi,N)
xn=zeros(N+1,1);
Wn=zeros(N+1,1);
M=length(x);
for n=1... |
b372638fe7a8a045695ed2c1229ccb8685632b71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH12/EX12.7.2/12_7_2.sce | 443e315eba3c32d3451e25318e565e77852cc2b6 | [] | 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 | 206 | sce | 12_7_2.sce | clc
//initialisation of variables
u1= 1200 //ft/sec
r= 1.4
R= 53.3 //ft lbf/lb K
g= 32.2 //ft/sec^2
T= 90 //F
//CALCULATIONS
M= u1/sqrt(r*R*g*(460+T))
//RESULTS
printf ('Match number = %.3f ',M)
|
57b95210f5a05595a2b7b59af2700e9a4178bc91 | c206e3f57b0a6f75bd1feefefecd29398746c358 | /scripts/usd.sci | 3f6e7de25d22237b1652c29576ea3f3f2bac56c1 | [] | no_license | danielfcollier/scilab-image-processing-scripts | e092a7c1a6a0ade906c020218a9571290245e40f | 43d78cb06dc6c27ab8663f351e4c172d038280ce | refs/heads/main | 2023-04-12T20:05:52.840157 | 2021-04-27T18:56:06 | 2021-04-27T18:56:06 | 362,219,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 234 | sci | usd.sci | function [U] = usd(M)
// USD_
// usd: up side down the matrix
// M: matriz m x n
// R: matriz m x n
//
// Uso:
// M = [1:4;5:8;9:12;13:16];
// U = usd(M);
//
[l, c] = size(M);
U = matrix(M((l*c):-1:1),l,c);
endfunction
|
553b71d6dd50e691f92a0431abad4778e076dfe0 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/modulate/modulate1.sce | 45f6db2ac1567d55bbabde9d7f1caf8f57d5ddcc | [] | 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 | 264 | sce | modulate1.sce | //i/p arg x is a vector
x=[1 2 3 4 5 7 89 8];
fc=100;
fs=500;
y = modulate(x,fc,fs,'am');
disp(y);
//output
// column 1 to 4
//
// 1. 0.6180340 - 2.427051 - 3.236068
//
// column 5 to 8
//
// 1.545085 7. 27.502512 - 6.472136
//
|
ce4f7d524b89466d18bcb8ed199baea53fab94b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH18/EX18.27/Ex18_27.sce | c58e6d5d5d6e0e1bc6d8c41f031fe303da314d88 | [] | 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 | Ex18_27.sce |
clc;
VCC=12;
RC=2*10**3;
RE=1*10**3;
R1=100*10**3;
R2=20*10**3;
B=100;
VBE=-0.2;
VB=-VCC*R2/(R1+R2);
disp('V',VB*1,"VB=");
VE=VB-VBE;
disp('V',VE*1,"VE=");
IE=-VE/RE;
IC=IE;
disp('mA',IC*10**3,"IC=");
VC=-(VCC-IC*RC);
disp('V',VC*1,"VC=");
VCE=VC-(VE);
disp('V',VCE*1,"VCE=");
|
7330e4399f92701a6bd6ce0514baf77d3eadc837 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH1/EX1.22/example1_22.sce | d27ce99f6ba326f5f799412c902797b9cb4d09d6 | [] | 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 | 538 | sce | example1_22.sce | // Mobility of free electrons in Alluminium
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 1-22 in page 50
clear; clc; close;
// Data given
n_0=18*10^28; // Derived from the given formula in textbook
rho=3.44*10^-6; // Resistivity in ohm-cm
e... |
cb0496c50088c044d60d93a8791b596a976b7c45 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/vmm12x1_wowta.sce | 5dc72571b9715b22fcc809fa8828b879a314e734 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 2,550 | sce | vmm12x1_wowta.sce | //************************* VMM_WTA ************************************
if (blk_name.entries(bl) =='vmm12x1_wowta') then
global shift_number_mismatch
addvmm = %t;
plcvpr=%t
k =scs_m.objs(blk_objs(bl)).model.opar(1);
m1=scs_m.objs(blk_objs(bl)).model.ipar(2);//row (basically number of WTA)
n1=s... |
279925e1e9299b75b3b6cb3f1719e2beb9fb0ba2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.11/Ex7_11.sce | 1d1c9c7ead2489e2c37a7f552b89c0f87e45bcb5 | [] | 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 | 182 | sce | Ex7_11.sce | clc
T1=273
T2=373
hsf=334.92
hfg=2256.94
mprintf("Ssf=%fkJ/kg K\n",hsf/T1)//ans vary due to roundoff error
mprintf("Sfg=%fkJ/kg K\n",hfg/T2)//ans vary due to roundoff error
|
15df02036f48925937f0d469ffbc4fa65238d226 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.12/Ex2_12.sce | c3f8a027f1971a9a41257e679b2efdaad5ed568b | [] | 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 | 228 | sce | Ex2_12.sce | //Determine reactions at contact
//Refer fig.2.16(b)
//applying Lami's Theorem
R1=400*sind(180-45)/sind(60+45) //N
R2=400*sind(180-60)/sind(60+45) //N
printf("The reactions developed are:-\nR1=%.1f N \nR2=%.1f N",R1,R2)
|
f5e65701aed1b20e5706726faee70026cec2748a | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Com Interface Grafica/Engine/C7c_NEWMARK_ATS_HULBERT.sce | b82712fcb44772beb8157a460fce071c9deffd4a | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,277 | sce | C7c_NEWMARK_ATS_HULBERT.sce | // MÉTODO DE NEWMARK COM AUTOMATIC TIME STEPPING DE HULBERT E JANG
Gama = evstr(NewmarkBeta(1).string)
Beta = evstr(NewmarkBeta(2).string)
if Beta>=Gama/2; Dtmax = evstr(NewmarkBeta(3).string); end
T1 = evstr(NewmarkBeta(4).string)
Dt(1) = evstr(ATS_Hulbert(1).string)
Dt_T_alvo = evstr(ATS_Hulbert(2).stri... |
035e4d31ab10e854cec67d13432b03f1903614dc | f23cac45e0a1e3e9444fd3bb8e11d56a5be97cf8 | /mix.sci | 4fc6999e674303ca7f33bbcbef00c534411561df | [] | no_license | paulaperdigaoram/YOGURT | 4cd805bfb9a06630fba0d990ad7edbbf3786903b | fc95ba5408e085c91bca2a04084fc36b2ea39f95 | refs/heads/master | 2020-03-22T07:56:53.718648 | 2018-08-23T17:31:35 | 2018-08-23T17:31:35 | 139,734,779 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,526 | sci | mix.sci | function o = mix(i)
//Datos de entrada
ProtIn = i(1)
GrasaIn = i(2)
LactosaIn = i(3)
//Parámetros
p = 0.01 // kg leche en polvo / kg leche
ProtLP = 0.384 // kg/kg leche en polvo
GrasaLP = 0.0113 // kg/kg leche en polvo
LactosaLP = 0.5647 // kg/kg leche en... |
7ad13a68397fbc611c37f4def2eb8e008d6d1245 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2375/CH9/EX9.3/ex9_3.sce | 03c2b970008c78138f34babeb09e03e1918b0a99 | [] | 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 | 190 | sce | ex9_3.sce | // Exa 9.3
clc;
clear;
close;
format('v',5)
// Given data
wH= '0.9*wp1';
wp2='wp1*k';
//wH= 1/sqrt(1/wp1^1+1/(k*wp1)^2)
k= sqrt(0.9^2/(1-0.9^2));
disp(k,"The value of k is : ")
|
3139e7986462875574c4c8146dda44c1c124a751 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH5/EX5.11/Ex5_11.sce | 0ff034a65ff8d56f577924849cbca6c1b65751e0 | [] | 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 | 601 | sce | Ex5_11.sce | clc;
v=415; // rated voltage of motor
f=50; // frequency of motor
ef=520; // line to line excitation emf
p=6; // number of poles
xs=2; // per phase synchronous reactance
t=220; // torque developed
vt=v/sqrt(3); // rated per phase voltage
eft=ef/sqrt(3); // per phase excitation emf
ws=(4*%pi*f)/p; // synchronou... |
1de796000574dc5d11f43437736484449a90398d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH5/EX5.5/5_5.sce | cbcaf3459f2fbbffa1dc73778e23818a71608312 | [] | 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 | 5_5.sce | clc
//initialisation of variables
P1= 1000 //psi
S= 0.85
P2= 350 //psi
Hl= 679.41 //ft
//CALCULATIONS
Ha= P1*2.31/S
He= Ha-(P2*2.31/S)-Hl
//RESULTS
//RESULTS
printf ('energy exptracted from the fluid = %.2f ft',He)
|
d712ab933295131ce87ce1ce10e88a39bf3f65bd | 1988df91caa448a35bbf274a6d2698fe434571b1 | /tst/eval/simpl1.tst | 46c9042cf9165fe5ddf2dfcef7bc591f25b2cfee | [] | no_license | namin/GETFOL | bd60e9a2d9f0905c50ff5c0cff4b6bf57a2049e2 | bf42caf61799578eb82e9f17b3342bc2ee638a22 | refs/heads/master | 2021-10-25T08:08:20.142137 | 2021-10-22T16:16:40 | 2021-10-22T16:16:40 | 204,234,318 | 4 | 1 | null | 2019-08-25T02:05:54 | 2019-08-25T02:05:54 | null | UTF-8 | Scilab | false | false | 1,485 | tst | simpl1.tst | COMMENT | ************************************************************* |
COMMENT | * AUTHOR: ? |
COMMENT | * |
COMMENT | * SUBJECT: SIMPLIFY TEST |
COMMENT | * |
COMMENT | * GETFOL VERSION: September 199) |
COMMENT | * |
COMMENT... |
c4076c0db0fc1b56060d4768e603ff4c918cdd79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.21.c/EX26_21c.sce | e0ee9b33d7ec1cdf24c9671b410158d2d44b59bc | [] | 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,817 | sce | EX26_21c.sce | //EXAMPLE 26.21(c)
//4-POLE DC SHUNT GENERATOR
clc;
funcprot(0);
//Variable Initialisation
P=4;.........................//Total number of poles
S=80;........................//Total number of slots
C=10;.........................//Total number of conductor per slots
E1=400;.........................//Generated... |
1331522e6eabc15055c04930c81371d8485b7319 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH10/EX10.15.2/ex_10_15_2.sce | 863aaff288bc5dda230ab3d0202f27928813bab1 | [] | 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 | 658 | sce | ex_10_15_2.sce | //Example 10.15.2 :Supply voltage per phase,slip,slip frequency ,slip and rotor loss
clc;
clear;
close;
//given data :
format('v',6)
V_rms=240;// in volts
F1=50;//in Hz
Vs_rms=240/2;
disp("part (1)")
disp(Vs_rms,"supply voltage (V) = ")
disp("part (2)")
N=1440;// in rpm
P=4;// pole
Ns=(120*F1)/4;
S=((Ns-N)/Ns);
disp("s... |
61e6a3c9d9d5e3832517a75164a0ed563ae5ea10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH4/EX4.7/Ex4_7.sce | 211684f071ff9741918c1f11efcbba8e6572beb1 | [] | 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 | 172 | sce | Ex4_7.sce | n=16
N=7
M=12
Ncpc=n*N//no. of channels per cluster
TSC=Ncpc*M//system capacity
disp(Ncpc,'no. of channels per cluster')
disp(TSC,'the system capacity in channels/system')
|
cbc06becede7f955616024cbab3fa4d5ef5554d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1172/CH6/EX6.20/Example6_20.sce | 87968755c80f6a18d6ae7d7c320f12eac19a7f0b | [] | 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 | 473 | sce | Example6_20.sce | clc
//Given that
c = 3e8 // speed of light in m/s
m = 1 // let
m_change = 1 // change in mass in percentage by increasing velocity
// sample problem 20 page No. 230
printf("\n \n\n # Problem 20 # \n")
printf("\n Standard formula used \n m = m_o* sqrt ( 1- (v/c)^2) ")
v = c * sqrt (1 - (m / (m + m_change/100))... |
94a7bf15dbf2713a4fcc308b5c8fb269f096331e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH10/EX10.2/10_2.sce | a8e90caad60be19c1d36b96f2aa07d585c607220 | [] | 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 | 288 | sce | 10_2.sce | clc
//initialisation of variables
v1=273//ft
v2=319//ft
k=2736//ft-lb per lb
w=3112//ft lb
k1=1600^2/(2*32.2)//ft-lb per lb
q=33870//ft lb
//CALCULATIONS
V=sqrt(v1^2+v2^2)//ft per sec
W=q+k+w//ft lb per lb
//RESULTS
printf('The total work kinetic energy=% f ft lb per lb',W)
|
9e7481b92725454672fc46d6f06ae7f6e48ecfdd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1445/CH8/EX8.36/Ex8_36.sce | 842d723de5bfa6343829600a86fe939172a37552 | [] | 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,027 | sce | Ex8_36.sce | //CHAPTER 8- DIRECT CURRENT MACHINES
//Example 36
clc;
disp("CHAPTER 8");
disp("EXAMPLE 36");
//VARIABLE INITIALIZATION
v_t=250; //in Volts
I_l=150; //in Amperes
loss1=1200; //core loss at full load in Watts
loss2=800; //mechanical loss in Watts
r... |
107c9a7e537a30589f3663ea436bf9a47ce80ca3 | bce0c755bfdc527c8cc0737e8e1e59467267cff9 | /macros/undistortPoints.sci | e690f5875f6e077bab2ea58821d9d947e831a564 | [] | no_license | shubham0108/FOSSEE-Image-Processing-Toolbox | bacc26e6c7139383a374ea16f6c62565a7ff0603 | 68cddb2ca8dabddfe47251ac6647011acb849a2c | refs/heads/master | 2021-06-16T02:27:39.886532 | 2020-05-01T09:23:39 | 2020-05-01T09:23:39 | 97,078,162 | 0 | 0 | null | 2017-07-13T03:57:21 | 2017-07-13T03:57:21 | null | UTF-8 | Scilab | false | false | 2,051 | sci | undistortPoints.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_... |
0daad3690730b6bea461c8dc610b08e6ebb4090c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH9/EX9.3/9_3.sce | 2389f9ea9d779a785bcf3f4ff09b9df2da019863 | [] | 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 | 342 | sce | 9_3.sce |
clc
//initialisation of variables
g= 32.2 //ft/sec^2
T= 25 //C
dp=8 //lbs/in^2
t= 0.005 //in
w= 3 //in
l= 1 //ft
//CALCULATIONS
ut= (0.0179*30.5/(g*453.6))/(1+0.03368*T+0.000221*T^2)
Ql= dp*144*(t/12)^3*3600*6.24/(12*ut*4)
//RESULTS
printf ('Discharge= %.6f gallons per hour ',Ql)
//ANSWER GIVEN IN T... |
faf6c1296f886e048edf34360e05492977555888 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH3/EX3.2/Ex3_2.sce | 5d401db0f196669053813ec14a41caa5ca51c9e5 | [] | 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 | Ex3_2.sce | // Example 3.2
clc;
clear;
close;
// Given data
format('v',6);
R1= 2;// in kΩ
Rf_min= 0;
Rf_max= 100;// in kΩ
// Formula Used : Af= 1+Rf/R1
Af_max= 1+Rf_max/R1;// maximum closed loop voltage gain
Af_min= 1+Rf_min/R1;// minimum closed loop voltage gain
disp(Af_max,"The maximum closed loop voltage gain is : "... |
d0db3eb4f2b7fa55c76fd1381a09963c0fa09534 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH8/EX8.7/Chapter8_Example7.sce | 8f243cccfe5035e14d1d1ac5dce02621c4a99992 | [] | 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 | Chapter8_Example7.sce | //Chapter-8, Example 8.7, Page 348
//=============================================================================
clc
clear
//INPUT DATA
LH=0.08;//Horizantal length in m
LV=0.12;//Vertical length in m
Ts=50;//Surface temperature in degree C
Ta=0;//Temeprature of air in degree C
//CALCULATIONS
L=(LH*LV)/(... |
b1bb7565a178c2528e248ff755ce32df0a2a587f | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH12/EX12.17/ex12_17.sce | 58765bab16d6f947804c8a1a028c4116b3837105 | [] | 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 | 516 | sce | ex12_17.sce | syms g1 g2 g3
poly(0,"l");
A=[1 2 0;3 -1 1;0 2 0];
C=[0;0;1];
G=[g1;g2;g3];
p=A-G*C;
[r c]=size(A);
I=eye(r,c);
q=lI-p; // lI-(A-G*C) where I is identity matrix
r=det(q) // detrminant of lI-(A-G*C)
// on equating r=0 we get
// characteristic equation
l^3+g3*(l)^2+(2*g2-9)l+2+6*g1-2*g2-7*g3=0;
printf("desi... |
28f95ccb8a42ef199e6215490182824b9627373b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH3/EX3.31/Ex3_31.sce | de4dc543317a3e8cb67fd7ce6142d5fb8c652fd1 | [] | 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 | Ex3_31.sce | clear
//Given
Z=79
e=1.6*10**-19
e0=8.854*10**-12
R=6.2*10**-15
//Calculation
//
q=Z*e
E=q/(4.0*%pi*e0*R**2)
b=E/4.0
//Result
printf("\n (i) The magnitude of the electric field at the surface of nucleus is %0.0f *10**21 N/C",E*10**-21)
printf("\n (ii) The magnitude of the electric field at a distance 2R from the cen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.