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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3d68f2f58171f8649c23c53906fdbc0de2be9f78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH5/EX5.1/EX5_1.sce | da00ee38f31dbd50f649b28c64f4fc82e8cfb676 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 764 | sce | EX5_1.sce | // Example 5.1
// Computation of minimum value of (a) Locked rotor torque (b) Breakdown torque
// (c) Pull up torque
// Page No. 173
clc;
clear;
close;
// Given data
f=60; // Frequency in Hz
p=6; // Number of poles
hp=10; // Horsepower
n=1150; // Rate... |
b7eb55a26ba80e2ec9b490b9bbaf335bafb11f1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2969/CH4/EX4.7/Ex4_7.sce | 5c0d9513eb9936750d3ecde265ca369f0189a434 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 943 | sce | Ex4_7.sce | clc
clear
//DATA GIVEN
m=1000; //mass of steam generated in kg/hr
p=16; //pressure of steam in bar
x=0.9; //dryness fraction
Tsup=380+273; //temp. of superheated steam in K
Tfw=30; //temp. of feed wate... |
2584bce120e48bd42339d985076eb078e1e03407 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH12/EX12.18/example_12_18.sce | 58e6a8ef6e74401dd6d426eac9461de593eb5eda | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 52 | sce | example_12_18.sce | s=%s;
sys1=syslin('c',5/((1-s)*(s)))
nyquist(sys1) |
de0ad5f4e918cf4edb3d1aba83a8b225fae1aab3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH3/EX3.9/3_9.sce | 58e91a723dc270db4d4af2ad8004aebfa6311ee7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 660 | sce | 3_9.sce | clc;
//page no 122
//prob no. 3.9
// refer fig 3.14
// from spectrum we can see that each of the two sidebands is 20dB below the ref level of 10dBm. Therefore each sideband has a power of -10dBm i.e. 100uW.
power_of_each_sideband = 100;
Total_power = 2* power_of_each_sideband;
disp('uW',Total_power,'The total po... |
45630fed391486154a8f5a92a1b17eabaf6b2619 | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH6/EX6.3/Example6_3.sce | c67d05f9cb5d691c27b07e899638ebea285ff76e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 352 | sce | Example6_3.sce | //heat produced in a reaction
clear;
clc;
printf("\t Example 6.3\n");
mSO2=74.2;//mass in g
SO2=64.07;//molar mass in g
nSO2=mSO2/SO2;//moles of SO2
deltaH=-99.1;//heat produced for 1 mol, in kJ/mol
Hprod=deltaH*nSO2;//heat produced in this case, in kJ/mol
printf("\t the heat produced in a reaction is ... |
e82f28fe382f7ceb672de59d457fe7f6ffe94700 | bae725b750433ba5d58470784eeb87687023da7e | /macros/Henon_orbit.sci | ffc644f09429f70afd183f922a11127367c44526 | [
"MIT"
] | permissive | aamadou/IsItChaos | eac61da272b4fb22f83bdceaceb5774385f481e5 | def74ddd5710898f876a9a7d39916e5cc1a8b6b5 | refs/heads/master | 2016-08-04T21:00:17.832904 | 2014-03-24T13:18:39 | 2014-03-24T13:18:39 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | Scilab | false | false | 946 | sci | Henon_orbit.sci | function [x,y]=Henon_orbit(NbrIti,A,X0,B,Y0,NbrItTrans)
if ~isdef('NbrIti','local')...
then NbrIti=1000,
end;
Commandline='henon -l'+string(NbrIti),
if isdef('A','local')...
then Commandline=Commandline+' -A'+string(A),
end;
if isdef('B','local')...
then Commandline=Commandline+' -B'+string(B),
end;
if isde... |
4b9eb525baae2889492ad568c1706da627fd0684 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.9_8.tst | 69b3da1b5ed7b19bb767003df0436f686e8a256f | [] | 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 | 43,580 | tst | bow.9_8.tst | 9 7:0.125 24:1.0 25:0.16666666666666666 31:0.2857142857142857 40:1.0 49:0.25 51:2.0 75:1.0 76:2.0 155:1.0 167:0.125 179:0.3333333333333333 243:0.1111111111111111 245:0.3333333333333333 293:1.0 328:1.0 329:1.0 335:1.0 398:0.09090909090909091 426:1.0 447:0.3333333333333333 460:0.5 506:0.14285714285714285 533:0.5 674:2.0 ... |
3ac48a012efdef5e62689c06ddbe3537cdf02ab9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.8/Ch05Ex8.sce | 711f2db2bff3b4b1bdf2391e879aba1f0f761ae9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 996 | sce | Ch05Ex8.sce | // Scilab code Ex5.8: Pg:218 (2008)
clc;clear;
Lambda = 5000; // Wavelength of spectral line, Angstorm
n = 1; // First order principal maxima
n = 3; // Third order principal maxima
aplusb = 18000; // Grating element where a is the width of slit and b is the width of opaque region in a grating, cm
n ... |
e45f67ad43d677131f35c3a92bc56063888f6181 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2528/CH10/EX10.5/Ex10_5.sce | 87016d6c37f320545daac60fb814777d35e80163 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 564 | sce | Ex10_5.sce | //Chapter 10
//range of Differentiation & Sketch the output Waveform
//page no. 365
//Example10_5
//Figure 10.19
//Given
clc;
clear;
Ri=100; //in Ohm
Ci=10^-8; //in farad
Rf=5000; //in Ohm
Cf=10^-10; //in farad
fhf=1/(2*%pi*Rf*Cf);
fh_in=1/(2*%pi*Ri*Ci);
printf("\... |
a36f3107387caf87029d7c88bd3d5e4300181859 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH1/EX1.19/Ex1_19.sce | afb71c7a1077ba7e6f6cc70852146ff80bca6100 | [] | 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 | 138 | sce | Ex1_19.sce | errcatch(-1,"stop");mode(2);//Ex:1.19
;
;
v=3;//in volts
i=1.5;//in amperes
p=v*i;
printf("Power supplied = %f watts",p);
exit();
|
21585915af7b29d02aa6fb9ec7821fcba7ee0b9d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/arma/exar2.sci | 2f88220c6d20f4bce1480564cc7139cf5b5c266b | [
"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 | 560 | sci | exar2.sci | //<z,zd,u,ar>=exar2()
//<z,zd,u,ar>=exar2()
//
// Exemple de processus ARMAX ( K.J. Astrom)
// On simule une version bidimensionnelle
// de l'exemple exar1();
//!
a=[1,-2.851,2.717,-0.865].*.eye(2,2)
b=[0,1,1,1].*.[1;1];
d=[1,0.7,0.2].*.eye(2,2);
sig=eye(2,2);
ar=armac(a,b,d,2,1,sig);
write(%io(2),"Simulation of the A... |
46c2da6051823ef7cd710a5cec81a6c7d751b6fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH19/EX19.17/Ex19_17.sce | d4c1cb5f5a8707fc5f01f8e8750809696ebbc61d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sce | Ex19_17.sce | clear
//Given
u0=-200.0 //cm
f0=30.0 //cm
fe=3
//Calculation
v0=1/((1/f0)+1/u0)
a=v0+fe
//Result
printf("\n Separation between the objective and eyepiece is %0.1f cm",a)
|
e371b493418dc87d0bee25a6047240f7e5bcc528 | 5c4a19e674d3d4c9f8714cc056d7597a0f9cab51 | /Experiment_2.sce | d0d1503c7fff069df1caaaf866435f185820cd26 | [] | no_license | idyczko/Graduate_Project | f1fa672fd22b894d16f4ec82d101e13b624b1e56 | aced90cd634af106df651dd8761744a38cd1f7a1 | refs/heads/master | 2021-01-10T10:19:25.994422 | 2016-03-01T21:42:17 | 2016-03-01T21:42:17 | 44,832,960 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,206 | sce | Experiment_2.sce | xdel(winsid());
clear;
File = mgetl("frequency_double_measurement.txt");
Vector = evstr(File);
len= size(Vector);
frequency = len(2)/20;
time_stamp = 10000/frequency;
File = mgetl("Experiment_2_top.txt");
Vector = evstr(File);
Vector=Vector(131:length(Vector));
time_axis = 0:time_stamp/10000:length(Vector)*time_stamp/... |
48e4b746b2eed1c34993ebce67beaf4bf266e8f9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH7/EX7.8/Example7_8.sce | 03fdce9f874c1eaf0fbc4555a1348446b4f19d6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example7_8.sce | //Given that
m=.4 //in kg
Vi = .5 //in m/s
k = 750 //in N/m
//Sample Problem 7-8
printf("**Sample Problem 7-8**\n")
//Using work energy theorem
//Wnet = Kf - Ki
//Kf = 0
//.5*k*x^2 = Ki
x = sqrt(m*Vi^2/k)
printf("The compression in the spring is %em", x) |
158b7985487e1d4fa978fd7dc7f16102f0e0beeb | b29bc4e29d06b11ebe6ecc895a213ad2f131f6e1 | /pop/packages/contrib/pml/smllib/library/doc/verbatim/verbtest.tst | e4610afa0420620210d457c10f2a5c996a6fb9c5 | [] | no_license | sfkleach/unpacked_poplog_base_v16 | bdd0df240cbbc296e85643cb701ed344e28d8855 | 83e4c75aaff45af45a7d4db3ac8dddf620bf69fe | refs/heads/master | 2023-04-19T16:03:12.739222 | 2021-05-08T18:22:49 | 2021-05-08T18:22:49 | 365,563,143 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 152 | tst | verbtest.tst | \test
\test
\test
A TAB character: assdf
Two TABS: asdf
3 TABS: sdfa<f
12345678123456781234567812345678
<an empty line follows>
<last line>
|
ccedd70ecda39f05c807eaa35a1f5a4d69562a2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH5/EX5.2/5_2.sce | 07714a27967fdf13745ce7bb36681d483956e94f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | 5_2.sce |
//data
Lp=10^(-5) //H
Cp=10^(-11) //F
Rp=10^5 //ohm
RL=10^5 //ohm
//formula and result
printf("\nresult:-")
Wo=1/sqrt(Lp*Cp)
printf("\nWo=1/sqrt(Lp*Cp)=%.0e rad/s",Wo)
Q=Rp/(Wo*Lp)
printf("\nQ=Rp/(Wo*Lp)=%.0f",Q)
Qe=RL/(Wo*Lp)
printf("\nQe=RL/(Wo*Lp)=%.0f",Qe)
QL=Q*Qe/(Q+Qe)
... |
92d20388bfb37037ba2772f4cf5664753bd5fee3 | 2ae858a680a4ccf8a2ec89a45a1e48a0292d8eab | /macros/isEpipoleInImage.sci | 1fee338c9e9be71cd3dfe9af2081dbcc38463baf | [] | no_license | shreyneil/FOSSEE-Image-Processing-Toolbox | f315a82c325b2d6cbd0611689f3e30071a38490d | dd1cbd0dcbe0c3dd11d6ce1ab205b4b72011ae56 | refs/heads/master | 2020-12-02T16:26:13.755637 | 2017-07-07T19:22:33 | 2017-07-07T19:22:33 | 96,552,147 | 0 | 0 | null | 2017-07-07T15:32:15 | 2017-07-07T15:32:15 | null | UTF-8 | Scilab | false | false | 2,090 | sci | isEpipoleInImage.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_... |
8b2e35e58086f13685aa8d3af1eec8cf0ae39546 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH1/EX1.37/Ex1_37.sce | 69346c14f89a7d2cb72c7fd392d433a5967210a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Ex1_37.sce | clear
//
//
//
//Variable declaration
lamda=51*10**-6 //wavelength(cm)
D=200 //separation between screen and slit(cm)
beta1=1 //fringe width(cm)
n=10
//Calculation
d=lamda*D/beta1 //slit separation(cm)
//Result
printf("\n slit separation is %0.3f m",d*100)
|
e72a99e08809a61ab97dd3468dad649377d18623 | 76b8c4ba0a69d3281b658f0fcf0ec56a96e27581 | /Scripts/histogrammeFct.sci | b5fb5cb65d17507809495c35e504dda1ddae7e54 | [] | no_license | RomainJunca/ExoLife | 0824fa566b38c5061f77592df6c38c3614dd8619 | 8da1524432d0ef1137d5e73e80cec339e6ec1c33 | refs/heads/master | 2020-05-25T14:08:07.353617 | 2017-03-20T08:31:32 | 2017-03-20T08:31:32 | 84,937,995 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 580 | sci | histogrammeFct.sci | // Fonction pour faire l'histogramme
function histo=histogrammeFct(image)
SizeX = size(image, 1); //On récupère la longueur de l'image à modifier.
SizeY = size(image, 2); //On récupère la largeur de l'image à modifier.
histo = zeros(1, 256); //On crée une matrice nulle qui va contenir l'image modifiée (ic... |
4f56730d79bb1a7154bdf8ccb32c0d4e76a85779 | 0896434fe17d3300e03ad0250029673ebf70bacc | /sheet_3/Scilab_codes/effect_of_omega_on_step_response.sce | fd645cd483972469d021c09c816842c4ae40bda0 | [] | no_license | TheShiningVampire/EE324_Controls_Lab | 8ff1720b852bf24dca3c172082f5f898f80f69f3 | 9aea73eed3f5a4ac6c19a799f8aebe09f4af0be8 | refs/heads/main | 2023-07-09T17:30:38.041544 | 2021-08-23T12:14:29 | 2021-08-23T12:14:29 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,247 | sce | effect_of_omega_on_step_response.sce | clear
close
clc
s = poly(0,'s');
w = 1:2:9; // Natural frequencies
for i = w
g = i^2/(s^2 +2*(0.5)*i*s+ i^2); // xi = 0.5
G = syslin('c', g);
t = 0:0.0001:8;
gs = csim('step',t,G);
plot2d(t,gs, style = i)
disp(i ,'The natural frequency is ')
//Percentage Overshoot
g_steady = gs($);
... |
af7960ad90cd8b54fb97018e7caaba75ba64af63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH5/EX5.41/5_41.sce | 490ad562a82b3e13b7c278c3f50c0ed4fb93726e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,062 | sce | 5_41.sce | //Example 5.41
//Piecewise Cubic Hermite Interpolation Method
//Page no. 182
clc;close;clear;
x=[0,1]
y=[1,3]
y1=[0,6]
x0=poly(0,'x')
printf('\tx\ty=f(x)\n-----------------------\n')
for i=1:2
printf('x%i\t%i\t %i\n',i-1,x(i),y(i))
end
p=1;p1=1;i=1;
for k=1:2
for j=1:2
if k~=j then
... |
33cd2d36b1360532806b09d4da2952d1aac446c2 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronics_Engineering_P._Raja_2150.zip/Electronics_Engineering_P._Raja_2150/CH4/EX4.30/ex4_30.sce | ecf191b8b1d08baa6af72176eeea497be3aaf765 | [] | 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 | 164 | sce | ex4_30.sce | errcatch(-1,"stop");mode(2);// Exa 4.30
;
;
// Given data
I_C = 10;// in mA
I_B = 0.1;// in mA
bita = I_C/I_B;
disp(bita,"The current gain is");
exit();
|
01cb7a31bf23698524fcfa73fc800396349e9127 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH2/EX2.14/Exa2_14.sce | ea41dbe8f7844247acab30245ba738517dbc4638 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Exa2_14.sce | //Exa 2.14
clc;
clear;
close;
//Given data :
N=700;//No. of modes
d=30;//in um
a=d/2;//in um
NA=0.62;//Numerical Aperture
//Formula : v=2*sqrt(N) and v=2*%pi*a*NA/lambda
lambda=2*%pi*a*NA/(2*sqrt(N));//in um
disp(lambda,"Wavelength of light propagating in fibre in micro meter : "); |
af53498c0556d0bb66bcef6075d96784310dc021 | 43ee35e120afa343a967b8a7034a973f0a481a4d | /60002190045_SS_EXP_2_CORRELATION.sce | 949633d2c8f1fa17e04f0e71a9a9ff67eff6f644 | [] | no_license | hrushilp/60002190045_SSPRACS | 8c43d955139c09e5e3d0a3d0d041fb053c94cb88 | 07887fd3a92d3d599b993fb5585b63d569836d67 | refs/heads/main | 2023-01-20T06:23:31.575304 | 2020-11-25T18:52:42 | 2020-11-25T18:52:42 | 316,027,450 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sce | 60002190045_SS_EXP_2_CORRELATION.sce | //PRACTICAL-2_Q2
clc;
clear all;
close;
x1=[1,3,7,-2,5];
h=[2,-1,0,3];
y=xcorr(x1,h);
disp(y,"IS THE REQUIRED CORRELATION!");
l=length(y);
t=0:l-1;
plot2d3(t,y);
xlabel("n");
ylabel("AMPLITUDE");
title("CORRELATION-1");
x1=[1,3,7,-2,5];
h1=[3,0,-1,2];
y=xcorr(x1,h1);
disp(y,"IS THE REQUIRED CORRELATION... |
75a2ea6c91f3ea362c519142a12d8261ff6844ee | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/sr_1i_16o_nv.sce | 6da80560a9098e440647471dbbfc366df1354996 | [] | 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,207 | sce | sr_1i_16o_nv.sce | //***** Shift register 1input 16outputs (non vecterized version) *******
if (blk_name.entries(bl) =='sr_1i_16o_nv') then
addvmm = %t;
mputl("# Shift register 1input 16outputs",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
sr_1i_16o_nv_str= ".subckt in2in_x1 in[0]=fbout_"+string(internal_number)+"_"+s... |
1a2f735979ad8a559adad5ebc4f6a6602bf0eecf | ef7da921e1289d3deaaf9727db2b6f025656e8d9 | /DTRamp.sce | 29ad0454b5fc427f790b0483e2432c19b9fb18fb | [] | no_license | PrayagS/SciLab_Exercises | ea88438207f2dc5d3f211c9abfe137a4bd43f68f | 0495ba76e693750980fefb386c28209a6fd6563e | refs/heads/master | 2020-09-08T01:52:22.914681 | 2019-11-16T05:39:29 | 2019-11-16T05:39:29 | 220,977,317 | 2 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 264 | sce | DTRamp.sce | clear;
function y = ramp(n, m, d)
N = length(n);
y = zeros(1, N);
for i = 1 : N
if n(i) >= -d
y(i) = m*(n(i)+d);
else
end
end
endfunction
clf;
dn = 1;
n = -6 : dn : 6;
y1 = ramp(n, 1, 1);
plot2d3(n, y1); |
89dd91b381a34d71b407eb178ed4e1aa7f986d8c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2123/CH5/EX5.30/Exa_5_30.sce | 7ceddf6b983abc2f5a12661204595d87145996ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Exa_5_30.sce | //Example No. 5.30
clc;
clear;
close;
format('v',9);
//Given Data :
V=230;//V
N=870;//rpm
Ia=100;//A
Ra=0.05;//ohm
T=400;//N-m
E=V-Ia*Ra;//V
Vgen=V+Ia*Ra;//V
N2=N*Vgen/E;//rpm
disp(N2,"Motor speed in rpm : ");
|
2fa43e924d9942acbbea61e841f080d86db9af51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1370/CH2/EX2.6/example2_6.sce | 76bc848a6e8163c3ae543363c6ee7796681265ee | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 719 | sce | example2_6.sce | //example2.6
clc
disp("Consider a short shunt generator as shown in the fig 2.32")
disp("R_a=0.04 ohm, R_sh=90 ohm, R_se=0.02 ohm")
disp("V_t=225 V , I_L=75 A")
disp("I_a = I_L + I_sh")
disp("Now, E=(V_t)+[(I_a)*(R_a)]+[(I_L)*(R_se)]")
disp("and drop across armature terminals is,")
disp("E-[(I_a)*(R_... |
8eec0a180831e529d808118095ecf313cd610ad5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH6/EX6.3/Ex6_3.sce | acf742640675028ea02d0ccadb53da6bd0af5130 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | Ex6_3.sce | clear;
clc;
//Example 6.3
Vdd=10;
R1=70.9;//(Kohm)
R2=29.1;//(Kohm)
Rd=5;//(Kohm)
Vtn=1.5;
Kn=0.5;//(mA/V^2)
//lambda=y
y=0.01;//V^-1
Rsi=4;//(Kohm)
Vgsq=Vdd*R2/(R1+R2);
printf('\ngate to source voltage=%.2f V\n',Vgsq)
Idq=Kn*(Vgsq-Vtn)^2;
printf('\ndrain current=%.3f mA\n',Idq)
Vdsq=Vdd-Idq*Rd;
printf... |
d8c032da1da8b23b47e6a7b7e5be2e68d1ef3d45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2720/CH1/EX1.21.7/ex1_21_7.sce | d4c97f02b2f1205a4f764f219a97b72ae4b6b186 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 464 | sce | ex1_21_7.sce | // Exa 1.21.7
clc;
clear;
close;
// Given data
lembda = 1.54;// in Å
lembda= lembda*10^-8;// in cm
At = 63.54;// atomic weight
density = 9.024;// in gm/cc
n = 1;
N_A = 6.023*10^23;
m = At/N_A;// mass
a =(density*m)^(1/3);// in cm
h = 1;
k = 0;
l = 0;
d = a/(sqrt( ((h)^2) + ((k)^2) + ((l)^2) ));// in cm
... |
d5b694daf8fd7a3e6f57dfc584f667ed5cf6b624 | 449d555969bfd7befe906877abab098c6e63a0e8 | /70/CH3/EX3.4.5/3_4_5.sci | 6ff7ff7d046bd620107b0e5515e14f2d622a5c3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 315 | sci | 3_4_5.sci | //page 166
clear;
close;
clc;
A=[1 0 1;1 0 0;2 1 0];//independent vectors stored in columns of A
disp(A,'A=');
[m,n]=size(A);
for k=1:n
V(:,k)=A(:,k);
for j=1:k-1
R(j,k)=V(:,j)'*A(:,k);
V(:,k)=V(:,k)-R(j,k)*V(:,j);
end
R(k,k)=norm(V(:,k));
V(:,k)=V(:,k)/R(k,k);
end
disp(V,'Q=')
|
b0b7a3ff496520decf8a6955e03e2391f1675b7a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH9/EX9.12/Ex9_12.sce | 9e02a54cb522f6e29ee0844a8ea4ff1a4c8da2c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | Ex9_12.sce | // Calculating the armature voltage drop
clc;
disp('Example 9.12, Page No. = 9.49')
// Given Data
P = 300;// Power rating (in kW)
V = 500;// Voltage rating (in volts)
a = 6;// Number of parallel paths (Since lap winding)
p = 0.021;// resistivity (in ohm mm square)
Ns = 150;// Number of slots
Lmt = 2.5;// Lengt... |
b9afef2e342ee965f6113537befc558bc9bf4f6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH5/EX5.6/ch5_6.sci | 16bd6b9efd50de8a20017021cadc0ba4463195f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | sci | ch5_6.sci | // To calculate em power developed,mech power fed, torque provided by primemover
clc;
phi=32*10^-3; //flux/pole
n=1600; //speed in rpm
Z=728; //no of conductors
p=4;
A=4;
E_a=phi*n*Z*(p/A)/60;
I_a=100;
P_e=E_a*I_a;
disp(P_e,'electromagnetic power(W)');
P_m=P_e;
disp(P_m,'mechanical power(... |
7108dfb652d5c85677daf372ceeb71359a0dd9ee | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Windisp.sci | baa03e7326dee91a2178220c8cfb1ed1232d421a | [] | 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 | 2,517 | sci | Windisp.sci | // 08.05.16 Point style
// 08.05.17 MixL
// 08.05.19 Changed
// 08.05.21 Eps=0.1
// 08.08.16 square
// 09.11.04 window option
// 09.11.07 gcf used
// 09.12.25
// 10.01.01
// 10.01.09 ' '
// 10.01.10 drw one by one
// 10.02.08 revised for the case "a"
// 10.02.13 square debugged
// 10.02.21 square debugged (... |
4d925acaa6f8f7ef9bb0bce27792a306efd5cd34 | 5ca327712aa983f063501296e094fd872b2c082a | /program/func.sci | 83cf66b5c10aa1ff76a560e98a25d8e405259ece | [] | no_license | hepTsukubaKT/program_und_study | e9e3b11e7ed1ef6f36cd57848f116ee7541f4032 | 96340b304436869b30e48e48c874e7e490e166a9 | refs/heads/master | 2020-03-28T14:02:08.373600 | 2018-12-04T08:33:03 | 2018-12-04T08:33:03 | 148,452,888 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 533 | sci | func.sci | clear;
lambda=45
d=50
// *** データの作成 a**
X = linspace(-180,180,360);
//Y = log(X);
// *** 解くべき関数の定義 ***
function y=func(x)
y=asind((80-x*sind(45))/x)-asind((40-x*sind(45))/x)-8;
endfunction
Y=func(X)
// *** 非線形方程式ソルバ ***
yp = 0; // yp = f(x)
x0 = 1000; // ソルバ―の初期値
// 非線形方程式を解く
xp = fsolve(x0, func)
// 誤差
//err =... |
e918bcca4acc47abd537b0b05edb4f0e7810812f | 91b61e2dab060ff512ff55a41701eef53d2f607b | /Piezo/S1ANFUNCO/scenarios/mPTS_test_5ch.sce | 743534d011e670fbebbbd1b75723ed9ce670a0c4 | [] | no_license | layerfMRI/Phychopy_git | 1a8e2cc8e65424d7f4ab93ddd088fb412ddc839d | c09765358f5d7f4f12eed756e41f3376f1461596 | refs/heads/master | 2023-06-23T04:27:24.616010 | 2023-06-16T13:58:29 | 2023-06-16T13:58:29 | 161,359,522 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,478 | sce | mPTS_test_5ch.sce | #################################################### 1. SDL HEADER ###################################################
scenario = "BrainEXPain_sound";
active_buttons = 1;
button_codes = 1;
response_matching = simple_matching;
#default_f... |
a3011300f6e0182bcbc76d4d4ee9a61db08f3777 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1187/CH3/EX3.5/5.sce | 65c95334b972ed9b5ee39175c6b74edcaa1a360b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 5.sce | clc
Cd=0.62;
g=9.81; // m/s^2
d=0.1; // m
d0=0.06; // m
d1=0.12; // m
rho=1000; // kg/m^3
rho_m=13600; // kg/m^3
rho_f=0.86*10^3; //kg/m^3
A0=%pi/4*d0^2;
A1=%pi/4*d1^2;
p_diff=(rho_m-rho_f)*g*d;
h=p_diff/rho_f/g;
Q=Cd*A0*((2*g*h)/(1-(A0/A1)^2))^(1/2);
m=rho_f*Q;
disp("Mass flow rate = ")
... |
9bbad463c86f926cc60b7d802282f3f2e88024f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH12/EX12.2/12_2.sce | e7f4f0a70a5892a91f64d95734ece78cafbcfec1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 271 | sce | 12_2.sce | clc
//initialisation of variables
a=27.6//sq ft
h=1.37//ft
d=1.53*(27.9)^0.38*(1.36)^0.24//ft
//CALCULATIONS
R=d/4//ft
A=(%pi*d^2)/4//sq ft
//RESULTS
printf('The diameter hydraulics radius and area of the hydraulically equivalent circular conduit=% f sq ft',A)
|
fde8f69f8b031a436f665f86644c8fbbf4197888 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH19/EX19.10/Ex19_10.sce | afaeeb0cbd6a9cc20fb8ad55b0ea24d93f48b407 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sce | Ex19_10.sce | clear
//Given
f=4.80 //cm
a=1.20
v=-24.0 //cm
//Calculation
D=f/(a-1)
u=1/((1/v)-1/f)
//Result
printf("\n (i) The least distance of distinct vision is %0.3f cm",D)
printf("\n (ii) Distance from the lens is %0.3f cm",-u)
|
b11daf058f1bba01a049c991ff78bb1f1523712b | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/nyquist.man.tst | c767cd2b02d057ba4ec462b86330cf92362db58b | [
"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 | 316 | tst | nyquist.man.tst | clear;lines(0);
xbasc();
s=poly(0,'s');
h=syslin('c',(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01));
comm='(s^2+2*0.9*10*s+100)/(s^2+2*0.3*10.1*s+102.01)';
nyquist(h,0.01,100,comm);
h1=h*syslin('c',(s^2+2*0.1*15.1*s+228.01)/(s^2+2*0.9*15*s+225))
xbasc();
nyquist([h1;h],0.01,100,['h1';'h'])
xbasc();nyquist([h1;h])
|
351219541a4d8936a75094c8141ed1edeaa493a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2444/CH6/EX6.6/ex6_6.sce | 32a8c1c9dfaff1f38dba1231e034bb446d879cb7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | ex6_6.sce | // Exa 6.6
clc;
clear;
close;
format('v',7)
// Given data
A = 2500;// open loop gain
// Desensitivity of transfer gain
trnsfr_gain_densitivity = 40;// in dB
trnsfr_gain_densitivity = 10^(trnsfr_gain_densitivity/20);
Af = A/trnsfr_gain_densitivity;// unit less
disp(Af,"The gain with feed back is");
I = A/Af;... |
f55e73874b05ecc5acc04171b4c399a62cd186b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH10/EX10.9/Ex10_9.sce | 0d9bdcc7d5d18cde0f9ae8b9608e60a3ffcc34ef | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,375 | sce | Ex10_9.sce |
// Theory and Problems of Thermodynamics
// Chapter 10
// Chemical Thermodynamics
// Example 9
clear ;clc;
//Given data
T = 1000 // reaction temperature in K
Tf = 298 // standard heat temperature in K
del_H_f = -241.82 // heat of formation of H2O in kJ
a1 = 28.85*1e-3 ... |
8e375a0371960fbf0bb90d96176cc7f2b98dae6e | b4be5ed282b4c531c0d140038804106b52e5e9be | /identification-master/identification-master/arx.sci | 58325692d4a03501a5cdd0edc0f800fb11e80dfd | [] | no_license | solothinker/compare | 9df946e9d40f0565d1eb3bcb18cb4891435d8fed | d0b4b633f47aaa2578d39f723c6becd1d3aa2359 | refs/heads/master | 2021-06-24T21:42:05.654744 | 2017-09-08T05:57:35 | 2017-09-08T05:57:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,925 | sci | arx.sci | // ARX model parameter estimation
// Computes Covariance matrix
// Computes Noisevariance of a process
//
// Authors:
// Inderpreet Arora
// Ashutosh Kumar
function [sys] = arx(varargin)
[lhs,rhs] = argn();
data = varargin(1)
if ( rhs < 2 ) then
errmsg = msprintf(gettext("%s: Unexpected number of inp... |
26772a71aae9430ec1a4cde52f195906b022bd77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH4/EX4.8/ex4_8.sce | 1c044c0ae3dd8a673158e7205dd9bc9a3008505e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sce | ex4_8.sce | // Example 4.8, page no-212
clear
clc
T=0.5
sg1=1.02
sg2=0.98
wt=1000*10^-6
v=T/((sg1-sg2)*wt)
v=ceil(v)
printf("V=%d cm^3",v)
|
79095e58e00c926c8c38e1279ba0aaad5c965c99 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH2/EX2.7/Ex2_7.sce | 269df61e09135074cf5e2c8576ac2c68025c2835 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_7.sce | clc
//given that
del_x = 1 // let uncertainty in position is unity
m_e = 9.1e-31 // mass of electron in kg
m_p = 1.67e-27 // mass of proton in kg
h = 6.63e-34 // Plank constant
printf("Example 2.7")
h_bar = h / (2*%pi) // constant
del_v_ratio = m_p/m_e // calculation in uncertainties in the velocity of electron... |
fd130a52e27315521d0301ff8f4a7f202c9b71e8 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/islinphase/islinphase8.sce | a52e9b13d615087e1c60d049009ba4f4f4e5871a | [] | 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 | 132 | sce | islinphase8.sce | //i/p args contain imaginary elements
b = [(1/3)*%i 1/4 1/5 1];
a = b(:,$:-1:1);
flag = islinphase(b,a);
disp(flag);
//output
// 0
|
d36b21758a40ab509ad0e68c33d410e50da3df99 | 717ddeb7e700373742c617a95e25a2376565112c | /3460/CH3/EX3.12/ex3_12.sce | d5bf4d574d62b2d909e6c568c456c960c4aba36c | [] | 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 | 122 | sce | ex3_12.sce | clc;
clear all;
Pavg=375;//given average power
PEP=Pavg;//peak envelope power
disp(PEP,'peak envelope voltage is=');
|
678e0cdc03f9b46e6fac312038a1f170b33ff55e | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH7/EX7.15/7_15.sce | 4e6ea8ac4f29ab82b657dd34c5d0e8cc95dd3020 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,034 | sce | 7_15.sce | c=0.1;//concentration of the solution//
Kb=1.8*10^-5;
printf('The value of a should be calculated first using Kb=(c*a^2)/(1-a)\nThis gives rise to a quadratic equation which can be solved to obtain the value of a.');
printf('\nUsually it is permissible to use approximation methods if K<10^-5\nOne can neglect a in co... |
7ddfb6886b05a0e8661dc42e18deb984583c61f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3776/CH12/EX12.10/Ex12_10.sce | 31260aee0f814c9e55d9fd547e9ae904f3108519 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 575 | sce | Ex12_10.sce | clear
//Given
A_1 = 0.125 //sq.in , The area of the crossection of AB
A_2 = 0.219 //sq.in , The area of the crossection of BC
l_1 = 3*(5**0.5) //in , The length of AB
l_2 = 6*(2**0.5) //in , The length of BC
p = 3 //k , Force acting on the system
E = 10.6*(10**3) //ksi - youngs m... |
e1d25f0a227dd89d8afcec0e356ef1600811c898 | e806e966b06a53388fb300d89534354b222c2cad | /macros/minAreaRect.sci | a0a48ada1b80f3748322e18ba018b69220f8f63f | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 214 | sci | minAreaRect.sci | function [out]=integralKernel(InputArraypoints)
[t1 t2 t3 t4 t5]= opencv_integralKernel(InputArraypoints);
out=struct("size1",t1,"size2",t2,"center1",t3,"center2",t4,"angle",t5);
endfunction;
|
3abed75a60bbc2c35d9b8e1a5583da1876b2f8e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2294/CH12/EX12.13/EX12_13.sce | 7715d1e73c8732df0076e80b656370a03ea879ea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX12_13.sce | //Example 12.13
//Find the required probabilities.
disp('P(X>0.6)=1-F(0.6)=')
disp(%e^(-1.2),'1-(1-e^(-1.2))=e^(-1.2)=')
disp(1-%e^(-0.5),'P(X<=0.25)=(1-e^(2*(-1.2))=1-e^(-0.5)=')
disp('P(0.4<X<=0.8)=F(0.8)-F(0.4)=')
disp((1-%e^(-1.6))-(1-%e^(-0.8)),'(1-e^(-1.6))-(1-e^(-0.8))=')
|
942e43c5edd1a653d26647e8b629a32e655cbf0a | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /.sandbox/robotics/HuMAns_Bip/Visu/bip.sci | 8190fd6c9e90413f4b935f98bf7049d63a07534c | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 77 | sci | bip.sci | exec('Load.sci');
m=fscanfMat('../result.dat');
q=m(1:$,2:22)';
Visu(q);
|
db23d14ead97e0d5a0fe200e2e474bb1e9e71367 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/DEPENDENCIES/complexstring.sci | c4b473efb0175aead4865b3e69236e0a8e93e56f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 213 | sci | complexstring.sci | function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
|
0abcf7e3839cb9fe31b0c5fa33572209e4fd6bfa | d7087cf730b37f76170323e080c090f8094979ac | /test/eval_expr/d5.tst | 010c67a06b7923ea261ee8439547e8d32e7ad529 | [] | 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 | 143 | tst | d5.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
a=1
b=2
c=3
echo "we are not$((($a + $b) + $c))not the $a $(($a + $b))champions"
</stdin>
|
eaa44a734ca68b0303105298899752cad0b6f745 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH25/EX25.4/25_4.sce | 0e8c86d06050b4d5ec5cfa9c69ba9e4f2ceb5e4b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 327 | sce | 25_4.sce | //ques-25.4
//Calculating kinetic energy of an ideal gas and temperature required
clc
T1=273;//temperature (in K)
n1=1; n2=3;//number of moles
KE=(3/2)*n1*8.314*T1;
T2=KE/((3/2)*8.314*n2);
printf("The kinetic energy of the ideal gas is %.3f kJ/mol and the temperature required for 3 moles of gas is %d K.",KE/1000... |
12d0704b68d69fb357502f817733d01512631a0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH5/EX5.2/Ex5_2.sce | 23f5357a860adf588c4881772484ff49b80de51e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 625 | sce | Ex5_2.sce | //Example 5_2 page no:193
clc
R=1*10^3//resistance in ohm
L=50*10^-3//inductance in henry
V=10
f=10*10^3//frequency in Hz
Xl=2*%pi*f*L
Z=R+(%i*Xl)
Z=sqrt(R^2+Xl^2)
disp(Z,"impedence is (in ohm)")
I=V/Z
I=I*1000//converting to milli ampere
disp(I,"current is (in mA)")
angle=atand(Xl/R)
disp(angle,"the phas... |
49b54b57d3d2589fd264acd949d651d2eeaba504 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH3/EX3.3.2/Ex3_3_2.sce | fa89517ebc0f7724c68fbb6bb23759de1dbf9bec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 312 | sce | Ex3_3_2.sce | clear
clc
//For system when P_NH3=P_HCl
r=1;//no.of equations
C=3;//no. of constituents
Z1=1;//no. of restricting equations
C1=C-r-Z1;//no. of components
printf('C1=%.1d',C1)
//For system when P_NH3 not equal P_HCl
Z2=0;//no. of restricting equations
C1=C-r-Z2
printf('\nC1=%.1d',C1)
//page 103
|
78801e8ad016b9ed9816cbc9fb5c0dd89c6445f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH16/EX16.2/Ex16_2.sce | 3327599408ab39e016bb482be7b7ef34f72a4991 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | Ex16_2.sce | //Chapter 16: Practical Design Considerations of Large Aperture Antennas
//Example 16-2.2
clc;
//Variable Initialization
del_phi = 36.0 //rms phase error (degrees)
n_irr = 100.0 //Number of irregularities
//Calculations
max_side = tan(del_phi*%pi/180)**2
max_side = -10*log10(max_side) //Maximum side-... |
39841cb7a6024d0db62b30df7bda9961ea8b97fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /1985/CH5/EX5.8/chapter5_Example8.sce | 7e737ee2220ac2f4c47b238863ba07242d881a3b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 430 | sce | chapter5_Example8.sce | clc
clear
//Input data
l=1*10^-6//Wavelength of light used in m
n1=1.45//Refractive index of the core
n2=1.448//Refractive index of the cladding
d=6*10^-6//Diamter of the core in m
//Calculations
NA=sqrt(n1^2-n2^2)//Numerical aperture
N=4.9*(d*NA/l)^2//Number of modes propagating through the fibre
//Outpu... |
3fa416be0dab0506d6d6192f3d78dc8142f2acd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3819/CH1/EX1.7/Ex1_7.sce | 65bd400669db60627a9989276bf9fed377a2b5d3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 458 | sce | Ex1_7.sce | // A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
// Chapter 1-Properties of Fluid
// Problem 1.7
//Given Data Set in the Problem
Area=0.8*0.8
theta=%pi/6
W=300
du=0.3
dy=1.5/1000
//Calculations
W_alongPlane=W*cos(%pi/2-theta)
Shear_Force=W_alongPlane
ss=Shear_Force/Area
visc=ss/(... |
c1a502f6c8279126cf10aef1ee656c064b5e365e | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH11/EX11.8/example11_8.sce | 135eb34033e050efa2fe96db40f07468d78259e5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | example11_8.sce | //clc()
//Fe(s) + 2HCl(aq) = FeCl2(aq) + H2(g)
MFe = 55.847;
m = 1;//kg
Nfe = m * 10^3/MFe;
Nh2 = Nfe;//(since 1 mole of Fe produces 1 mole of H2)
T = 300;//K
R = 8.314;
//the change in volume is equal to the volume occupied by hydrogen produced
PV = Nh2 * R * T;
W = PV;
disp("kJ",W,"Work done = ") |
012819cda40630b60c4ce6e06e32d7229a8bbd62 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH5/EX5.25/ex_5_25.sce | b00200c1994d3d7d32daf2a96b39088b89b0778c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 688 | sce | ex_5_25.sce | clear;
clc;
close;
dt=.1;
t0=1;//positive number
t=-10:dt:10;
for i=1:length(t)
if modulo(t(i),t0)==0 then
x(i)=1;
else
x(i)=0;
end
end
a=gca();
plot2d3(t,x);
plot(t,x,'r.')
poly1=a.children.children;
poly1.thickness=3;
poly1.foreground=2;
xtitle('x(t)','t')
wmax=10;
w=-... |
83ac22f6b1849bf5740a159cbae25310e05a5ff3 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/Arrowline.sci | 881662b13ab2ac9bb195b014109dcab47ef9acd0 | [] | 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 | 1,260 | sci | Arrowline.sci | //
// 12.01.07 kirikomi(Cut)
// 12.08.26 debugged
// 15.06.11 debugged
// 15.10.24 debugged
function Arrowline(varargin)
global YaSize YaAngle YaPosition YaThick YaStyle Kirikomi;
Nargs=length(varargin)
P=varargin(1);
Q=varargin(2);
Futosa=YaThick;
Ookisa=YaSize;
Hiraki=YaAngle;
Yapos=YaPosition;
C... |
339105173479f16b09931bcadb4c52de26da0bee | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_1_b.tst | 0991e340ce095fe0e10f4c71d60a9f464975f7fe | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 374 | tst | test_ods_1_b.tst | ** File Info
Version: 1.0
Num Logs = 0
Num Trans = 0
Num Writers = 0
Init Tranlog = 0
Total Entries = 14
Tranlog Offset = 0
Transaction Id = 11
Index Free List = 12
Total Size of Data = 428
Data Transformation Id = 9
Index Transformation Id = 57
** Freelist Info
First freelist entry = 12
Iterating over freelist...(OK)... |
d349bf03c9b932976f3cca2da8a1bcf6f9d48629 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH2/EX2.25/example2_25.sce | 5f85a3237586754b8b883de142213d5436c34571 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,024 | sce | example2_25.sce | clear;
clc;
// Stoichiometry
// Chapter 2
// Basic Chemical Calculations
// Example 2.25
// Page 40
printf("Example 2.25, Page 40 \n \n");
// solution
p = 4 //[bar]
T = 773.15 //[K]
R = .083145
V = R*T/p // [l/mol] molar volume
printf("Molar volume = "+string(V)+" l/mol.\n \n \n")
// using appe... |
9b9f34d8a358695b50e1f77c0e39fb5490a30bdc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2207/CH9/EX9.5.2/ex_9_5_2.sce | c7e55a9b3c227d03ba073e8a6647a4bbb7aeb613 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 687 | sce | ex_9_5_2.sce | //Example 9.5.2;average voltage
clc;
clear;
close;
format('v',7)
a1=30;//in degree
a2=75;//in degree
b1=60;//in degree
ia=10;//in amperes
vsrms=230;//in volts
b3=180-a1;//
a3=180-b1;//
b2=180-a2;//
alfa=0;//
vldc=((vsrms*sqrt(2))/%pi)*(cosd(a1)-cosd(b1)+cosd(a2)-cosd(b2)+cosd(a3)-cosd(b3));//
disp(vldc,"average voltag... |
4f9141bf9c210cd751dac72e62411b6ffbf3547a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH2/EX2.2/example2_2.sce | a5f99e7440d754b3c13bc7d6f15c0e5d640d5f2e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | example2_2.sce | clc
// Given that
lambda = 6e-7 // wavelength of light in meter
f = 0.6 // focal length of convex lens in meter
n = 1 // no. of half period zone
// Sample Problem 2 on page no. 2.38
printf("\n # PROBLEM 2 # \n")
Rn = sqrt(n * lambda * f)// calculation for radius of half period zone
printf("Standard formula used \n f =... |
67faad570e3f37a37653cb065a31e99e82a456e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH9/EX9.9/Ex9_9.sce | 2d15c1464532d2443bb8530dc3b507dc997675b7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex9_9.sce | clear
//Initialization
ni=26 //Decimal number
//Calculation
bini = 0
i = 1
while (ni > 0)
rem = ni-int(ni/2)*2
ni = int(ni/2)
bini = bini + rem*i
i = i * 10
end
w= bini
//Declaration
printf("\n Binary Equivalent = %d",w)
|
b55049646b95b895a91c0306f1a2b52ab7f80a62 | de14a6897d4397228a52bacb8905b8807370ef4b | /tapis_sierpinski_recursif.sce | c0531d90a94e71eb4acd304480db99faa9679e43 | [] | no_license | JustineMarlow/MT94-RapportLaTeX | 20b670965a47ce85beecc15865d14ec9cc4d305b | 3dfaa665b5691621410f8eafdf76ecaf081b92d1 | refs/heads/master | 2021-09-06T17:54:58.174773 | 2018-02-09T09:57:52 | 2018-02-09T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,299 | sce | tapis_sierpinski_recursif.sce | function tapis(N,a,b,c,d)
if N<1 then
plot([a(1),b(1)],[a(2),b(2)]); plot([b(1),c(1)],[b(2),c(2)]);
plot([c(1),d(1)],[c(2),d(2)]); plot([d(1),a(1)],[d(2),a(2)]);
else
//calcul des nouveaux sommets
e=[a(1),a(2)+2*(d(2)-a(2))/3];
f=[a(1),a(2)+(d(2)-a(2))/3];
g=[a(1)... |
235259d2274037c573a262a0b6011c6b1c130097 | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH3/EX3.19/3_19.sce | 2273a09601b4cf3f65be183ad48dfdc9a6373622 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,565 | sce | 3_19.sce | clear;
clc;
//Example - 3.19
//Page number - 113
printf("Example - 3.19 and Page number - 113\n\n");
//Given
T_1 = 600;//[C] - Temperature at entry
P_1 = 15;//[MPa] - Pressure at entry
T_2 = 400;//[K] - Temperature at exit
P_2 = 100;//[kPa] - Pressure at exit
A_in = 0.045;//[metre square] - flow in are... |
942f6c0a566c351b080ba943f7cb1e088929c9e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH6/EX6.6/Example_6_6.sce | c4090afc2a7fa6291e3f1a12d8e41e35536d1249 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 481 | sce | Example_6_6.sce | clc;
clear;
printf("\n Example 6.6\n");
G=15; //Mass flow rate of organic liquid
printf("\n Given:\n Mass flow rate of organic liquid = %d kg/s",G)
L_ow=2;//Length of the weir
printf("\n Length of the weir = %.1f m",L_ow);
rho_l=650;
printf("\n Density of liquid = %d kg/m^3",rho_l);
Q=G/rho_l;
//Use is ma... |
00b4f7d4085f57f875166d3bb5d7c3fb6a20dac0 | 33f77c32fb16283501d950b6fc6b43a07914f32e | /scilab_autopilot/lib/math/quat/quat2mat.sce | 8713c40fc3f20b3534bb12154d02a12b263e3819 | [] | no_license | CLUBMODELISMECEADSTOULOUSE/autopilot | 26b79d6a2a632f08989a5528e82f553616617646 | a6ffae2f8a86fbc79e636ddd5173af104e1af9cd | refs/heads/master | 2021-01-21T00:59:06.271128 | 2015-10-25T09:31:54 | 2015-10-25T09:31:54 | 34,409,237 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 690 | sce | quat2mat.sce | // Get the dcm encoded by the quaternion
//
// The computed dcm is the matrix such that
// ____
// q_AB * v_B * q_AB = dcm_AB * v_B
//
// INTPUT
// - q_AB: input quaternion
//
// OUTPUT
// - dcm_AB: dcm B --> A
//
// USAGE
// [dcm_AB] = quat2mat(q_AB);
//
// HISTORY
// 09/02/2015: T. Pareaud - Creation
fu... |
c8fbb66dc1049d7f952e72f2175f49c6861e9895 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/modulate/modulate14.sce | 8133b0486e160bc741833d2537ad083fa87fffef | [] | 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 | 326 | sce | modulate14.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,'pm');
disp(y);
//output
// column 1 to 3
//
// 0.9993771 0.2411607 - 0.8666131
//
// column 4 to 6
//
// - 0.7182491 0.4712022 0.9696279
//
// column 7 to 8
//
// - 0.3090170 - 0.9407611... |
8df98db558349d34eb356249f8d7b59caa81eeeb | 16152b808456a98fcb2d4303d5622c225109bcda | /polynomial.sce | 209fea4ecc9f26e33b07334be1c3e2fcd193eb57 | [] | no_license | conradolega/131 | b1bcdc7097b661dcc0c503118ec199adffaabfc9 | fa0773433f66f485bf96a8adee35f00a1207861a | refs/heads/master | 2016-09-05T13:42:37.104466 | 2013-10-11T14:30:59 | 2013-10-11T14:30:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | polynomial.sce | function y = polynomial(x, a)
n = size(x, 'r')
m = size(a, 'r')
y = zeros(n, 1)
for i=1:n
y(i) = a(1)
for j=1:m-1
y(i) = y(i) + a(j + 1)*(x(i)^j)
end
y(i) = y(i) + (2 * rand() - 1) * 10^-6
end
endfunction
|
26afc490823dea0c18b4690a3a564eb5a7b27ddd | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/scicos/do_icon_edit.sci | a7c56e710286f24634bef9505299aae3ad007728 | [
"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 | 943 | sci | do_icon_edit.sci | function scs_m=do_icon_edit(scs_m)
// do_block - edit a block icon
// Copyright INRIA
while %t
[btn,xc,yc,win,Cmenu]=getclick()
if Cmenu<>[] then
Cmenu=resume(Cmenu)
end
K=getblock(scs_m,[xc;yc])
if K<>[] then break,end
end
gr_i=scs_m(K)(2)(9)
if type(gr_i)<>15 then
gr_i=list(gr_i,[],list('sd',[0 0 1... |
b86d1a02badfecd1a07015c91fa4bd8f7563a634 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH2/EX2.22/Chapter2_Example22.sce | dd86f0d716b440347656ce891b48c5079ec70fc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 591 | sce | Chapter2_Example22.sce | clc
clear
//INPUT DATA
//C8H18+12.5(O2+3.773N2)=8 CO2 +9 H2O +47.16 N2 ;//FUEL COMPOSITION
n=60.66;//number of moles of air
//CALCULATIONS
n1=8+9+47.16;//number of moles of air and product
xs= 15.14/1;//air fuel ratio
xs1=1/xs;//fuel air ratio
Mr=(1/n)*(114.15+59.66*28.96);//Molecular weights of reactants
M... |
2a87966461d145c0812cf1fcc77bafdc174ef9ef | ece5c630921508b439ed25c5f7ab3db5a66f7a1a | /Assignment8_Team8/Assignment8_Team8/loop.tst | f6793cd094dfe1135e73cf33c099faea15f736b4 | [] | no_license | VedantS01/HDLProjectsCS2310 | f8d17d1c9c28034a21026a4fbe2ae5d38cf39330 | d2a39a4c062173475bd06ff0b3396f1ac6303103 | refs/heads/main | 2023-06-19T20:42:48.411561 | 2021-07-14T19:37:51 | 2021-07-14T19:37:51 | 386,054,022 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 733 | tst | loop.tst | /*
PROGRAM 3 :
//HLL
int i = 1 ;
int sum = 0 ;
while (i < 100) {
sum = sum + i ;
i = i + 1 ;
}
//endHLL
i : RAM16K[16]
sum : RAM16K[17]
*/
load HackComputer.hdl, //loading hdl file
output-file loop.out, //declaring output file
output-list RAM64[16]%D1.10.1 RAM64[17]%D... |
af0816bc411eeee77352fa6700060dfe041d6781 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH5/EX5.2/Ex5_2.sce | 24004c7e28cbe8649b0bbedd283b43bd954b74bd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 668 | sce | Ex5_2.sce |
// Example 5.2
l=4; // Layers of Solenoid
w=350; // turns Winding
s=0.5; // Length of Solenoid
n=(l*w)/s; // No.Of turns
I=6; // Current in the Solenoid
mo=4*%pi*10^-7; // Permeability of free Space
B=mo*n*I; // Formula ... |
4aa5e5c8df7bf4e40a46786f7d0585c24bb205e7 | 6c9a6a1488d24fab72280520aba7d98c82d25c6f | /sigopt-uncertainty/Données graphe aléatoire.sce | 916d397b95172fbddda3eef04a5513ed13f8e43b | [] | no_license | IGNF/SIGOPT | 1f9b91de43de7aab4ca88b875f3ac1f4aa36b82b | b5f33f5940e15fb46fa3979dd096098508dc66a3 | refs/heads/master | 2020-04-06T07:12:27.471020 | 2017-09-07T14:37:45 | 2017-09-07T14:37:45 | 59,760,247 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,975 | sce | Données graphe aléatoire.sce | //Données graphe aléatoire
NPE=2; //Nombre de paramètres environnementaux (déchets)
//Choix d'un jeu de paramètres de lois gamma
ks=[25 35]; //Shape parameters
mu=[6 7]; //Moyennes
Beta=ks./mu; //Rate parameters
NQ=7; //Nombre de quantiles extraits + 1
Q=zeros(NPE,NQ-1);
for i=1:NPE
for l=1:(NQ-1)
... |
af823ac1907e938e931af9c375d98a2ce4dcb6ba | d7ec0352fdd4cf451ee9dd6bac2218fb96c24c0f | /src/gui/qml/img/button-down.sci | c66712dd6fd53d8b4a83b7522b9e8ff73441de1e | [] | no_license | mireq/facedetect | d3fc340926a54e144dcf09ef4a814a77cbc9afde | 94ab039149efb2d8f1496c6042bf3a6b133bb49e | refs/heads/master | 2021-01-22T04:33:34.209921 | 2011-05-13T01:08:47 | 2011-05-13T01:08:47 | 1,525,248 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | sci | button-down.sci | border.left: 20
border.right: 22
border.top: 20
border.bottom: 22
source: button-down.png |
680e7272692662bf05c0f6c250f1a94e6c42ace9 | e5606f5f42a6fd164acc42c7be54d0b15b075be5 | /Transformación de Perspectiva/CheckMatrix.sci | f284f0a7c82b375c9696443d535fc0bbf9414d1a | [
"MIT"
] | permissive | juusechec/MiniProgramasSCILAB | fe0b7afdd9712c4be56202ec7ba858678e7b1ca4 | 244b64942decda867f113f480e3061e18641f748 | refs/heads/master | 2020-12-28T22:01:41.841578 | 2016-09-05T04:56:45 | 2016-09-05T04:56:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,210 | sci | CheckMatrix.sci | function CheckMatrix(Input, Name)
////////////////////////////////////////////////////////////////////////////
// IPD - Image Processing Design Toolbox
//
// Copyright (c) by Dr. Eng. (J) Harald Galda, 2009 - 2011
//
// This program is free software; you can redistribute it and/or modify
// it under the terms o... |
44668f34b7f1f186b76c8dc559e37af2c59ede98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1040/CH1/EX1.4/Chapter1_Ex4.sce | c4f83141ce3e70b8dfc9d7c09f514beadbc6294e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 5,669 | sce | Chapter1_Ex4.sce | //Harriot P.,2003,Chemical Reactor Design (I-Edition) Marcel Dekker,Inc.,USA,pp 436.
//Chapter-1 Ex1.4 Pg No. 23
//Title: Activation energy from packed bed data
//=========================================================================================================
clear
clc
clf
// COMMON INPUT
L= [0 1 2 3... |
df8506d113ea91c6674eb4701ebb7b054f396360 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH25/EX25.2/GEARS_2.sce | 0e35e027d42eb87796bd71746fd0e42f7fd2f413 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | GEARS_2.sce | // sum 25-2
clc;
clear;
N=800;
P=6000;
n=200;
Cs=1.4;
sigb=150;
FOS=2;
Zp=18;
Zg=Zp*N/n;
Y=%pi*(0.154-(0.912/Zp));
p=[1 0 -9.5846 -38.135];
function r= myroots (p)
a= coeff (p ,0);
b= coeff (p ,1);
c= coeff (p ,2);
d= coeff (p, 3);
r(1)=( -b+ sqrt (b^2 -4*a*c ))/(2* a);
r(2)=( -b- sqrt (b^2 -... |
957464722252e1a0ae8d1b5b786b5ae97c9bd1c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH9/EX9.8/Ex9_8.sce | b5e6ba3f0b2a4c2b5ca2eb83d87aa3cd7dd5e110 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 555 | sce | Ex9_8.sce | clear
//
//given
i=35
v=220
ra=0.15
n1=1600
//when motor is running at 1200rpm the back emf eb1 is given by eb1=v-(35*0.15)
eb1=214.75
//flux phy1 is proportional to armature current ia.Thus, at ia1=35 and ia2=15 n is proportional to eb/phy
//2=(eb2*phy1)/(phy2*eb1)
//therefore
eb2=184.07
//case a
//resistance to be co... |
2838e52768cae5a1669273721f551e0b1054c519 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH7/EX7.27/example_7_27.sce | 8616a1efc28616b1b49e797d6b1e77c38bacf683 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | example_7_27.sce | syms s
G= 100/(s^2*(s+2)*(s+5))
syms s
Kp=limit(s*y/s,s,0) //Kp= position error coefficient
Kv=limit(s*G*H,s,0) //Kv= velocity error coefficient
Ka=limit(s^2*G*H,s,0) //Ka= accelaration error coefficient
disp(Ka ,"Ka = ")
disp(Kv ,"Kv = ")
disp(Kp ,"Kp = ")
Ess=1/(1+Kp) + (1/Kv) + (4/Ka)
disp(Ess, "Ess... |
b6ac775612a35d083573281e43765f72a65f83c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH12/EX12.1/Ex12_1.sce | b9886e20f97b611576687223f390d7e39a62a284 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sce | Ex12_1.sce | //pagenumber 553 example 1
clear
slope1=130;
trivol=15;//volt
d=0.5;//watts
ig=sqrt(d/slope1);
vg=slope1*ig;
r=(trivol-vg)/ig;
disp("source resistance = "+string((r))+"ohm");
|
68e5faed376e742d156c82d9dd5dbcb4a0f9d874 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH10/EX10.1/exm10_1.sce | 03436e088b8aacae69cfa47bd50f6ac6ba6c31b9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 405 | sce | exm10_1.sce | // page no 310
// example 10.1
// BCD TO BINARY
// BCD into its binary equivalent.
// given BCD no is 72
clc;
a=72;
x=modulo(a,10); // seperating the units digit
printf('Unpacked BCD1 ')
disp(dec2bin(x,8));
a=a/10; // seperating the tens place digit
a=floor(a);
printf('\n \n Unpac... |
d16aaa89c19ff743eab1c64aebfe33b637513c17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1319/CH1/EX1.1/1_1.sce | 2cd7a68e692f1e75f14fa4b2d58629e9c6faabc7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 802 | sce | 1_1.sce | // To calculate frequency, instantaneous voltage and time of a voltage wave
clc;
clear;
// The volatage eqaution is v= 0.02 sin (4000t + 30(degress)).
Vm=0.02;
deff('a=vol(b)','a=Vm*sind(((4000*b)*(180/%pi))+30)'); // Function for voltage equation
t=320*(10^-6);
w=4000; // angular frequency
// G... |
b585c38e3a61b94bf959ffcbc9f365781633ee70 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH8/EX8.14/ex8_14.sce | 72c346b37268fe9dad66170b9429af8a90c5acb3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | ex8_14.sce | // Exa 8.14
clc;
clear;
close;
// Given data
Rf = 250;// in kohm
Vo= '-5*Va+3*Vb';// given expression
// But output voltage of difference amplifier is
// Vo= -Rf/R1*Va+(R2/(R1+R2))*(1+Rf/R1)*Vb (i)
// By comparing (i) with given expression
R1 = Rf/5;// in kohm
disp(R1,"The value of R1 in kΩ is : ");
/... |
0bfe085bc5b91aaa69142cb68c578cf28ff46ffb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH1/EX1.4/Example14.sce | c9222fb96bdc13b29f76d48c760770ab82018c99 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | Example14.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 1, Example 4")
disp ("Theoritical Question")
//liquid discharge rate Q; head H;specific weight of the liquid is w.
disp("Expression fo... |
b5574fc023b539823f91afeb226234567aee3054 | e9b135074a04c0ae4273c18ac8466c003190b21a | /2 Ano/Metodos Numericos/Soluciones/biseccion.sce | 3b861a6c9548ec673e3f652c2359930fdedea3de | [] | no_license | damianarielm/lcc | 804faae03e5f60e44de58d264721892e1fea0c3c | ffd3e65f54073215e1e3542aabd62b3ec1ec5960 | refs/heads/master | 2023-02-18T12:14:00.543045 | 2023-02-14T00:19:54 | 2023-02-14T00:19:54 | 161,278,175 | 60 | 9 | null | 2020-12-04T14:43:40 | 2018-12-11T04:41:42 | HTML | UTF-8 | Scilab | false | false | 447 | sce | biseccion.sce | function r = biseccion(f, a, b, e)
c = (a + b) / 2
if b - c <= e then
r = c
else
if f(b)*f(c) <= 0 then
r = biseccion(f, c, b, e)
else
r = biseccion(f, a, c, e)
end
end
endfunction
function y = p(x)
y = (x - 3) * (x + 3)
endfunc... |
699ace9e080206c334723a332a336f005961f0a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/DEPENDENCIES/431.sci | 03b819320cca366ca8c2769d6eadd5d9032a5a78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 64 | sci | 431.sci | Vdot=20 //CC/min
x=0.015
MH2O=18.02 //g
DH2O=1 //g/CC
x1=0.2 |
1e95a5588ab2e76abb3dfa20de5d6c3b548df93f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1073/CH6/EX6.6/6_6.sce | ea2d07a653c663e84841c1c5bb4b5b44c0bf1876 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,014 | sce | 6_6.sce | clc;
clear;
//Example 6.6
mf_dot=5000 //[kg/h]
ic=0.01 //Initial concentration [kg/h]
fc=0.02 //Final concentration [kg/h]
T=373 //Boiling pt of saturation in [K]
Ts=383 //Saturation temperature of steam in [K]
mdash_dot=ic*mf_dot/fc //[kg/h]
mv... |
fb572342a2e41b62655da3f6d0f3884eb6ac6d06 | 5a05d7e1b331922620afe242e4393f426335f2e3 | /macros/ellipord.sci | f0c52a4c02eff37a356734c63b1f614919275e5b | [] | no_license | sauravdekhtawala/FOSSEE-Signal-Processing-Toolbox | 2728cf855f58886c7c4a9317cc00784ba8cd8a5b | 91f8045f58b6b96dbaaf2d4400586660b92d461c | refs/heads/master | 2022-04-19T17:33:22.731810 | 2020-04-22T12:17:41 | 2020-04-22T12:17:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,334 | sci | ellipord.sci | // Copyright (C) 2018 - 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_... |
490618ffe86e52848128b5c701f7624aa85be277 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2078/CH10/EX10.8/Example10_8.sce | 68328e7091f814abfa895c870fd69b1c7e9d8c54 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example10_8.sce | //Exa 10.8
clc;
clear;
close;
//Given data :
wc=1;//kg/m
L=280;//m
D=20;//mm
r=10;//mm
Pw=40;//kg/m^2(Wind pressure)
rho_i=910;//kg/m^3(density of ice)
U_stress=10000;//kg/cm^2
SF=2;//factor of safety
wi=rho_i*%pi*r*10^-3*(D+r)*10^-3;//kg
w_w=Pw*(D+2*r)*10^-3;//kg
wr=sqrt((wc+wi)^2+w_w^2);//kg(Resultant ... |
d929cc5bad2b4c38e56eab9d2dc10f3890478b2d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3864/CH4/EX4.4/Ex4_4.sce | 40556ec38b1ed7daa30f86993c0452630057994b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,254 | sce | Ex4_4.sce | clear
//
//Initilization of Variables
//Flange (Top)
b1=80 //mm //Width
t1=40 //mm //Thickness
//Flange (Bottom)
b2=160 //mm //width
t2=40 //mm //Thickness
//web
d=120 //mm //Depth
t3=20 //mm //Thickness
D=200 //mm //Overall Depth
sigma1=30 //N/mm**2 //Tensile stress
sigma2=90 //N/mm**2 //Compressive stress
L=600... |
df264d4222a7da6f7c3d0dd55068b9a28419c483 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH14/EX14.3/Ch14Ex3.sci | cc88de833a049ab929ba34178188eb9a8ab4730c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 825 | sci | Ch14Ex3.sci | // Scilab Code Ex14.3 Calculating electric polarizability of a molecule from its susceptibility: Page-464 (2010)
NA = 6.023e+023; // Avogadro's number
epsilon_0 = 8.85e-012; // Electrical permittivity of free space, coulomb square per newton per metre
chi = 0.985e-03; // Electrical susceptibility of carbon-... |
aeffa964cbe033e7faa2c86b12b13ef0be1420ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH2/EX2.12/Ex2_12.sce | 4f606e12b74eff0d7f56d8c032509eaa5b5e56de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_12.sce | clc;
//ex2.12
Vb=0.7; //volt
If=[0.001 0.005]; //Ampere
Rb=5; //ohm
Vf1=Vb+If(1,1)*Rb; //Volt//VF=VB+If*Rb;
Vf2=Vb+If(1,2)*Rb; //Volt//VF=VB+If*Rb;
disp('mV',Vf1,"Vf1=");
disp('mV',Vf2,"Vf2=");
|
a608793612ea80dcf5edabd077d9f6170fb5f763 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2321/CH14/EX14.6.2/EX14_6_2.sce | 5011a79b20f8118b7478f4f55c6cb6e9178ceaa0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | EX14_6_2.sce | //Example No. 14.6.2
clc;
clear;
close;
format('v',7);
f=150;//MHz(frequency)
c=3*10^8;//m/s(speed of light)
GT=1.64;//dB(Transmitter gain)
PT=20;//W(Transmitted power)
d=50;//km(distance)
lambda=c/(f*10^6);//m(Wavelength)
E=sqrt(30*GT*PT)/(d*1000);//V/m(emf induced)
le=lambda/%pi;//m(Effective length)
Voc... |
e87f12ef7261f8a0fccd1c5d8321b43accfabc1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH2/EX1.2.17/Ex1_2_17.sce | 624bf6681dbfa5c051950f7c9f39f0af7611c7a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 451 | sce | Ex1_2_17.sce | //Section-1,Example-4,Page no.-AC.205
//To find the air required for the perfect combustion of 1 m^3 of the given gas.
clc;
T=0.22
L_O2=0.02
Net_O2=0.2
Plus_CO2=0.05
T_CO2=T+L_O2+Plus_CO2
T_N2=1.6
T_O2=Net_O2*(40/100)
T_W=T_CO2+T_N2+T_O2
M_Q=Net_O2*(100/21)
P_CO2=(T_CO2/T_W)*100
disp(P_CO2,'Percentage composition of CO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.