blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
677e2d882b6c4a33737453af558398ad6405385c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH10/EX10.3/Ex10_3.sce | 9c44e96880899c4a56f2d2025751f66323ba0461 | [] | 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 | Ex10_3.sce | clc;clear;
//Example 10.3
//given data
P1=10;
P2=3000;
P3=3000;
T3=350;
P4=10;
//from steam tables
//at state 1
h1=191.81;
v1=0.00101;
//at state 2
//s2=s1
//at state 3
h3=3116.1;
s3=6.7450;
//at state 4
s4=s3;
sf=0.6492;
sfg=7.4996;
hf=191.81;
hfg=2392.1;
//calculations
//part - a
win=v1... |
7e64c1453d5c6821eef8f198cbba141ed287a268 | b2efed85f1632d9ed4b7d9f4eebc7126d3074940 | /ted_mini/artandsci_positive/16.ted.sci | 6fe5ab973c4ceddec5c955e2cf99b2f08bf1c3ee | [] | no_license | joytafty-work/unsupervised_nlp | 837d8ed75eb084b630d75a1deba7bdd53bbcf261 | 7812c7d24bb677c90cf6397ed0e274caba1b884c | refs/heads/master | 2021-01-10T09:24:33.254190 | 2015-11-11T20:40:32 | 2015-11-11T20:40:32 | 45,651,958 | 2 | 7 | null | 2018-01-28T18:54:18 | 2015-11-06T01:42:42 | Scilab | UTF-8 | Scilab | false | false | 20,082 | sci | 16.ted.sci | i d like to talk today about the two biggest social trends in the coming century and perhaps in the next 10 000 years but i want to start with my work on romantic love because that s my most recent work what i and my colleagues did was put 32 people who were madly in love into a functional mri brain scanner 17 who were... |
18d9fa841266daa2a273e5b42823769f125a0624 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH2/EX2.30/EX2_30.sce | 019da963fe5e62372e732a4006fc8852dfc6a195 | [] | 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 | 420 | sce | EX2_30.sce | clear;
clc;
printf("\nEx2.30\n");
//page no.-72
//given
del_x=1.1*10^-8;...............//uncertainty in position of electron in m
h=1.05*10^-34;................//planck's constant in joule-sec
m=9*10^-31;....................//mass of e in kg
//By Heisenberg's uncertainty principle,
del_v=h/(m*del_x)............ |
2305689638e2de764473b9d0b381e6dafed037a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH7/EX7.8/Ex7_8.sce | c3030c30d7a1507408a2ea11dc03aca3d1b2236b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | Ex7_8.sce | clc;
close();
//page no 235
//prob no. 7.8
delta_f=400; //Hz
fm=2000; //Hz
B=delta_f/fm; //
disp(B,'The modulation index is');
disp('(For B<=2.5 , the signal is NBFM)');
Bt=2*fm;
mprintf('The transmission bandwidth Bt= %i Hz ',Bt)
|
57799e5175568f2113a6c2bfc833b5f752b9af5e | 70693ca49ce831da3aeca8c70cddefe6d22f55aa | /sliderbar_example.sce | 8cf5044ff1f3b25b4cee23e6b1f4816597deeed8 | [] | no_license | goodshawn12/exp_reading | fcae48c0fb047642c8f10e625fe5712662e51f51 | 917e684d0c8898a90581de2494c89e1462ccd0bc | refs/heads/master | 2020-04-10T07:58:01.519238 | 2018-12-19T23:52:13 | 2018-12-19T23:52:13 | 160,894,025 | 0 | 0 | null | 2018-12-12T23:37:42 | 2018-12-08T01:51:50 | Scilab | UTF-8 | Scilab | false | false | 1,371 | sce | sliderbar_example.sce | active_buttons = 5;
button_codes = 1,2,3,4,5;
begin;
picture {
box { width = 200; height = 5; color = 255,255,255; }scale;
x = 0; y = 0;
box { width = 5; height = 20; color = 255,255,255; }choice;
x = 0; y = 0;
}scale_pic;
begin_pcl;
int x = 0;
loop int responses = response_manager.total_response_... |
d0b79e83eae52c7bc4e6ed24ab43493b674b04ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH11/EX11.20/example11_20.sce | 73c5a89603f1695feeb2939d85f7399d28b0c52a | [] | 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 | 410 | sce | example11_20.sce | //Chapter 11
//Example 11_20
//Page 292
clear;clc;
k=5;
r=30/2;
r1=r+40;
er=110*1e-6;
s1=k/2/%pi*log(r1/r);
s2=0.45;
s=s1+s2;
n=1;
t=55;
i=sqrt(t/n/er/s);
printf("Thermal resistance of the dielectric of the cable = %.2f thermal ohms per metre length \n\n", s1);
printf("Total thermal resistance = %.2f thermal ohms p... |
b2a797e685fa3f3f18d1875cc16b00ffcf4d1a71 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/tests/dialogs.sci | c6de5ceae53fe23140647ce1a2ae82a7c4a0a177 | [
"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 | 9,408 | sci | dialogs.sci | function rep=x_message(comment,btns)
// Copyright INRIA
// message - dialogue affichant un message
//%Syntaxe
// message(comment)
//%Parametres
//comment : vecteur de chaine contenant le texte du message
//%Remarques
//Dans l'environnement Xwindow cette macro provoque l'ouverture d'une
//fenetre de message. L'utilis... |
628a59765d099098e6d3fb6aa80ba61721dbaa8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH6/EX6.8/Ex6_8.sce | 41001460174fbb6785d1c313862289992b6f8990 | [] | 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 | 191 | sce | Ex6_8.sce | //reflected voltage
//given
clc
Vi=50//volts
row=0.25//reflection coefficent
Vr=Vi*row//the reflected voltage
disp(Vr,'the reflected voltage for given reflection coefficent in volts')
|
f164aba825b26523d8fe957d73d356a454394fe9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1094/CH3/EX3.3.1/EX3_3_1.sce | c2fd558a24b40066de9e330e733179fa1372cd8d | [] | 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 | 178 | sce | EX3_3_1.sce | //EXA.3.3.1
clc;
clear;
close;
H=2000 //magnetic field intensity(in A/m)
N=500 //no. of turns
l=.08*%pi //length of ring (in m)
I=H*l/N
disp(I,'required current(in A)=') |
859cdb9f9b4b4a047154607f3aacf3eaa97711d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2297/CH6/EX6.5/Ex6_5.sce | 33ff15100ad77e157f073449714dd94874451db5 | [] | 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 | 529 | sce | Ex6_5.sce | //Example 6.5// Power
clc;
clear;
close;
//given data :
format('v',6)
fp=0.024;// flux per pole
lf=1.2;// leakage factor
fi=fp/lf;// in Wb
Z=756;//turns
P=4;// number of pole
N=1000;// in rpm
A=4;//constant
E=(fi*Z*N*P)/(60*A);//generated voltage
il=1/10;//load current in amperes
ish=1/100;//shunt current in amperes
... |
128434d9e72cb071ed4b5940af7c0232caa33dbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.21/Ex2_21.sce | 6a4ef10f9ddc0311a69a60ab9dbbad8e27bd9ef0 | [] | 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 | 423 | sce | Ex2_21.sce | clc
//given that
l = 1 // width of potential well in angstrom
n = 1 // order corresponding to ground state
h = 6.63e-34 // Plank constant
m = 9.1e-31 // mass of electron in Kg
printf("Example 2.21")
E = n^2*h^2/(8*m*(l*1e-10)^2) // Calculation of energy in Joule
E_eV = E/1.6e-19 // Calculation of energy ... |
742c73fc56af3e7df0d1c8b23096d241fedfc242 | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab7/q3.sce | e33c4c84c286f4402409b4d2b1e7a451e0c796af | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | q3.sce |
s = poly(0,'s');
G = 1/(s^2+3*s+2);
// part a
scf(0);
os = .1;
k = 4.397;
G1 = k*G/(1+k*G);
poles = roots(G1('den'));
t_s = mean(-4./(real)); // original closed loop ts
t_s = t_s/2;
x = -4/t_s;
m = 1/(-1*log(os)/(%pi));
x = -8:.01:0;
os_line_1 = m.*x;
os_line_2 = -1*m.*x;
plot(x,os... |
d4890a3382eb429544fa128d1c7c58e133b25832 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH3/EX3.5/Ex_3_5.sce | 42a211909466fb4ecc8788498b706d9de9e18921 | [] | 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 | 375 | sce | Ex_3_5.sce | //Example 3.5 // insertion loss
clc;
clear;
close;
//given data :
n1BYn2=1.48;
NA1=0.2;
n2theta=(5*%pi)/180;
NA2=0.4;
eta1=((16*(n1BYn2)^2)/(1+n1BYn2)^4)*(1-((n2theta/(%pi*NA1))));
L_ang1=-10*log10(eta1);
eta2=((16*(n1BYn2)^2)/(1+n1BYn2)^4)*(1-((n2theta/(%pi*NA2))));
L_ang2=-10*log10(eta2)
disp(L_ang1,"the insertion lo... |
0d124ce9abfeb1ef756054665eb93fb65354f30c | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.7.sce | 92ae5f65044bdb2b4e03151c60ca0e6a860bd70b | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 323 | sce | Ch_6_Eg_6.7.sce | //Use of the disp function.
clc
disp (10,20,30);
disp ([12],3);
disp("a",1,"c");
a=ones (2,2);
b=rand(3,3,"normal")
disp (a, b);
deff('[x]=myplus (y, z)','x=y + z')//deff defines inline functions. For detail, see scripts and functions.
disp (myplus (10,20))
disp(myplus) // Displays the header of the function... |
67d415e87a3598370e41786e6c9246f5fb2438f3 | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/PlotRobotFrame.sci | db3df2304526d3cd7d6826115f14a954701fd394 | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 12,390 | sci | PlotRobotFrame.sci | //PlotRobotFrame.sci sketch a robot frame structure in 3-D
// www.controlsystemslab.com July 2012
function [T]=plotrobotframe(robot,q,varargin)
if argn(2)==0 then
PlotRobotFrameHelp();
T=[];
else
T = _Plot_Robot_Frame(robot,q,varargin);
end
endfunction
... |
d0e0dd2cd94867701b7c5d856a1cd9c0c37d0a00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH1/EX1.13/Ch01Ex13.sce | 8ed2c8f3187c9eae55ebf9a721358eb3fe096c81 | [] | 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 | 681 | sce | Ch01Ex13.sce | // Scilab Code Ex1.13: Page-1.17 (2009)
clc; clear;
theta = 45; // Diffraction angle, degrees
h = 6.626e-034; // Planck's constant
m = 1.67e-027; // Mass of a neutron, kg
n = 1; // Order of diffraction
k = 1.38e-023; // Boltzmann constant, J/mol/K
T = 27+273; // Absolute room temperature, ... |
4004677b53979707d98464008af770171f0b44b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH14/EX14.9/example14_9.sce | 202ac8b96b2f67c02c7da2aa96fe44e658c1534e | [] | 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 | 972 | sce | example14_9.sce | //Chapter 14
//Example 14_9
//Page 370
clear;clc;
v=400;
ph_v=230;
lr=20*1e3;
ly=28.75*1e3;
lb=28.75*1e3;
ir=lr/ph_v;
iy=ly/ph_v;
ib=lb/ph_v;
//referring to the phasor diagram in the text book
xc=ir-iy*cos(30*%pi/180)-ib*cos(30*%pi/180);
yc=iy*cos(60*%pi/180)-ib*cos(60*%pi/180);
in=sqrt(xc^2+yc^2);
printf("\t Ir =... |
e08a81e92fb9a8fdcbd7fa2020421532f8b354d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH6/EX6.1/Ex6_1.sce | 35236b3fc8d07c74a94ea4710bc61c0564b68347 | [] | 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 | 154 | sce | Ex6_1.sce | clc;
B=300;
Ib=[0.00002 0.00005]; //Ampere
Ic1=B*Ib(1,1); //Ampere
Ic2=B*Ib(1,2); //Ampere
disp('mA',Ic1*1000,"Ic1=");
disp('mA',Ic2*1000,"Ic2=");
|
10fc257f638b4674e29c804ef878ae2728026b2c | d7087cf730b37f76170323e080c090f8094979ac | /test/exec/command_list_big.tst | 15d7152ff7d243c434b070293e6af14569b452c0 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 79,841 | tst | command_list_big.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
echo toto; echo tata; echo titi; echo jojo; echo jiji; echo jaja; echo toto; echo tata; echo titi; echo jojo; echo jiji; echo jaja;echo toto; echo tata; echo titi; echo jojo; echo jiji; echo jaja; echo toto; echo tata; echo titi; echo jojo; echo jiji; echo jaja;echo ... |
a2c76625bb4a180e0da2d0611590b3bb339c0ba6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH3/EX3.24/Ch03Ex24.sce | 481d3736805f7f313b70c9c68c8f2c4679112f70 | [] | 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 | 805 | sce | Ch03Ex24.sce | // Scilab Code Ex3.24: : Page-3.46 (2009)
clc; clear;
lambda1 = 5890e-008; // Wavelength of D1 line, cm
lambda2 = 5896e-008; // Wavelength of D2 line, cm
N = 15000; // No. of lines per inch of grating, lines/inch
a_plus_b = 2.54/N; // Grating element, cm
n = 2; // Order of diffraction... |
e5093171d512ac38158c52c84bce97b9facf5b06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH20/EX20.1/Ex20_1.sce | 93bd6b3d23d7f6e206e491538389a3642292aed9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 616 | sce | Ex20_1.sce | clc
// Given that
to=0.005//in inch depth of cut
V=400//in ft/min cutting speed
X=10//in degree rake angle
w=0.25//in inch width of cut
tc=0.009//in inch chip thickness
Fc=125//in lb Cutting force
Ft=50//in lb thrust force
// Sample Problem on page no. 548
printf("\n # Relative Energies in cutting # \n")... |
f78ff918c9d6d2c3d6f6a3a5631c6b29b3a8b8ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /72/CH5/EX5.1.4/5_1_4.sce | 09ea24f5d49f09a45dad22586d41a76621bf914f | [] | 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 | 482 | sce | 5_1_4.sce |
//CHAPTER NO.-5
//Example No.5-1-4 , Page No.-211
// Program_to_determine_the_maximum_allowable_power_that_the_transisitor_can_carry
Xc=1;//Reactance
ft=4*(10^9);//Transit_cut-off_frequency
Em=1.6*(10^5);//maximum_electric_field
Vx=4*... |
80c7ca4ac139dc43b64c176ffdff2783e78e5ce6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH9/EX9.15/example_9_15.sce | 8bf3da37f181b2597f9da71e426200c8d36d6784 | [] | 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 | 59 | sce | example_9_15.sce | s=%s
sys=syslin('c',(k)/(s*(s+1)*(s+2)*(s+3)))
evans(sys) |
b5ad2e40d1c7d17463f382c86ae84d630fc5fb36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH15/EX15.09/15_09.sce | ffbd8de0303a4c116e2522cbc8b734a8519468ae | [] | 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 | 867 | sce | 15_09.sce | //Problem 15.09: A coil of inductance 318.3 mH and negligible resistance is connected in series with a 200 ohms resistor to a 240 V, 50 Hz supply. Calculate (a) the inductive reactance of the coil, (b) the impedance of the circuit, (c) the current in the circuit, (d) the p.d. across each component, and (e) the circuit... |
0a4f26b0f9a0de6effd03cd0689b11cee5a5001e | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/slewrate.sci | 5b833276a118bf24c69af1f14e91f107346b6fcf | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,094 | sci | slewrate.sci | function [s, lowercrossvalue, uppercrossvalue, lowerreference, upperreference]=slewrate(x, varargin)
// This function estimate slew rate of bilevel waveform transitions
// Calling Sequence
// s=slewrate(x)
// s=slewrate(x, t)
// s=slewrate(x, Fs)
// s=slewrate(x, t, 'PercentReferenceL... |
0aa6b8af2b8bfc9768b8662174d52ce7900c72a6 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/ShallowWaterSolver/Tests/MMFSWERossbySphere.tst | 95aa1c1a6de8655bab06339309607683c0768856 | [
"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 | 840 | tst | MMFSWERossbySphere.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>MMF SWE solver, DG, P=4</description>
<executable>ShallowWaterSolver</executable>
<parameters>MMFSWERossbySphere.xml</parameters>
<files>
<file description="Session File">MMFSWERossbySphere.xml</file>
</files>
<metrics>
<... |
78a74f097b5e19118af89e0cc2d8fcef32076f19 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/MixL.sci | daf5a2d95742c8413cbb20df844fcc1623e59de9 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sci | MixL.sci | // 08.05.19
// Structure changed
// 09.10.11
function M=MixL(varargin)
Nargs=length(varargin);
M=list();
for I=1:Nargs
Da=varargin(I);
M(I)=Da;
end
endfunction
|
43f221608956381b5b9e4e49bf1edb7d6d639f00 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/optim/unpack.sci | 9087cbebcde2821d2fe0c4b25e5d333cc3117422 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 318 | sci | unpack.sci | function MM=unpack(M,blck_szs)
//utility function (for use with semidef)
MM=[]
[mM,nM]=size(M)
n=sum(blck_szs)
for j=1:nM
ptr=1
Mu=[]
for ni=blck_szs
Mui=[]
for l=1:ni
Mui(l:ni,l)=M(ptr:ptr+ni-l,j)
Mui(l,l:ni)=M(ptr:ptr+ni-l,j)'
ptr=ptr+ni-l+1
end
Mu=[Mu;matrix(Mui,ni*ni,1)]
end
MM=[MM,Mu]
end
|
72793210fa9f7bee4b7e16704faa16765026a708 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH8/EX8.2/example8_2.sce | cc38973992e8326d9fd735986dd9bf412d77f2d9 | [] | 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 | 209 | sce | example8_2.sce |
//example 8.2
//page 290
clc; funcprot(0);
//initialisation of variable
nu=1.54*10^-6;
V=0.1;
D=0.02;
g=9.81;
L=30;
Re=V*D/nu;
f=64/Re;
hf=f*L/D*V^2/2/g;
disp(hf,"head loss (m of H20)");
clear
|
3c4541c508b8d35e01aac751e746e149427d21df | 449d555969bfd7befe906877abab098c6e63a0e8 | /626/CH3/EX3.1/3_1.sce | df99419c01d13bad571cd498b89ea2b04aee4cad | [] | 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 | 258 | sce | 3_1.sce | clear;
clc;
close;
disp("Example 3.1")
M0=0.85 //Mach no.
a0=300 //speed of sound in m/s
m=50 //Air mass flow rate in kg/s
//Calculations
V0=M0*a0 //Flight speed
Dr=m*V0 //Ram drag
Dk=Dr/1000 //in kN
disp(Dk,"The ram drag for given engine in kN:") |
a38394e18391201cbf0167fe49f5af717768ad06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH3/EX3.17/17.sce | e71f8583519bff7233f156c394dae6e6f5d3fd78 | [] | 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 | sce | 17.sce | clc
// At 10 bar: From steam table for superheated steam
h_sup=3051.2; //kJ/kg
T_sup=573; //K
T_s=452.9; //K
v_g=0.194; //m^3/kg
v_sup=v_g*T_sup/T_s;
p=10; //bar
u1=h_sup-p*v_sup*10^2; //kJ/kg
disp("Internal energy of superheated steam at 10 bar= ")
disp(u1)
disp("kJ/kg")
// At 1.4 bar: From steam table... |
435b57571d732dae01d1ae13436b1f3d35de6616 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH4/EX4.49/ex4_49.sce | d7062eff1aea6e57d78d265289548086607e7166 | [] | 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 | 864 | sce | ex4_49.sce | //AC Circuits : example 4.49 :(pg 4.37 & 4.38)
f=50;
I1=4;
pf1=0.5;
V1=200;
I2=5;
pf2=0.8;
V2=40;
Z1=(V2/I2);
R=(Z1*pf2);
XL1=sqrt((Z1^2)-(R^2));
L1=(XL1/(2*%pi*f));
Z2=(V1/I1);
RT=(Z2*pf1);
XL2=sqrt((Z2^2)-(RT^2));
L2=(XL2/(2*%pi*f));
Pi=(V1*I1*pf1-(I1^2)*R);
printf("\nWith iron core I=4 A pf=0.... |
817bbc07e946e8c73f4f9efbb0f26f6bd8e472f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1388/CH4/EX4.26/4_26.sce | 29a4514cc56a2bc9cdaadcad3ec138f2b9d78d2d | [] | 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 | 294 | sce | 4_26.sce | clc
clear
//initialisation of variables
H= 1436.3 //cal mole^-1
d= 0.9999 //g ml^-1
d1= 0.9168 //g ml^-1
P= 1 //atm
m= 18.02 //gm
R= 1.987 //cal/mole K
T= 2 //C
//CALCULATIONS
V= (P/d)-(P/d1)
H1= H*82.05/(m*R)
P1= H1*(-T)/(273*V)
//RESULTS
printf (' pressure required to decrease= %.f atm',P1) |
1947a9e480b5761b59a8eea36287765041c0a7da | 090c4bc08ecd896fc1d76fa3454c03fa0cb805f0 | /Laba_11.sce | 601f44f2a3f05771e30509f137d1e2ea2c221162 | [] | no_license | GennadySX/pLabs | 6c64cd2fdc87a204e9b675ef7cf54f4cae4356c7 | 50810647bcc7a48ce38d51c321b165a48560b5d6 | refs/heads/master | 2020-09-05T17:22:46.474588 | 2019-11-07T06:35:33 | 2019-11-07T06:35:33 | 220,167,548 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 678 | sce | Laba_11.sce | //Лабораторная работа №11
clc
clf()
funcprot(0)
disp('_______________________________________')
disp('y = 3*sin(x)+6*cos(x+3)-1')
function y=reshenie(x)
y=3*sin(x)+6*cos(x+3)-1
endfunction
x=-6:0.1:8;
plot2d(x,reshenie(x),axesflag=5),xgrid();scf;
x=fsolve([-5;-2;1;4.5;7.5],reshenie)
disp(x,'Корни уравнения:... |
7f70058e3952c369cf7f7e7e3c5f8bb97d02d7d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3492/CH2/EX2.7/Ex2_7.sce | 7f0d9d9c24eefc173c6fcbdd8f49d242ab86950f | [] | 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 | Ex2_7.sce | clc
//Chapter2
//Ex_2.7
//Given
n=1.2
To=293 //in kelvin
alpha_o=n/To
printf("Theoretical value of TCR at 293K is %f which is in well agreement with exprimental value",alpha_o)
alpha_o=0.00393 //experimental value
n=alpha_o*To
disp(n,"Theoretical value of n at 293K is in well agreement with exprimental value"... |
b73b507787a2cb77e9c0767e30f7d6ac45349aa8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1682/CH1/EX1.2/Exa1_2.sce | 3dbb718d72def269975d73736b4cf42e73b9fd2d | [] | 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 | 418 | sce | Exa1_2.sce | //Exa1.2
clc;
clear;
close;
//given data :
FC=25000;//in Rs
v=45000;//in Rs
s=120000;//in Rs
//Part a : Contribution
Con=s-v;//in Rs
disp(Con,"Contribution in Rs : ");
//Part b : Profit
Prof=Con-FC;//in Rs
disp(Prof,"Profit in Rs : ");
//Part c : BEP
PVratio=Con*100/s;//in %
BEP=FC*100/PVratio;//in Rs
... |
df2870472f77aa2cf88849695e4e7608efba0c93 | 949a0b27829831be0deeea0b85794c86632b191c | /Exercice5_TP3_Q1/exo5TP3.sce | 5b024b4751573a0da64b02695ab9f5bab7ff1970 | [] | no_license | massiva/COMPTE-RENDU-DES-TPS-CN | 5416b9d26cbb57f9faabe21ba4524dd5f8dd0f6f | 038de26145c60293a4d34765018608ac333c33da | refs/heads/master | 2023-02-02T01:41:34.632673 | 2020-12-18T18:53:39 | 2020-12-18T18:53:39 | 316,068,653 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | exo5TP3.sce | function [mat]=tridiag(A)
for i=1:n
mat(i,i)=A(i,i);
end
for (i=2:n)
mat(i-1,i)=A(i-1,i);
mat(i,i-1)=A(i,i-1);
end
// facto
endfunction
function [L,U]=fact(mat)
[mat]=tridiag(A);
for k=1:n-1
i=k+1:n;
mat(i,k)=mat(i,k)/mat(k,k);
j=k+1:n;
mat(i,j)=mat(... |
b98e3ed88fe2291b7309a78d6a54fe333b36bddc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH4/EX4.17/Ex4_17.sce | 65446a8b8d5501b5b880f443a43cd881c677f02f | [] | 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 | Ex4_17.sce | clc;
clear;
f=400 //focal length of lens in cm
myu=1.50 //refractive index
lambda=5460*10^-6 //wavelength in cm
n=5 //fifth bright ring
//calculation
R=(myu-1)*2*f //radius of curvature in cm
D5=sqrt(2*((2*n)-1)*lambda*R)
mprintf("The diameter of the fifth bright ring is = %1.2f cm",D5)
//The answer pro... |
cd0ef9ce5389f36e92d19d3727de6e54e4d0f6f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH9/EX9.4/Ex9_4.sce | 16c3c4f0f7a0dbae28d5341e4faf7a583599ac2d | [] | 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 | 226 | sce | Ex9_4.sce | //pagenumber 427 example 4
clear
freque=40*10^3;//hertz
frequ1=freque/0.507;
disp("upper frequency = "+string((frequ1))+"hertz");
frequ1=freque/1.96;
disp("lower frequency = "+string((frequ1))+"hertz");
|
f75f9290c32cb4cd3b400428481724a2766d70ce | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH3/EX3.10/ex3_10.sce | 4ec088d536d7a4707caf9c36c50e7490f629e675 | [] | 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 | ex3_10.sce | clc
Vl=400; //Assigning values to parameters
Il=34.65;
P=14.4*10^3;
Vph=Vl;
Iph=Il/sqrt(3);
Zph=Vph/Iph;
t=acosd(P/(sqrt(3)*Vl*Il))
Z=complex(Zph,t);
disp("Ohms",Z,"Impedance");
disp("Ohms",real(Z),"Resistance");
disp("Ohms",imag(Z),"Reactance"); |
e25b3d53fbf5d3c09cb1c4807055f6692f52b8d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH11/EX11.4/Ex11_4.sce | 6a014f6f586bd0d5410383504a446e1252c59c6c | [] | 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 | 534 | sce | Ex11_4.sce | //Example 11_4
clc();
clear;
//To findout the specific heat capacity of the metal
m=400 //Units in gm
c=0.65 //Units in Cal/gm Centigrade
tf=23.1 //Units in Centigrade
to=18 //Units in Centigrade
oil=m*c*(tf-to) //units in cal
m1=80 //Units in gm
tf=23.1 //Units in Centigrade... |
406c4930fb419c64cbb6b3762882d3ee9135e907 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2165/CH6/EX6.2/6_2.sce | e7bbcbdb99b017d1cc6bde135221567788032b18 | [] | 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 | 289 | sce | 6_2.sce | clc
//initialisation of variables
v=((3140*%pi*60*60)/(4*4*144))//ft/sec
v1=0.852*38.37//ft^3
//CALCULATIONS
W=(v/v1)//lb
V=(2970*%pi*60*60)/(4*4*144)//ft^3
W1=(V/v1)//lb
//RESULTS
printf('the weight of steam per hour=% f lb',W)
printf('the weight of steam per hour=% f lb',W1)
|
3f816daab441cce3acea20337dcdd36b258785d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH3/EX3.22/Ex3_22.sce | 39ddded88c6f6df28e693f0becada828c1d5d2eb | [] | 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 | Ex3_22.sce | //Ex:3.22
clc;
clear;
close;
y=1.2;// operating wavelength in um
w=5;// spot size in um
x=(2*y)/(%pi*w);// the divergence angle in degree
printf("The divergence angle =%f degree", x); |
19fdbdc26931002c5fa2d083cbd3138ea80932a9 | 47adabef6eb8924aff50314b05cfd89f90e19aec | /macros/http_post.sci | 06679ed981f460f6ced2ddf0b5cd20f64cfa2e05 | [
"BSD-3-Clause"
] | permissive | sengupta/scilab-http | acf41286543dfadb62bfbf1fc74d19cd6ec65815 | 114ac7ab3a55e08399a82e8a1c084bc23cace3a3 | refs/heads/master | 2021-03-12T20:38:08.900774 | 2012-04-03T13:14:33 | 2012-04-03T13:14:33 | 3,886,870 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sci | http_post.sci | function response = http_post(host, resource, port, varargin)
// This POSTs a request to a resource on host at port.
// This will need to use the following functions:
// 1. http_header
// 2. http_urlencode
endfunction
|
e97810b8c8864d02c9f496fd543553df179e9ebe | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.16_17.tst | 7ee5c25f0abb289e2aba9238660f9d40cf344f3d | [] | 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 | 637,443 | tst | 5.16_17.tst | 16 80:1 186:1 407:1 481:1 712:1 946:1 1122:1 1271:1 1293:1 1698:1 1704:1 1815:1 1921:1 1968:1 2000:1 2035:1 2203:1 2333:1 2463:1 2570:1 2586:2 2737:1 2838:1 2884:1 3172:1 3339:1 3401:1 4224:1 4332:1 4359:1 4385:1 4386:1 4443:1 4506:1 4949:1 5096:1 5212:1 5233:1 5547:1 5739:1 5857:1 5870:1 5871:1 6114:1 6216:1 6443:1 66... |
3a4cb0fcd1b30d0456bc2fdda596c1745ac20644 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1883/CH2/EX2.6.4/Example2_22.sce | a4a8bca43467cce6c48774b3c2de637db05ada36 | [] | 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 | 364 | sce | Example2_22.sce | //Chapter-2,Example2_6_4,pg 2-33
N=3*5000 //number of lines
n_l=5000*10^2 //number of lines per meter
wavelength=5890*10^-10 //wavelength of light
m_max=1/(n_l*wavelength)
R_P_max=(m_max)*N
pri... |
11bcd83df4d3de144dd9056de4bd190f6cadf320 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH10/EX10.5/Ex10_5.sce | bb908446a4213f28487e130bde67ce45a3af721a | [] | 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 | 499 | sce | Ex10_5.sce | clear
//
//
//
//Variable declaration
k=1.000134;
epsilon0=8.85*10^-12; //relative permeability(F/m)
E=90000; //electric field(N/C)
N=6.023*10^26; //avagadro number
//Calculations
n=N/22.4;
p=epsilon0*E*(k-1)/n; //dipole moment(coul-metre)
alpha=p/E; //atomic polariz... |
6d05c05c004aa0b7ee82dd923b393dae0c938aa1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH5/EX5.20/5_20.sce | 54329dfe6346d9880a9b2dca7ce6257c50682ca1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 374 | sce | 5_20.sce | //Chapter 5, Problem 20
clc
f=10e6 //frequency in hertz
Ls=15e-6 //capacitance in farad
Rs=2 //resistance in ohm
//calculation
Qs=(2*%pi*f*Ls)/Rs
Rp=Rs*(1+(Qs^2))
Lp=((1+Qs^2)/Qs^2)*Ls
printf("Resistance Rp = %d Kohm\n\n Inductance Lp = %... |
979075d2d92b16a8cad9c17f6f031e302a473b22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /40/CH10/EX10.9/Exa_10_9.sce | f31f4d20549223b1c12e3dcf88957370735a57a3 | [] | 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 | 927 | sce | Exa_10_9.sce | //The concept of multistage Decimation
//(a)Single stage decimator
Sin=48;Sout=4;
fp=1.8;
fs=Sout-fp;
FT=(fs-fp)/Sin;
disp('By using single stage the total filter length is:')
L=4/FT
//(b)Two-stage decimator
Sin=[48 12];
D=[4 3];//decimating factors
Sout=[12 4];
fp=[1.8 1.8];
fs=Sout-fp;
L1=4*Sin./(fs-f... |
4290130e7a954dc82f71827f0267238a583869a5 | 717ddeb7e700373742c617a95e25a2376565112c | /3044/CH13/EX13.2/Ex13_2.sce | 0e3b63368282134c7cd23d92fb82df82e36c10de | [] | 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,161 | sce | Ex13_2.sce | // Variable declaration
s_square = 0.25 // mean square error
v = 10 // degree of freedom
t_thr = 2.228 // theoritical value of t at 0.025
b = 2
r = 3
// Calculation
l = [3.07, 2.30;7.17, 5.53;10.80, 7.33]
a = l(:,1)
b = l(:,2)
l1 = [a(1),b(1)]
l2 = [a(2),b(2)]
l3 = [a(3),b(3)]
// Result
// first confi... |
66fc507ba1bead69d84b182222a362150dbde11a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH5/EX5.2/5_2.sce | e8917cf15f0f018e7ebdccaf32a2732da546fa42 | [] | 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 | 725 | sce | 5_2.sce | clc,clear
printf('Example 5.2\n\n')
VA=1200*10^3
V_L=6600
R_a=0.25 //armature resistance per phase
X_s=5//synchronous reactance per phase
I_L=VA/(sqrt(3)*V_L)
I_aph=I_L //for star connected load
I_a=I_L
V_ph=V_L/sqrt(3)
//Part(i)
phi1=acos(0.8)//and lagging
E_ph1= sqrt( (V_ph*cos(phi1)+I_a*R_a)^2+(V_... |
5f2eaab95e1097cc124bb6e40ea815980e545893 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /(Sniper) Apex Legends - Advanced Aim Training Series.sce | 594b6dbd22ef828984304b725de565688d2c6668 | [] | 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 | 194,324 | sce | (Sniper) Apex Legends - Advanced Aim Training Series.sce | Name=(Sniper) Apex Legends - Advanced Aim Training Series
PlayerCharacters=Apex Legend Sniper
BotCharacters=Apex No Shield.bot;Apex Blue Shield.bot;Apex White Shield.bot;Apex Purple Shield.bot;Apex NoAttack NoShield.bot;Apex NoAttack PurpleShield.bot;Apex NoAttack BlueShield.bot;Apex NoAttack WhiteShield.bot
IsChalleng... |
22a3128e78d36c8421e6fb76979e313668553158 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH5/EX5.11/5_11.sce | b938a7cfd71dbb8760512c453c8a1a1834d0d30f | [] | 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 | 69 | sce | 5_11.sce | //Eg-5.11
//pg-239
clear
clc
printf('Theoretical Question\n') |
47ee81a25c1654d58d91669e462a1768f8cc9390 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.1.a/data7_1.sci | ed5eb74158ad74df440d650ec523cc1a5d9a1f23 | [] | 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 | sci | data7_1.sci |
//(Threaded Joints) Example 7.1
//Refer Fig.7.13 on page 232
//Weight of electric motor P (kN)
P = 10
//Yield tensile strength of 30C8 Syt (N/mm2)
Syt = 400
//Factor of safety fs
fs = 6
|
897a48b0e1bd8d933b311dc797bf09d488c3fc54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH6/EX5.8/EX5_8.sce | 01ac08ee0b009227b34b5fe0d19b88b95b4d7474 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 789 | sce | EX5_8.sce | // Grob's Basic Electronics 11e
// Chapter No. 05
// Example No. 5_8
clc; clear;
// In Fig. 5–18a, suppose that the ammeter M1 reads 16-A instead of 20-A as it should. What could be wrong with the circuit?
disp ('Notice that the current I3 is supposed to be 4-A. If R3 is open, this explains why M1 reads a curren... |
ce552132562bf6b29a2e82b24f57c45140b1d5b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH19/EX19.7/Ex19_7.sce | ba286e1535bccb38682347c058ad495f9b6b9ff0 | [] | 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 | 179 | sce | Ex19_7.sce | //chapter19
//example19.7
//page422
Pc=500 // W
m=1
Ps=0.5*m^2*Pc
Pt=Pc+Ps
printf("sideband power = %.3f W \n",Ps)
printf("power of modulated wave = %.3f W \n",Pt)
|
55bcc65be4c11d2c1fb30901faa867cad9beaba8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/ode_root.man.tst | bc2e2800e6f8d7de662bc3ba22cebfce3eff1f54 | [
"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 | 230 | tst | ode_root.man.tst | clear;lines(0);
// Integration of the differential equation
// dy/dt=y , y(0)=1, and finds the minimum time t such that y(t)=2
deff('[ydot]=f(t,y)','ydot=y')
deff('[z]=g(t,y)','z=y-2')
y0=1;ng=1;
[y,rd]=ode('roots',y0,0,2,f,ng,g)
|
f97f51d4d66d831d8f4a0eeacb098e73a8eaf170 | af301357b0dfd5c5ca0825378008dd7924e7d5db | /gaussSeidel.sci | fea34a9105b67a6572b040c0987241043ce0c928 | [] | no_license | fonte-nele/Metodos-Numerico-Scilab | c544f1a9951f33708f62bdee38a7cddf7699625b | 62a2be7afb3a1f7901bc5f005500475f52f2caae | refs/heads/master | 2020-06-10T11:31:42.291337 | 2019-07-03T18:10:03 | 2019-07-03T18:10:03 | 193,640,719 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,562 | sci | gaussSeidel.sci | clear;clc
function [ X ] = gaussSeidel( A, B )
// Gauss Seidel
n = length(B);
mensagens = 1;
// Estimativa inicial de X e X da iteracao anterior
X = zeros(n,1);
// Criterios de parada
maxIter = 100;
minDelta = 10e-10;
// Contadores
k = 0;
delta = 2*minDelt... |
6b334424e34e7a0e87d3b7f6ce77a4e7bbcacde0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.12/Ex2_12.sce | 7b9aa959e8597046024e86f0721eeaf2e8055a98 | [] | 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 | 582 | sce | Ex2_12.sce | clc
//given that
E_eV = 0.5// kinetic energy of electron in KeV
del_x = 0.4 // Uncertainty in position in nm
h = 6.63e-34 // Plank constant
m = 9.1e-31 // mass of electron in kg
printf("Example 2.12")
h_bar = h / (2*%pi) // constant
E_J = E_eV*1e3*1.6e-19
p = sqrt(2*m*E_J) // Calculation of momentum in kgm... |
2827b733da18c85e3e393a991c070c0ed3705e9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH13/EX13.10/que10.sce | 3b70e30eff278893c9885e29ebf47040bd4e417b | [] | 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 | 88 | sce | que10.sce | //error
clc
disp('solution of the given linear differential equation is given by : '); |
65d489420d6b8cfa245a7e515db6a3645c9dc415 | 449d555969bfd7befe906877abab098c6e63a0e8 | /226/CH3/EX3.24/example24_sce.sce | c924a395dc5b3346d21948c9581d588de64f7f65 | [] | 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 | 230 | sce | example24_sce.sce | //chapter 3
//example 3.24
//page 124
printf("\n")
printf("given")
f=500;Rs=600;E=8;
t=1/(2*f)
PW=t;
C1=PW/Rs
Vo=2*E
Vc=(1*Vo)/100;//1% of the Vo
Ic=(Vc*C1)/t
R1=(2*E)/Ic;
printf("suitable value of R1 is %dohm\n",R1) |
837cbd6661cb6647ff834abc1f555be5b323d3d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH5/EX5.4.1/ex5_4_1.sce | b3c1ad3e4c08cfdd806cf16fbbcd46f934783c32 | [] | 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 | ex5_4_1.sce | syms Wn zeta Kv Ess
s=%s;
p=poly([8 2 1],'s','coeff'); // characteristic equation
z=coeff(p);
Wn=sqrt(z(1,1))
zeta=z(1,2)/(2*Wn)
Kv=z(1,1)/z(1,2)
Ess=1/Kv // Steady state error for unit ramp i/p
disp(Ess,"Steady state Error=")
|
539788df3de0a0f9998a21c639ee217b6c335439 | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH2/EX2.3/ex_3.sce | f6a0fcf2fa0ab5309c092140ec281848d989a4c1 | [] | 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 | ex_3.sce | // Chapter 2_Introduction to the quantum theory of solids
//Caption_Density of States
//Ex_3//page 63
m=9.11*(10^-31) //mass of electron
h=6.625*(10^-34)
E=1.6*(10^-19)
N=((4*%pi*(2*m)^(1.5))/(h^3))*(E^(1.5))*(2/3)
printf('Density of states per unit volume with energies between 0 and 1 eV is %f states per u... |
733316da5df2dfbb2deea5a7112bf961ff3c6673 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH1/EX1.16/ex1_16.sce | d0f341e05da3caa4c7510252ec412b54a0d83a9c | [] | 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 | 279 | sce | ex1_16.sce | //Page Number: 42
//Example 1.16
clc;
//From given wave equation we can see
w=1D+9;//rad/sec
bet=30;//rad/m
c=3D+8; //m/s
u0=1; //let
e0=1/(9D+16);
vp=w/bet;//m/sec
disp('m/s',vp,'Phase velocity:');
e=1/(vp^2*u0);
er=e/(e0*u0);
disp(er,'Dielectric constant:');
|
a394253b6144b5b86a6770769e9361d834aabe75 | ae36bab2f23cf9dfd173fa0721cb860e38e1bea6 | /testdata/flag.go.tst | 5e85bcad8e3326dc68565fe55542b377bad0086c | [
"Apache-2.0"
] | permissive | isgasho/clop | 18f5cc7fcdedc2e6c00dd034e2f54068e3f47622 | 1eba648314c3d8c0b095dfa6137d65632cbf3754 | refs/heads/master | 2023-05-15T00:23:05.278644 | 2021-06-11T13:37:52 | 2021-06-11T13:37:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | tst | flag.go.tst | package main
import "flag"
func main() {
str := flag.String("string", "1234", "string opt usage")
size := flag.Int("int", 0, "int opt usage")
flag.Parse()
_ = str
_ = size
}
|
18bf39a8f5a34b7f298dc952e174d06a54fed591 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/CameracoordCurve.sci | 310ac166d930d95cc610971271941c76fce0487b | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 676 | sci | CameracoordCurve.sci | // 08.08.14
// 08.10.16
// 09.09.25
function Out=CameracoordCurve(Curve)
global FocusPoint EyePoint;
Out=[]; // 09.09.25
for J=1:size(Curve,1)
P=Curve(J,:);
Tmp=P-FocusPoint;
X1=Tmp(1); Y1=Tmp(2); Z1=Tmp(3);
Tmp=EyePoint-FocusPoint;
E1=Tmp(1); F1=Tmp(2); G1=Tmp(3);
Ca=E1/sqrt(E1^2+F1^2);
... |
8873dc343a8382168ca6d988ba37f63194c63112 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH8/EX8.7/Ex8_7.sce | 755ee06095c70897821948c4edbef8187ca270ee | [] | 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 | 837 | sce | Ex8_7.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex8_7.sce.
clc;
clear;
P=300e3;
V=500;
a=8;
p=4;
Z=786;
theta=5;
I=P/V;
armature_AT=(1/2)*(I/a)*(Z/(2*p)); //Total AT per pole
demagnetizing_AT... |
f8d34cadaa136c838a4d2efea1544971c1f34dee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH2/EX2.7/Example2_7.sce | ae74b6cb679bcc514fa9fe38eb954552ad00b29d | [] | 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 | 258 | sce | Example2_7.sce | //Example 2.7
clc;
clear;
close;
//Given data :
format('v',5);
d=6;//in mm
d=d/1000;//in m
sigma=0.0755;//N/m
//At equillibrium : p*%pi*r^2=sigma*2*%pi*r
r=d/2;//in m
p=2*sigma/r;//N/m^2
disp(p,"Intensity of pressure in N/m^2 or Pascals : ");
|
d05747ea4230ade741981f1be2649d17a7f81e83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH3/EX3.4/Ex3_4.sce | 2d2eb22dc95e8ab0a021b6e4fa02d066259cd251 | [] | 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 | 669 | sce | Ex3_4.sce | //fiber optic communications by joseph c. palais
//example 3.4
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
lambda=1.32e-6*1e9//wave length in nm
lambda0=1.3e-6*1e9//Zero dispersion wave length in nm
M0=-0.095//slope at zero dispersion wave length ps/(nm^2xKm)
sw=2//spectral width in nm
d... |
d5e07ef01058f0f27f4f01a42ed401d9f490af49 | bd6b8e5ec768097307b77d215307dd71a427d65c | /clouds.poem.tst | 0f11ccf1bb82d08106cefd7264c43194f1fb2838 | [] | no_license | Anushka1234-has/Clouds-Poem | 9150c08251b77d93a6169971c57bb0163c9ddc3c | 62892e7fd3d671dafb7a90d22667811b465ee4ed | refs/heads/master | 2022-09-22T19:04:43.933210 | 2020-06-03T14:09:27 | 2020-06-03T14:09:27 | 269,104,542 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 134 | tst | clouds.poem.tst | It is hot.
The sky is blue.
A little cloud comes looking for you.
More cloud come.
They bring rain.
Sing and dance.
It's cool again!
|
d6667f25c2ddfb007a00093993188a4ccc86e243 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH2/EX2.21/2_21.sce | 6c85a0c25f09dbb48040b544333428466f21d06b | [] | 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 | 266 | sce | 2_21.sce | function p=parallel(r1,r2)
p=r1*r2/(r1+r2)
endfunction
//deactivate voltage source
i11=4*6/8
i21=4*2/8
v11=i11*2
v21=1*1
//deactivate current source
Req=parallel(2,7)
v22=8*Req/(2+Req)
v12=v22*(2/(2+5))
v1=v11+v12
v2=v21+v22
disp(v2,v1) |
d28ed722db0b2307b78cad57d769c53409af134f | 881e0bcc7118244a24f736786ac36140acfb885e | /yeast/results/GAssist-ADI-C.yeast-5/result5s0.tst | 7a0e1848af07c0954102849381f3be57c67674cc | [] | no_license | woshahua/Experiment_File | 3e34e5a4a622d6d260fbdf8d5ef2711712aad9bc | 6a139cd3f779373799cb926ba90d978235b0de0d | refs/heads/master | 2021-01-01T06:57:13.285197 | 2017-07-28T08:17:38 | 2017-07-28T08:17:38 | 97,557,409 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,585 | tst | result5s0.tst | @relation yeast-5
@attribute Mcg real [0.11, 1.0]
@attribute Gvh real [0.13, 1.0]
@attribute Alm real [0.21, 1.0]
@attribute Mit real [0.0, 1.0]
@attribute Erl real [0.5, 1.0]
@attribute Pox real [0.0, 0.83]
@attribute Vac real [0.0, 0.73]
@attribute Nuc real [0.0, 1.0]
@attribute Class {MIT, NUC, CYT, ME1, ME2, ME3, E... |
222c8430ea796f51c3ea50d625312467166feb8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH4/EX4.4/Ex4_4.sce | 2cd6c39c08704c7c44a1218f6b4a8a34f236705b | [] | 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 | 187 | sce | Ex4_4.sce | clc
//
//
//
//Variable declaration
c=3*10**8
delf=3000 //Bandwidth
//Calculations
lc=(c/delf)
//Result
printf("\n The coherence length of the laser beam is %0.3f m or 10**5 m",lc)
|
f52ae34a5b77d61f629050a902886b0e03fb6ed3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH6/EX6.2/6_2.sce | 443fc685111fd7ad4cbbbde320a4d03ce7db2173 | [] | 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 | 388 | sce | 6_2.sce | //clc()
//y1 = x
//y2 = exp(-x)
for i = 1:6
if i == 1 then
x(i) = 0;
else x(i) = x(i-1) + 0.2;
end
y1(i) = x(i);
y2(i) = exp(-x(i));
end
disp(x,"x = ")
disp(y1,"y1 = ")
disp(y2,"y2 = ")
plot(x,y1);
plot(x,y2);
xtitle("f(x) vs x","x","f(x)")
// from the graph, we get
x... |
d21d660969cb38f710f57228cfabba061ea73366 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH8/EX8.13/EX8_13.sce | 7b0473e61d1eac245f00f53553dcc65a1322b672 | [] | 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 | 848 | sce | EX8_13.sce | clc;funcprot(0);//Example 8.13
//Initilisation of Variables
Tci=20;......//Inlet temparature of fluid in degrees celcius
Tco=90;......//Outlet temparature of fluid in degrees celcius
Thi=200;......//Inlet temparature of steam in degrees celcius
Tho=100;......//Outlet temparature of steam in degrees celcius
U=300;... |
b3032db56b00974e134ae923e7adbef11795e153 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH8/EX8.4/8_4.sce | 14bdf700db5f9ba66c8592a7cdaea30c9f8a7802 | [] | 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 | 492 | sce | 8_4.sce | clear; clc; close;
Idss = 8*10^(-3);
Vp = -4;
gmo = 2*Idss/abs(Vp);
Id1 = 0;
gm1 = gmo*(sqrt(Id1/Idss));
Id2 = Idss/4;
gm2 = gmo*(sqrt(Id2/Idss));
Id3 = Idss/2;
gm3 = gmo*(sqrt(Id3/Idss));
Id4 = Idss;
gm4 = gmo*(sqrt(Id4/Idss));
x = [Id1 Id2 Id3 Id4];
y = [gm1 gm2 gm3 gm4];
yi=smooth([x;y],0.0005)... |
49494e9f2744f2c0ad3eb597573120a377132536 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s__elelectronics_instrumentation_and_measurements_U._S._Shah_2195.zip/_elelectronics_instrumentation_and_measurements_U._S._Shah_2195/CH9/EX9.17.6/ex_9_17_6.sce | 0ceb2810fe09dec70ae98c38223bc0fe9a1c29c0 | [] | 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 | 182 | sce | ex_9_17_6.sce | errcatch(-1,"stop");mode(2);//Example 9.17.5 // capacitance
;
;
//given data :
K=10;// constant
C2=35*10^-12;
C1=(C2/(K-1))*10^12;
disp(C1,"capacitance,C1(pico-farad) = ")
exit();
|
ef2da30e0e8249f0b7ff0786aa404e33e412e7be | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/ngram/5.8_3.tst | 326bc43b557bbb7901d4d7f13fc9946324fe1629 | [] | 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 | 574,109 | tst | 5.8_3.tst | 8 208:1 398:1 526:1 749:1 862:1 977:1 1273:1 1533:1 1566:1 1610:1 1721:1 1848:1 1935:1 2031:1 2097:1 2123:1 2124:1 2368:2 2514:1 2535:1 2541:1 2543:1 2950:1 2969:1 3037:1 3078:1 3173:1 3199:1 3482:1 3547:1 3758:1 3948:1 4117:1 4152:1 4217:1 4390:1 4493:1 4702:1 4872:1 4987:1 5121:1 5181:1 5210:1 5303:2 5447:1 5448:1 54... |
88e278bc7ef7aed9c4a49237ea7a04e27a1dd7c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH17/EX17.9/17_9.sce | 151af432a3c5a08f7b98f8c97f765f0e13792255 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | 17_9.sce | //Value of P
//refer fig. 17.9 (a),(b)and(c)
//Let t1 be the time required to bring the system to rest
N=1000 //N
F=0.2*1000 //N
//Applying impulse momentum equation upto stationary condition and leftward motion and solving those equations by trial and error method we get
P=645.74 //N
printf("Value of P is %.... |
0a689a02e687bbebe8af97d8ccbcbce8bd364d88 | dd08b759570fdff11f34c11c2f961c12b4745e65 | /problems/kattis/drawingcircles/secret/01000.in | 640d8e0d23acda8de5cf0e7e33aaaf7fd4457441 | [] | no_license | SimonBerens/Reference | 99a2b221b3b8d1b9d4f116736bee6288f930944b | b6000e4ebd2e477b634c5f848b01757fdd9fc037 | refs/heads/master | 2021-12-26T08:50:26.027605 | 2021-11-30T06:26:58 | 2021-11-30T06:26:58 | 224,750,402 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14 | in | 01000.in | 2
0 0 1
2 0 1
|
ff2e280d59e37ed9599890b4e35e5c03b147a46a | 449d555969bfd7befe906877abab098c6e63a0e8 | /377/CH7/EX7.2/7_2.sce | bcc869cdcf46bfc0c0da3efd5050a924e9318e74 | [] | 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 | 7_2.sce | disp("The absorption edge of the quantum well structureoccurs at Eg+Ehh1+Ee1");
Ehh1=0.002;
Ee1=0.014;
Eg=1.424;
E=Eg+Ehh1+Ee1;
printf('\n The band edge therefore shifts from 1.424eV to %f eV',E);
printf('\n');
disp("This corresponds to a blue shift of 10nm"); |
f97cd280c6e3f1b8f1b9e92ba4f7578dc3142568 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3554/CH7/EX7.1/Ex7_1.sce | 5e3c80d31507b502a2c9d06c7aa04c15cc00bb5c | [] | 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 | 364 | sce | Ex7_1.sce | // Exa 7.1
clc;
clear all;
// Given data
// Referring to waveform shown in fig 7.50 on page 211
V_attn= 0.5; // Vertical attenuator(V/div)
div=3; // No of vertical divisions
// Solution
// Using equation : Vp-p=(volts/div) * (no. Of div/1);
Vp_p=V_attn * div/1 ;
printf(' The peak to peak amplitu... |
55f6b78bf28f089a75809f67f02476e70299de6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH3/EX3.3/Ex3_3.sce | 3925732a463b2ed533dca1968a4619457adf4e5f | [] | 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 | 188 | sce | Ex3_3.sce | //example 3 pagenumber 139
clear
v=4.3;//volt
q=4;//volt
dop=10^17;//per cubic centimetre
fi0=0.254*log(dop/(5.1*10^10));
fi01=0.407+q+0.55;
disp('fi0 = '+string(fi01));
|
2577563357cd51167e56ad208bc69207ad99de8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH12/EX12.10/Ex12_10.sce | 9066a0a45d11de628f889961b235cd4bf4dcde8a | [] | 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 | 487 | sce | Ex12_10.sce | // Example 12_10
clc;funcprot(0);
// Given data
T_DB=50.0+273.15;// K
T_ref=0+273.15;// K
phi=40.0/100;// The relative humidity
p_m=0.101;// MPa
c_p=1.004;// kJ/(kg.K)
// Calculation
h_a=c_p*(T_DB-T_ref);// kJ/(kg dry air)
// From Table C.1b,
p_sat=0.01235;// MPa
w=0.622*((phi*p_sat)/(p_m-(phi*p_sat)));/... |
fe524a7f71b4ed1dd193642fdd996b818fe1895c | dc628e7d8425aa0bb1460d2583f04c9969b4ec9c | /dlog-server/examples/iocaste/n200.tst | 442a37975ae8e8e50c741a05edb4d7924a2ca570 | [] | no_license | logicmoo/DLog | bc2c43523ccbc3747c381f2eb0e25960cfc8d6e1 | 855774c38c1eea119405fde0057cfdb1032006f0 | refs/heads/master | 2021-05-28T14:03:35.596790 | 2015-01-12T22:49:56 | 2015-01-12T22:49:56 | 27,461,790 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 25,429 | tst | n200.tst | %Generated from '../examples/iocaste/n200.dig'.
query(instances(aconcept('Good')), [i1]).
concept('Good').
concept('Patricide').
role(hasChild).
implies(and([some(arole(hasChild), and([aconcept('Patricide'), some(arole(hasChild), not(aconcept('Patricide')))]))]), aconcept('Good')).
implies(aconcept('Goo... |
ca798f3346c679cc8188bb0bc284796fa915eecc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH1/EX1.23/Example1_23.sce | 3847929b7ed1b5bba6e50666ac224b7e767f672d | [] | 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,955 | sce | Example1_23.sce | //Example 1.23
clc
disp("Step 1: Identify topology")
disp("Here output voltage is sampled and fed in shunt with the input siganl such that, I_s-I_f = I_i, hence topology is voltage shunt feedback")
disp("")
disp("Step 2 and Step 3: Find input and output circuit")
disp("To find input circuit, set Vo = 0. This plac... |
c45e4d7ace60c8deef3b6ea64b5960feab29eaf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH15/EX15.5/ex15_5.sce | 8fde15c6a32ddcbf37e7661df318c69d5034a3b5 | [] | 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 | 468 | sce | ex15_5.sce | clc;
T=2800; // Temperature of combustion in kelvin
p=1; // Pressure of combustion in atm
// For this reverse reaction at 2800K and 1atm, from Table 15.1
K=44.168; // K=e^3.788;
K=sqrt (K); // For stoichiometric equation CO+1/2 O2 = CO2 which is halved
// From equation 15.24a and by the iteration process we get t... |
6aa1c66d24e2d02730ea5a9fc51d76f4d51b2c1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH4/EX4.17/17.sci | 918f54b298d1611f4b8571a69a5caa3a604e865a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 585 | sci | 17.sci | clc;
clear all;
disp("time and temperature ")
L=6/2000;//m
rho=7800;// kg/m^3
c=460;// J/(kg.C)
k=55;// W/(kgm.C)
ti=30;// degree C
ta=2150;// degree C
t=1100;// degree C
Lc=L;// characteristic length
Bi=h*Lc/k;
if Bi>1
disp("Internal temperature gradients are not small and can not be neglected")
end
F... |
3b2e658b2a5c7193701add2af0dae66ee4ab137f | 13083e71c89ff3d8f6f87be06f9052c3f099fc14 | /05/own_tests/own_test.tst | 475108f8baf6d3a10471531c16f30e5cafe72e4a | [] | no_license | mklindtner/computerScratch | 1e1f3e734199ae93a936c3fe0132774bfae0d0f3 | a916ec04f57c65047331a37bb636e4770344e106 | refs/heads/master | 2020-05-26T14:02:12.623661 | 2019-06-29T00:49:51 | 2019-06-29T00:49:51 | 188,069,812 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 954 | tst | own_test.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/05/CPU.tst
load CPU.hdl,
output-file CPU.out,
compare-to CPU.cmp,
output-list time%S0.4.0 inM%D0.6.0 instruction%B0.16.0 reset%B2.1.2 outM%D1.6.0 writeM%B3.1.3 add... |
e55090e88a0090e1e1a8233b7b0665cb6729e632 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH32/EX32.20/Ex32_20.sce | 4a47466398dfbe72a35385e7018741d95dea99d5 | [] | 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 | 724 | sce | Ex32_20.sce | // Example 32_20
clc;funcprot(0);
//Given data
P=500;// MW
F_c=0.45;// Capacity factor
F_l=0.6;// Annual load factor
Cf=1000*10^6;// Cost of fuel used/year in rupees
CC=10000*10^6// Capital cost plant in rupees
ID=15/100;// Interest and depriciation
// Calculation
//(a)
MD=(F_c/F_l)*P;// Maximum demand in ... |
cfb9634b116c20c5fd2db1e9c587c3dbc99f7948 | b513eb49824ff62ddd2289a920c92cfcb362d5f2 | /magister/course_1/ushakov/scilab/1_3.sce | 2646d3d6ed987ee604ae65dc9979793ebd9fbc2c | [] | 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 | 4,487 | sce | 1_3.sce | tA1 = [0, 1, 0, 0; -1/2, -236/120, 0, 0; 0, 0, 0, 1; 0, 0, -1/2, -236/120];
tA2 = tA1;
tA3 = [0, 1, 0, 0; -1/2, -236/120, 0, 0; 0, 0, 0, 1; 1/2, 36/120, -1/2, -236/120];
tA4 = [0, 1, 0, 0; -1/2, -236/120, 0, 0; 0, 0, 0, 1; -1/2, -3.6, -1/2, -236/120];
tA6 = [0, 1, 0, 0; -1/2, -236/120, 0, 0; 0, 0, 0, 1; 1/2, 20/12,... |
d1135557184b51bbaa0b22210d3c41ac0faaad13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH9/EX9.02/9_02.sce | 358f53d6bd3b3edab2ca8afae984977fa9d2b865 | [] | 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 | 467 | sce | 9_02.sce | //Problem 9.02: At what velocity must a conductor 75 mm long cut a magnetic field of flux density 0.6 T if an e.m.f. of 9 V is to be induced in it? Assume the conductor, the field and the direction of motion are mutually perpendicular.
//initializing the variables:
l = 0.075; // in m
E = 9; // in Volts
B = 0.6; /... |
601def642882714b4b42096a65452fd3c2519f71 | 952f05b9b2293792559cddaf7ee402ccc22b0b8d | /icclim/test-cases/test-cases-read-the-docs/read-the-docs-example-05.tst | fa88df457978c2d6b4c64c7b5b1cb255643f4cd7 | [
"Apache-2.0"
] | permissive | ptrgast/icclim | a5c768bde9f5ce0562ef8250262ca1d70213c461 | 1c43cc7fc5d779f04fb72361a80bde3b232a9580 | refs/heads/master | 2020-05-18T18:44:15.153378 | 2020-02-04T07:46:40 | 2020-02-04T07:46:40 | 184,594,303 | 0 | 0 | NOASSERTION | 2020-02-04T07:46:41 | 2019-05-02T14:19:16 | Python | UTF-8 | Scilab | false | false | 552 | tst | read-the-docs-example-05.tst | [Read-the-docs-example-5] # Read the docs - example 5
user_indice: {'indice_name': 'my_indice', 'calc_operation': 'max'}
in_files: ['tas_day_MPI-ESM-LR_historical_r1i1p1_19500101-19591231.nc', 'tas_day_MPI-ESM-LR_historical_r1i1p1_19600101-19691231.nc', 'tas_day_MPI-ESM-LR_historical_r1i1p1_19700101-19791231.nc', 'tas_... |
7bf1f9aff1f96feafcd39b670792ade81ea2b731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH4/EX4.30/Ex4_30.sce | f572f91b9aed389b704e35975384b9f589986141 | [] | 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 | 308 | sce | Ex4_30.sce | clear
//
l=10
r=100
i=1
f=100
i1=0.5
c=1/(4*(3.14**2)*(r**2)*l)
v=i*r
z=v/i1
//z=100+jX
x=((200**2)-(100**2))**0.5
omega=641.1 //angular frequency in rad/sec
f0=omega/(2*3.14)
f1=f0-(r/(4*3.14*l))
f2=f0+(r/(4*3.14*l))
printf("\n f0= %0.1f Hz",f0)
printf("\n f1= %0.1f Hz",f1)
printf("\n f2= %0.1f Hz",f2)
|
e86f6369dc1eba35231e8ed5f10a11d3e45d2905 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3281/CH4/EX4.14/ex4_14.sce | 56fff5833568c6057b16902659796e41c1c5b447 | [] | 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 | 433 | sce | ex4_14.sce | //Page Number: 216
//Example 4.14
clc;
//Given
p=40; //mW
//Since port 3 is matched
x=sqrt(2);
s=[1 1 x;1 1 -x;x -x 0];
r1=40; //ohm
r2=60; //ohm
w=50; //ohm
//Reflection coefficients
T1=(w-r1)/(w+r1);
T2=(r2-w)/(r2+w);
//As power is fed into 1 and 2 equally
pd=p/2;
//Power delivered
//Port 1
p1... |
7b0ac8f8a03db6ee357019611710f1e003acb9f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH11/EX11.2/EX11_2.sce | dabc529650a93cf8bb832a00d671e12e01019b78 | [] | 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 | 967 | sce | EX11_2.sce | clc;funcprot(0);//EXAMPLE 11.2
// Initialisation of Variables
cp=5;.................//Consumption of petrol in kg/h
afr = 16;...............//Air fuel ratio
Af=2*10^(-6);..............//Fuel orifice area in m^2
z=0.005;................//Distance between tip of jet and level of petrol in float chamber in m
spgrp=0... |
3ae9172e4ce41a3d0f9719aaf93433cfcc8c2278 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3401/CH3/EX3.6/Ex3_6.sce | 9bf6b31fc6f8168e005ef024fcb23c383acba947 | [] | 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 | 141 | sce | Ex3_6.sce | clc
T=300 //K
//a=E-Ef
//a=3*k*T
//fF(E)=1/(1+exp(E-Ef/kT))
z=exp(3)
y=1/(1+z) //y=fF(E)
printf('fF(E)=%f\n',y)
|
a0cf48f3840426b7ddd7c14aeab1b2722a464b05 | d167200e784b8019615f6b37b5a46b91ec43b98d | /macros/xyz2lab.sci | 1a130728c4f7356fa57f482297347615ae216a50 | [] | 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,949 | sci | xyz2lab.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_... |
2fd1fcb5cd1f485ca07daae9b83e3415854abc16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH7/EX7.5/7_5.sce | 80ad5ced22b7415deb6d7f84823972afa7669ea5 | [] | 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 | 244 | sce | 7_5.sce | clc
//Initialization of variables
T1=1000 //R
T2=2000 //R
//calculations
function y =cp(t)
y=9.47 -3.47*10^3 /t + 1.16*10^6 /t^2
endfunction
cp2= 1/(T2-T1) *(intg(T1,T2,cp))
//results
printf("Specific heat = %.2f Btu/mol R",cp2)
|
c6e6a395c3bc7e01ac318fed75dac752f1f88cda | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH2/EX2.6/exmp2_6.sce | 21b3f66c30e444ca1c4be4c8f5721df3dfb9d231 | [] | 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 | 470 | sce | exmp2_6.sce | //exmaple 2.6
clc
disp("The circuit is Wien bridge oscillator using op-amp. The gain of the op-amp is")
a=1+3
disp(a,"A = 1 + R3/R4 =")
disp("So A > 3")
disp("This satisfies the required oscillating condition. The feedback is given to non-inverting terminal ensuring the zero phase shift. Hence the circuit will w... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.